Skip to main content

M70-301 Real Exam Questions

Magento Front End Developer Certification

107 questions available · Page 1 of 11

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

Which attribute of an XML tag in the layout defines the system configuration key to be checked before performing the action method?

  1. A

    as

  2. B

    Config

  3. C

    if

  4. D

    ifconfig

  5. E

    iftrue

Show answer and explanation

Correct answer: D

Question 2 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();

  1. A

    var AdvancedPhotoViewer = new PhotoViewer()

  2. B

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

  3. C

    var AdvancedPhotoViewer = Class.extend (PhotoViewer)

  4. D

    AdvancedPhotoViewer = PhotoViewer.extend ()

Show answer and explanation

Correct answer: B

Question 3 Multiple choice

Which two of the following statements are true regarding Magento configuration scopes? (Choose TWO.)

  1. A

    "Websites" contain "Stores".

  2. B

    A "Store" can be associated with multiple "Websites".

  3. C

    A "Store View" can be associated with multiple "Stores".

  4. D

    A "Store" can be associated with multiple "Store Views".

  5. E

    Multiple "Websites" can share a "Store View".

Show answer and explanation

Correct answers: A, D

Question 4 Multiple choice

You want to override the lcolumn.phtml file. Which two of the following methods could you use? (Choose
TWO.)

  1. A

    Rename the file in base/default to enable overriding.

  2. B

    Rename the root template configuration in the admin.

  3. C

    Create a file with same file name in the same directory structure as your theme.

  4. D

    Create a file exception in System -> Design, clear cache, and rebuild indexes.

  5. E

    Create a file with different file name and different directory structure; then change the template with the
    setTemplate method.

Show answer and explanation

Correct answers: C, E

Question 5 Single choice

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

  1. A

    Option A

  2. B

    Option B

  3. C

    Option C

  4. D

    Option D

Show answer and explanation

Correct answer: A

Question 6 Single choice

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?

  1. A

    Edit the "base/default" file directly.

  2. B

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

  3. C

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

  4. D

    Copy the file to "custom/default" for editing.

Show answer and explanation

Correct answer: A

Question 7 Single choice

You have created a custom theme called my_theme within the default package and want to override the native template file /page/lcolumn.phtml. You will need to place the file in the following structure:

  1. A

    app/design/frontend/base/my_theme/template/page/lcolumn.phtml

  2. B

    app/design/frontend/my_theme/default/template/page/lcolumn.phtml

  3. C

    app/design/frontend/default/my_theme/template/page/lcolumn.phtml

  4. D

    skin/design/frontend/my_theme/template/page/lcolumn.phtml

  5. E

    skin/design/frontend/base/my_theme/template/page/lcolumn.phtml

Show answer and explanation

Correct answer: C

Question 8 Single choice

Given the following HTML code, how are the divs "#column1", "#column2", and "#column3" displayed on the page?

  1. A

    The 3 divs are displayed side-by-side and their borders are adjacent to each other.

  2. B

    The 3 divs are displayed side-by-side; however their borders overlap with each other.

  3. C

    The divs "#column1" and "#column2" are displayed side-by-side. The div "=column3" appears below " # column1".

  4. D

    The divs are displayed on top of one another.

Show answer and explanation

Correct answer: C

Question 9 Single choice

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

EXAMPLE:

  1. A

    Option A

  2. B

    Option B

  3. C

    Option C

  4. D

    Option D

Show answer and explanation

Correct answer: B

Question 10 Single choice

What result will be produced by the following layout handle?

  1. A

    On a non-anchored category page the layered navigation will be moved into the main content block.

  2. B

    On an anchored category page the layered navigation will be moved into the main content block.

  3. C

    On an anchored category page the layered navigation will be removed from the page.

  4. D

    This XML will produce a syntax error.

Show answer and explanation

Correct answer: B