Download Free Magento M70-101 PDF Exam Practice Questions And Youtube

Your project, which uses prototype.js, contains the JavaScript class Photoviewer (see EXAMPLE, below).
Which one of the Magento M70-101 pdf following code samples will create a class called AdvancedPhotoViewer that extends
Photoviewe r?
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 ()
Correct Answer: B


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>
Correct Answer: A

Which one of these code samples will assign a root template to M70-101 a specific page of native Magento?
A. Option A
B. Option B
C. Option C
D. Option D
Correct Answer: D

You want to create a new “screendesign” package based on the “default” package’s “default” theme.
Which ONE of the M70-101 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
Correct Answer: C

Which ONE of the following adds links to the top links navigation?
A. Option A
B. Option B
C. Option C
D. Option D
Correct Answer: B

When a block of type __________ is rendered, all its M70-101 child blocks are rendered automatically, without the need to call the getChildHtml () method.
A. Page/html
B. Core/template
C. Core/text_list
D. Page/html_wrapper
Correct Answer: C

Which is the correct type attribute for a structural block?
A. core/block
B. core/html_wrapper
C. core/text
D. core/text_list
Correct Answer: D

Within a Magento instance configured to use the M70-101 package name “my_package” and the theme name “my_theme”, which file would override the default catalog search template?
A. app/frontend/base/my_package/my_theme/template/catalogsearch/
B. app/design/frontend/base/default/template/customsearch/
C. app/design/frontend/my_theme/my_package/template/catalogsearch/
D. app/design/frontend/my_package/my_theme/template/catalogsearch/
E. app/frontend/default/my_theme/customsearch/
Correct Answer: D

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?
A. <block type=”core/template” name=”custom” template=”mytemplates/custom.phtml”/>
B. <block type=”core/template” name=”custom”template=”template/mytemplates/ custom.phtml”/>
C. <block type=”custom1′ name=”custom”template=”template/mytemplates/ custom.phtml”/>
D. <block type=”custom” name=”custom” template=”mytemplates/custom.phtml”/>
Correct Answer: A

You need to add a custom structural block template to M70-101 a block that will render all children automatically. Which three attributes are required in the block’s XML definition? (Choose THREE.)
A. after
B. as
C. before
D. name
E. template
F. type
Correct Answer: BDF

You want to add additional XML (“Additional XML Declaration”) to an existing layout block. Which is the proper tag for adding it?
A. <reference type=”block”>Additional XML Declaration</ reference>
B. <action method= “addNewBlock”><block name>Additional XML Declaration <I block name></ action>
C. <reference name=””>Additional XML Declaration</reference>
D. <method action= “setBlockContent”><xml>Additional XML Declaration</xml></method>
Correct Answer: C

What is the proper layout update handle for adding a CSS file to the product page?
A. <product>
B. <catalog_product>
C. <catalog_product_view>
D. <default>
Correct Answer: C

The name of a design package in the M70-101 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
Correct Answer: AC

You have a “custom/default” design package. You need to edit this file:
Which method is a bad practice because the M70-101 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.
Correct Answer: A

Read more: Hottest and latest Magento m70-101 pdf study guide help you pass m70-101 exam test easily at first attempt, 100% pass guarantee.



Watch the video to learn more: