Exit demo M70-301 Magento Front End Developer Certification PDF format · free preview

Magento M70-301 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/m70-301.html

Question 1
Single choice

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

A.

<block type="core/text_list" name="custom.template" template=" folder/custom_template.phtml"/>

B.

<block type="core/template" name="custom template" template=" folder/custom_template.phtml"/>

C.

<block type="block/template" name="custom template" template=" folder/custom_template.phtml"/>

D.

<block type="cms/block" name="custom.template"template=" folder/custom_template.phtml"/>

E.

<block type="block/html" name="custom template"template=" folder/custom_template.phtml"/>

Question 2
Single choice

You want to create a wrapper block that uses an HTML tag name which is set by the action setHtmlTagName. The wrapper block should render all its child blocks within the HTML tag.

Which block type should you use to create the wrapper block?

A.

page/html

B.

page/wrapper

C.

page/div wrapper

D.

page/html_wrapper

Question 3
Single choice

You want to figure out which phtml-files are rendering in the front end.

Which developer tool helps you do that?

A.

Profiler

B.

Exception.log

C.

Block Class Names

D.

Template Path Hints

E.

System.log

Question 4
Single choice

Which is the correct order of the three types of translations by priority (1 = highest, 3 = lowest)?

A.

1. Database (Inline) translation2. Module translation3. Theme translation

B.

1. Database (Inline) translation2. Theme translation3. Module translation

C.

1. Module translation2. Database (In line) translation3. Theme translation

D.

1. Theme translation2. Database (In line) translation3. Module translation

Question 5
Single choice

Which piece of code creates a url that links to the store pages in transactional email templates?

A.

{ {store url= " "}}

B.

{ { store_page url= " "} }

C.

{ { store_url= " "} }

D.

{ { store_name url= " "} }

Question 6
Single choice

Your project, which uses prototype.js, contains the JavaScript class Photoviewer (see EXAMPLE, below).
Which one of the following code samples will create a class called AdvancedPhotoViewer that extends Photoviewe r?
EXAMPLE:
var PhotoViewer = Class.create();

A.

var AdvancedPhotoViewer = new PhotoViewer()

B.

AdvancedPhotoViewer.prototype = Object.extend (new PhotoViewer ()

C.

var AdvancedPhotoViewer = Class.extend (PhotoViewer)

D.

AdvancedPhotoViewer = PhotoViewer.extend ()

Question 7
Single choice

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

A.

<action>

B.

<call>

C.

<change>

D.

<method>

E.

<update>

Question 8
Single choice

Which one of these code samples will assign a root template to a specific page of native Magento?

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 9
Single choice

You want to create a new "screendesign" package based on the "default" package's "default" theme.

Which ONE of the following steps do you have to take?

A.

Copy app/design/base to app/design/screendesign

B.

Create an empty folder app/design/frontend/screendesign and copy app/design/frontend/default/default into it

C.

Create skin/frontend/screendesign, then copy the CSS and images folders and their files from /skin/ frontend/default/default/ to skin/frontend/screendesign/default

D.

Inside app/design/frontend and skin/frontend, copy the folder "default" to the folder "custom"; then
rename custom/default to custom/screendesign in both places

E.

Create app/design/frontend/default/screendesign

Question 10
Single choice

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

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Showing 10 of 107 questions · Unlock the full set