Leads4pass > Magento > Magento Front End Developers > M70-301 > M70-301 Online Practice Questions and Answers

M70-301 Online Practice Questions and Answers

Questions 4

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 ()

Buy Now
Questions 5

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

Buy Now
Questions 6

The name of a design package in the Design tab of the System->Configuration window in Admin is also used as ________ and ________ . (Choose TWO.)

A. a folder name in app/design/frontend

B. a configuration value taken from index.php

C. a folder name in skin/frontend

D. a setting in the menu System -> Design

E. a folder name in app/design/frontend/base

Buy Now
Questions 7

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?

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 8

Given a configured package "tmypackage" and a configured theme "mytheme", which THREE of the following templates would be part of the design fallback? (Choose THREE.)

A. mypackage/default/template/my/template.phtml

B. base/mytheme/template/my/template.phtml

C. default/default/template/my/template.phtml

D. base/default/template/my/template.phtml

E. default/mytheme/template/my/template.phtml

F. mypackage/mytheme/template/my/template.phtml

Buy Now
Questions 9

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/

Buy Now
Questions 10

In Magento layouts, which attribute for defines the functionality of the block?

A. As

B. Action

C. Type

D. Name

Buy Now
Questions 11

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

A.

B.

C.

D.

Buy Now
Questions 12

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

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 13

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

Buy Now
Exam Code: M70-301
Exam Name: Magento Front End Developer Certification Exam
Last Update: Nov 20, 2024
Questions: 107
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99