Easter Special Sale - Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 575363r9

Welcome To DumpsPedia

M70-301 Sample Questions Answers

Questions 4

In System->Configuration ‘Design’ you can configure individual theme names for ________ . (Choose FIVE)

Options:

A.

templates

B.

images only

C.

layout XML

D.

all skin files

E.

translations

F.

default theme

G.

admin panel

Buy Now
Questions 5

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

Options:

A.

$this->getchildcms (‘myCmsBlock’)

B.

$this->getchildHtml(‘myCmsEloclc’)

C.

$this->getChildBlock (‘myCmsBlock’)

D.

$this->getcrnsHtml(‘myCmsElock’)

E.

$this->getHtml(‘myCmsBlock’)

Buy Now
Questions 6

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.

Buy Now
Questions 7

Which code snippet shows the correct way to add a JavaScript file from your custom theme to all Magento pages?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 8

Where are the core module translations located?

Options:

A.

app/code/locale/

B.

app/locale/

C.

app/design/frontend/default/default/locale/

D.

app/etc/modules/locale/

Buy Now
Questions 9

Using Magentos JavaScript translator object, which is the correct option for translating JavaScript strings within a.phtml file?

Options:

A.

Translator.newTranslation({"To be translated":"Translated Copy Here"});

B.

Translator.add("To be translated");

C.

Translate({"To be translated","__(‘To be translated’); ?>"});

D.

Translator-add({"To be translated":"_('To be translated'); ? >"});

Buy Now
Questions 10

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.

Buy Now
Questions 11

In order to display a custom design on a category landing page for a set number of days, you need to make a change to the ___ area of Magento.

Options:

A.

XML

B.

Admin Panel

C.

CSS

D.

Block

Buy Now
Questions 12

You want to stop all events on someElement. Which two methods from prototype.js will do this? (Choose TWO.)

Options:

A.

$ ("someElement").stopEvent()

B.

$ ("someElement") .stopObserving()

C.

Event.stop("someElement")

D.

$("someElement").stop ()

E.

Event.stopEvent("someElement")

F.

Event.stopObserving("someElement")

Buy Now
Questions 13

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

Options:

A.

1. Database (Inline) translation

2. Module translation

3. Theme translation

B.

1. Database (Inline) translation

2. Theme translation

3. Module translation

C.

1. Module translation

2. Database (In line) translation

3. Theme translation

D.

1. Theme translation

2. Database (In line) translation

3. Module translation

Buy Now
Questions 14

In layout XML, which of the following action methods would you use to define the block identifier on a block of type cms/block?

Options:

A.

B.

C.

D.

Buy Now
Questions 15

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

Options:

A.

page.xml

B.

search.xml

C.

catalogsearch.xml

D.

searchproducts.xml

Buy Now
Questions 16

You want to use layout XML to specify the order of child blocks in a structural block. Which two of the following tag attributes would you use? (Choose TWO.)

Options:

A.

Behind

B.

After

C.

Previous

D.

Next

E.

Before

F.

Below

Buy Now
Questions 17

How can you minimize the number of HTTP requests made by your native Magento sites for JavaScript files?

Options:

A.

Enable JavaScript merging in the admin.

B.

Move JavaScript requests to footer block in local.xml.

C.

Enable all Cache Storage Management.

D.

Remove Magento JavaScript and only use files hosted by a third party CDN.

Buy Now
Questions 18

Which four of the following page elements can be updated from the Magento Admin in System-> Configuration-> Design? (Choose FOUR.)

Options:

A.

Breadcrumb Separator

B.

Copyright

C.

Favicon

D.

Logo

E.

Navigation

F.

Page Title

G.

Top Links

Buy Now
Questions 19

When a block of type __________ is rendered, all its child blocks are rendered automatically, without the need to call the getChildHtml () method.

Options:

A.

Page/html

B.

Core/template

C.

Core/text_list

D.

Page/html_wrapper

Buy Now
Questions 20

If you open an HTML document with the following code sample in the browser, what will you see in the text of the two Alerts in the browser?

Options:

A.

"1" and "1"

B.

"2" and "2"

C.

"1" and "Undefined"

D.

"2" and "false"

E.

"false" and "false"

F.

"Undefined" and "Undefined"

Buy Now
Questions 21

You have created a system of multiple stores within a single Magento installation. Which one of the following levels of settings is NOT available?

Options:

A.

Global

B.

Website

C.

Store Group

D.

Store

E.

Store View

Buy Now
Questions 22

Given the layout XML example below, which one of the following actions will cause the title, “Some Title,” to be translated by Magento?

EXAMPLE:

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 23

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

Buy Now
Questions 24

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

Buy Now
Questions 25

If a layout handle exists in the “base/default” package, your custom design package, and the custom package’s “local.xml”, which handles can be merged?

Options:

A.

All of the handles can be merged.

B.

Only the handles in “base/default” can be merged.

C.

Only the handles in your design package can be merged.

D.

Only the handles in “local.xml” can be merged.

E.

Only the handles in “base/default” and “local.xml” can be merged.

F.

Only the handles in your design package and “local.xml” can be merged.

Buy Now
Questions 26

Given the following XML, which statement is true?

Options:

A.

You have to modify page/html/left.phtml to display the block.

B.

You have to add my-files/my-block.phtml to display the block.

C.

The block renders in the left structural block.

D.

The block won't be shown until you put getChildHtml(‘ left’) ?> into my-block.phtml.

Buy Now
Questions 27

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.

Buy Now
Questions 28

What is System -> Design used for?

Options:

A.

Configuring the fallback system of a store view

B.

Overriding the fallback system of a store view for a limited period of time

C.

Activating the fallback system of a store view

D.

Overriding the fallback system of a subpart (Layout, Templates, ...) of a store view

E.

Configuring basic Package and Theme settings of your Magento instance

Buy Now
Questions 29

Which three of the following folders should NOT be publicly accessible? (Choose THREE.)

Options:

A.

/app/design/frontend/package/theme/layout

B.

/app/design/frontend/package/theme/locale

C.

/app/design/frontend/package/theme/template

D.

/skin/frontend/package/theme/css

E.

/skin/frontend/package/themehttps://www.dumpspedia.com/js

F.

/skin/frontend/package/theme/img

Buy Now
Questions 30

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

Options:

A.

B.

C.

D.

Buy Now
Questions 31

Given the following HTML and CSS, what color will the word "nice be:

Options:

A.

Black

B.

Blue

C.

Green

D.

Red

Buy Now
Questions 32

In layout XML, which two handles are used to assign layout rules to catalog category pages of a store? (Choose TWO.)

Options:

A.

B.

C.

D.

E.

Buy Now
Exam Code: M70-301
Exam Name: Magento Front End Developer Certification Exam
Last Update: May 16, 2024
Questions: 107
$64  $159.99
$48  $119.99
$40  $99.99
buy now M70-301