Certbus > Magento > Magento Certifications > M70-301 > M70-301 Online Practice Questions and Answers

M70-301 Online Practice Questions and Answers

Questions 4

Which of the following is the correct code for assigning a custom template file using layout XML?

A.

B.

C.

D.

E.

Browse 107 Q&As
Questions 5

Within a Magento instance configured to use the package name "my_package" and the theme name "my_theme", which file would override the default catalog search template?

A. app/frontend/base/my_package/my_theme/template/catalogsearch/form.mini.phtml

B. app/design/frontend/base/default/template/customsearch/form.mini.phtml

C. app/design/frontend/my_theme/my_package/template/catalogsearch/custom.form.mini.phtml

D. app/design/frontend/my_package/my_theme/template/catalogsearch/form.mini.phtml

E. app/frontend/default/my_theme/customsearch/form.mini.phtml

Browse 107 Q&As
Questions 6

Where are the core module translations located?

A. app/code/locale/

B. app/locale/

C. app/design/frontend/default/default/locale/

D. app/etc/modules/locale/

Browse 107 Q&As
Questions 7

Which file adds the search module on a Magento website frontend?

A. page.xml

B. search.xml

C. catalogsearch.xml

D. searchproducts.xml

Browse 107 Q&As
Questions 8

You want to add the file "somescript.js" in a template. The JS-file is in the folder "root: js/lib". Which piece of code should you use?

A. $this->getItemurl(`lib/somescript.js')

B. $this->getskinurl(`lib/somescript.js')

C. $this->getJsUrl(`lib/somescript.js')

D. $this->getFileurl(`lib/somescript.js')

E. $this->getLibUrl(`lib/somescript.js')

Browse 107 Q&As
Questions 9

A website contains the three store views "English", "French", and "German", with the following settings configured:

The template file template/page/lcolumn.phtml exists within the following frontend themes:

A. base/default

B. default/default

C. package1/default

D. package1/theme1

E. package1/theme2

F. package1/theme3

Browse 107 Q&As
Questions 10

What is the correct PHP code for adding the output of a CMS block to a template?

A. $this->getchildcms (`myCmsBlock')

B. $this->getchildHtml(`myCmsEloclc')

C. $this->getChildBlock (`myCmsBlock')

D. $this->getcrnsHtml(`myCmsElock')

E. $this->getHtml(`myCmsBlock')

Browse 107 Q&As
Questions 11

Which of following "if else" constructs is used in Magento core templates?

A. Option A

B. Option B

C. Option C

D. Option D

Browse 107 Q&As
Questions 12

You want to set up different languages in a Magento installation with multiple stores. Which configuration scope should you use?

A. Global

B. Website

C. Store

D. Store View

Browse 107 Q&As
Questions 13

A parent HTML element has the style position:relative". You need to position a child element within the parent so that the child's position originates from the parent element's box. Which style on the child will accomplish that?

A. position:absolute

B. position:fixed

C. position:relative

D. position:static

Browse 107 Q&As
Questions 14

Which two of the following examples can be used to include a custom JavaScript on every page? (Choose TWO.)

A. Option A

B. Option B

C. Option C

D. Option D

E. Option E

Browse 107 Q&As
Questions 15

You want to change the number of columns per row in the list of upsell products on all product pages. Where do you set the parameter that specifies the number of columns?

A. Admin panel

B. XML layout

C. Template

D. Database

Browse 107 Q&As
Questions 16

Which attribute of an XML tag in the layout defines the system configuration key to be checked before performing the action method?

A. as

B. Config

C. if

D. ifconfig

E. iftrue

Browse 107 Q&As
Questions 17

Which is the proper XML markup for creating a new content block containing the content from a CMS static block?

A. Option A

B. Option B

C. Option C

D. Option D

Browse 107 Q&As
Questions 18

Which file contains the code that renders the grid of products for a page of the catalog?

A. catalog/product/list.phtml

B. catalog/product/grid.phtml

C. catalog/category/list.phtml

D. catalog/category/grid.phtml

Browse 107 Q&As
Exam Code: M70-301
Exam Name: Magento Front End Developer Certification
Last Update: Mar 17, 2025
Questions: 107 Q&As

PDF

$49.99

VCE

$55.99

PDF + VCE

$65.99