Magento M70-301 - Front End Certified Developer Exam
Page: 3 / 22
Total 107 questions
Question #11 (Topic: Single Topic)
When a block of type __________ is rendered, all its child blocks are rendered automatically, without the need to call the getChildHtml () method.
A. Page/html
B. Core/template
C. Core/text_list
D. Page/html_wrapper
Answer: C
Question #12 (Topic: Single Topic)
Which is the correct type attribute for a structural block?
A. core/block
B. core/html_wrapper
C. core/text
D. core/text_list
Answer: D
Question #13 (Topic: Single Topic)
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?
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
Answer: D
Question #14 (Topic: Single Topic)
You have added some HTML to a custom template located at `template/mytemplates/custom.phtml`. Which code snippet is the correct way to create a block for
custom.phtml in the layout XML?
custom.phtml in the layout XML?
A. <block type=ג€core/templateג€ name=ג€customג€ template=ג€mytemplates/custom.phtmlג€/>
B. <block type=ג€core/templateג€ name=ג€customג€ template=ג€template/mytemplates/ custom.phtmlג€/>
C. <block type=ג€custom1ג€™ name=ג€customג€ template=ג€template/mytemplates/ custom.phtmlג€/>
D. <block type=ג€customג€ name=ג€customג€ template=ג€mytemplates/custom.phtmlג€/>
Answer: A
Question #15 (Topic: Single Topic)
You need to add a custom structural block template to a block that will render all children automatically. Which three attributes are required in the block's XML
definition? (Choose THREE.)
definition? (Choose THREE.)
A. after
B. as
C. before
D. name
E. template
F. type
Answer: BDF