Summer Special Flat 65% Limited Time Discount offer - Ends in 0d 00h 00m 00s - Coupon code: suredis

Magento M70-301 Magento Front End Developer Certification Exam Exam Practice Test

Demo: 16 questions
Total 107 questions

Magento Front End Developer Certification Exam Questions and Answers

Question 1

You want to load my-file.js only on the exam' CMS page. In native Magento, which two of the following statements are true? (Choose TWO.)

Options:

A.

You must create exam.xml and put the appropriate XML inside the layout handle,

B.

You must make sure that my-file.js is present in app/design/base/default/cms/exam/.

C.

You must add appropriate XML to the CMS Layout-Update-XML textarea of the exam CMS page.

D.

You must add getChildJs (‘js/my-file.js’); ?> to head.phtml .

E.

You must make sure you are not using a layout handle in the Layout-Update-XML textarea of the "exam" CMS page.

Question 2

Which three of the following action method(s) are valid ways to add custom JavaScript files? (Choose THREE.)

Options:

A.

< xscript>example.js

B.

jsexample.js

C.

< type>skin_jsexample.is

D.

skin_jsexample-js

E.

< “type>js

F.

G.

jsexample.js

Question 3

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

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 4

What is the proper layout update handle for adding a CSS file to the product page?

Options:

A.

B.

C.

D.

Question 5

Which element in layout XML specifies a method to be called on a referenced or newly defined block?

Options:

A.

B.

C.

D.

E.

Question 6

Which string will NOT be translated?

Options:

A.

“You can save % s %% in the next 15 min.”, “Du kannst % s %% in den nachsten 15min sparen”

B.

“Click here to continue.”,”Klicken Sie hier um welter zu machen .”

C.

“We\’ll send you a new password.” , ”Wir werden dir emneues Password zusenden.”

D.

“The coupon has expired” , ” Der Coupon ist “abgelaufen”

Question 7

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

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 8

Which type of block defines the HTML head section of the page, which contains elements for including JavaScript, CSS, etc.?

Options:

A.

core/head

B.

core/template

C.

page/head

D.

page/html_head

E.

page/head_template

Question 9

You have a “custom/default” design package. You need to edit this file:

/app/design/frontend/base/defauIt/template/page/html/header.Phtml

Which method is a bad practice because the file will be overwritten during Magento upgrades?

Options:

A.

Edit the “base/default” file directly.

B.

Create a new module in “base/default” called “custom” and copy the file there for editing.

C.

Create a new package called “custom/custom” and copy the file there for editing.

D.

Copy the file to “custom/default” for editing.

Question 10

In which of the following directories is a .xml file located?

Options:

A.

CSS

B.

Layout

C.

Skin

D.

Template

Question 11

You want to figure out which phtml-files are rendering in the front end. Which developer tool helps you do that?

Options:

A.

Profiler

B.

Exception.log

C.

Block Class Names

D.

Template Path Hints

E.

System.log

Question 12

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?

Options:

A.

B.

template=“template/mytemplates/ custom.phtml”/>

C.

template=“template/mytemplates/ custom.phtml”/>

D.

Question 13

In layout XML, which tag attributes are always used when configuring a template block? (Choose THREE.)

Options:

A.

as

B.

name

C.

type

D.

value

E.

before

F.

module

G.

template

Question 14

What is the difference between “display: none” and “visibility: hidden”?

Options:

A.

The “display: none” rule removes the element from the DOM. The “visibility: hidden” rule leaves the element in the DOM.

B.

The “display: none” rule leaves the element in the DOM. The “visibility: hidden” rule removes the element from the DOM.

C.

The “display: none” rule removes the space used by the element from the page. The “visibility: hidden” rule reserves space on the page for the element.

D.

The “display: none” rule reserves space on the page for the element. The “visibility: hidden” rule removes the space used by the element from the page.

Question 15

Which ONE of the following adds links to the top links navigation?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 16

Which of the following is the layout update handle loaded for built-in simple products?

Options:

A.

TYPE_simple

B.

PRODUCT_TYPE_simple

C.

PRODUCT_simple

D.

Simple_product

Demo: 16 questions
Total 107 questions