Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore M70-301

M70-301

Published by Perla Simeone, 2016-02-03 18:38:03

Description: M70-301

Search

Read the Text Version

MagentoExam M70-301Magento Front End Developer ExamTotal Questions: 107 Q&A'sWeb URL: http://www.certgenie.com/magento-m70-301-exam-questions-and-answers-43873.htm CertGenie M70-301 Saving Pack Instant Download Printable PDF Document Test Software & Online Engine Included Download and study offline Written in plain English Highest success rate! Verified answers for all questions 100% Pass and Money Back Guarantee CertGenie guarantees your success at your first attempt with only understanding and mastering well our questions answers, if somehow you fail the exam at the first time, we will arrange FULL REFUND for you. Get Complete Collection of M70-301 Exam's Questions and Answers. http://www.certgenie.com/

Question: 1Which 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”/> Answer: BQuestion: 2You want to create a wrapper block that uses an HTML tag name which is set by the actionsetHtmlTagName. The wrapper block should render all its child blocks within the HTML tag. Whichblock type should you use to create the wrapper block?A. page/htmlB. page/wrapperC. page/div wrapperD. page/html_wrapper Answer: DQuestion: 3You want to figure out which phtml-files are rendering in the front end. Which developer tool helpsyou do that?A. ProfilerB. Exception.logC. Block Class NamesD. Template Path HintsE. System.log Answer: DQuestion: 4

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 translationB. 1. Database (Inline) translation2. Theme translation3. Module translationC. 1. Module translation2. Database (In line) translation3. Theme translationD. 1. Theme translation2. Database (In line) translation3. Module translation Answer: BQuestion: 5Which 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= “ ”} } Answer: AQuestion: 6Your 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 AdvancedPhotoViewerthat 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 () Answer: B

Question: 7Which element in layout XML specifies a method to be called on a referenced or newly definedblock?A. <action>B. <call>C. <change>D. <method>E. <update> Answer: AQuestion: 8Which one of these code samples will assign a root template to a specific page of native Magento?A.B.C.D.

Answer: DQuestion: 9You 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/screendesignB. Create an empty folder app/design/frontend/screendesign and copyapp/design/frontend/default/default into itC. Create skin/frontend/screendesign, then copy the CSS and images folders and their files from/skin/frontend/default/default/ to skin/frontend/screendesign/defaultD. Inside app/design/frontend and skin/frontend, copy the folder “default” to the folder “custom”;then rename custom/default to custom/screendesign in both placesE. Create app/design/frontend/default/screendesign Answer: CQuestion: 10Which ONE of the following adds links to the top links navigation?A.B.C.

D. Answer: BQuestion: 11When a block of type __________ is rendered, all its child blocks are rendered automatically,without the need to call the getChildHtml () method.A. Page/htmlB. Core/templateC. Core/text_listD. Page/html_wrapper Answer: CQuestion: 12Which is the correct type attribute for a structural block?A. core/blockB. core/html_wrapperC. core/textD. core/text_list Answer: DQuestion: 13Within a Magento instance configured to use the 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/form.mini.phtmlB. app/design/frontend/base/default/template/customsearch/form.mini.phtmlC. app/design/frontend/my_theme/my_package/template/catalogsearch/custom.form.mini.phtmlD. app/design/frontend/my_package/my_theme/template/catalogsearch/form.mini.phtmlE. app/frontend/default/my_theme/customsearch/form.mini.phtml Answer: DQuestion: 14You 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 forcustom.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”/> Answer: AQuestion: 15You need to add a custom structural block template to a block that will render all childrenautomatically. Which three attributes are required in the block’s XML definition? (Choose THREE.)A. afterB. asC. beforeD. nameE. templateF. type Answer: D, E, FQuestion: 16You want to add additional XML (“Additional XML Declaration”) to an existing layout block. Which isthe 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=“block.name”>Additional XML Declaration</reference>D. <method action= “setBlockContent”><xml>Additional XML Declaration</xml></method> Answer: CQuestion: 17What 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> Answer: CQuestion: 18The name of a design package in the Design tab of the System->Configuration window in Admin isalso used as ________ and ________ . (Choose TWO.)A. a folder name in app/design/frontendB. a configuration value taken from index.phpC. a folder name in skin/frontendD. a setting in the menu System -> DesignE. a folder name in app/design/frontend/base Answer: A, CQuestion: 19You have a “custom/default” design package. You need to edit this file:/app/design/frontend/base/defauIt/template/page/html/header.PhtmlWhich 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. Answer: A

Question: 20Given a configured package “tmypackage” and a configured theme “mytheme”, which THREE of thefollowing templates would be part of the design fallback? (Choose THREE.)A. mypackage/default/template/my/template.phtmlB. base/mytheme/template/my/template.phtmlC. default/default/template/my/template.phtmlD. base/default/template/my/template.phtmlE. default/mytheme/template/my/template.phtmlF. mypackage/mytheme/template/my/template.phtml Answer: A, D, FQuestion: 21Which four of the following page elements can be updated from the Magento Admin in System->Configuration-> Design? (Choose FOUR.)A. Breadcrumb SeparatorB. CopyrightC. FaviconD. LogoE. NavigationF. Page TitleG. Top Links Answer: B, C, D, FQuestion: 22What result will be produced by the following layout handle?A. On a non-anchored category page the layered navigation will be moved into the main contentblock.B. On an anchored category page the layered navigation will be moved into the main content block.C. On an anchored category page the layered navigation will be removed from the page.

D. This XML will produce a syntax error. Answer: BQuestion: 23Based on the code below, what color will a browser display in rendering the text inside the div tag?A. greenB. blueC. redD. black Answer: AQuestion: 24Where 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/ Answer: BQuestion: 25Layered navigation is displayed for a specific category when _________?A. layered navigation is enabled in System-> Configuration-> CatalogB. the category contains products with filterable attributesC. “Is Anchor” is set to “Yes” in the category settingsD. custom layout update XML adds the layered navigation block Answer: C

Question: 26What is the function of the attribute output= “to Html” when applied to a <block> tag?A. Renders a block without any other explicit callsB. Specifies the sequence of blocks on the pageC. Marks a block as a structural blockD. Marks a block as a content block Answer: AQuestion: 27Given the information shown below, which answer will correctly assign a customized template fileusing layout XML?Block type:example/controllerTemplate path:/a pp/design/frontend/base/exampletheme/examplefolder/example.phtmlA. <template block type=“example/ controller” name= “example” as=“example1’ filepath=“examplefolder/example.phtml”/ >B. <block name=“example/controller” template=“examplefolder/example.phtml” />C. <block type=“example/controller” name=“example” as=“example”template=“examplefolder/example.phtml” />D. <reference name=“example/controller” as “example” template=“examplefolder/example.phtml”/> Answer: CQuestion: 28Which one of the following methods assigns a custom template to the product compare sidebarblock?A.B.

C.D. Answer: AQuestion: 29In layout XML, which two handles are used to assign layout rules to catalog category pages of astore? (Choose TWO.)A. <catalog_category>B. <catalog_layered>C. <catalog_category_default>D. <catalog_category_index>E. <catalog_category_layered> Answer: C, EQuestion: 30Which three of the following folders should NOT be publicly accessible? (Choose THREE.)A. /app/design/frontend/package/theme/layoutB. /app/design/frontend/package/theme/localeC. /app/design/frontend/package/theme/templateD. /skin/frontend/package/theme/cssE. /skin/frontend/package/theme/jsF. /skin/frontend/package/theme/img Answer: A, B, CQuestion: 31How can you override a native template file in an activated custom theme, using the design fallback?

A. Copy the file to the appropriate folder.B. Copy the file to the appropriate folder and specify the path to it in the admin panel.C. Copy the file to the appropriate folder and specify the path to it in the database.D. Copy the file to the appropriate folder and rename it by adding the suffix “as”. Answer: AQuestion: 32Which of the following is the layout update handle loaded for built-in simple products?A. TYPE_simpleB. PRODUCT_TYPE_simpleC. PRODUCT_simpleD. Simple_product Answer: BQuestion: 33Which two of the following statements are true regarding Magento configuration scopes? (ChooseTWO.)A. “Websites” contain “Stores”.B. A “Store” can be associated with multiple “Websites”.C. A “Store View” can be associated with multiple “Stores”.D. A “Store” can be associated with multiple “Store Views”.E. Multiple “Websites” can share a “Store View”. Answer: A, DQuestion: 34You have created a system of multiple stores within a single Magento installation. Which one of thefollowing levels of settings is NOT available?A. GlobalB. WebsiteC. Store GroupD. StoreE. Store View Answer: C

Question: 35Which file adds the search module on a Magento website frontend?A. page.xmlB. search.xmlC. catalogsearch.xmlD. searchproducts.xml Answer: CQuestion: 36You want to remove the right structural block from a page. Which code should you use?A. <remove name= “right”/>B. <remove_block name= “right”/>C. <remove type=“ right”>D. <remove_structure name=“ right”/> Answer: AQuestion: 37You want to add the file “somescript.js” in a template. The JS-file is in the folder “root: js/lib”. Whichpiece of code should you use?A. $this->getItemurl(‘lib/somescript.js’)B. $this->getskinurl(‘lib/somescript.js’)C. $this->getJsUrl(‘lib/somescript.js’)D. $this->getFileurl(‘lib/somescript.js’)E. $this->getLibUrl(‘lib/somescript.js’) Answer: CQuestion: 38Given the following layout XML, what will be the expected result on the Magento frontend?

A. The top.menu block will be displayed on all pages within the header blockB. The top.menu block will never be displayedC. The top.menu block will be displayed within the default blockD. The top.menu block will only be displayed within “Catalog” pages Answer: BQuestion: 39Which code snippet shows the correct way to add a JavaScript file from your custom theme to allMagento pages?A.B.C.

D. Answer: AQuestion: 40If a layout handle exists in the “base/default” package, your custom design package, and the custompackage’s “local.xml”, which handles can be merged?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. Answer: AQuestion: 41Using prototype.js, which selector would be used to target a group of list items with the class ofitem?A. $(‘ul’).children(‘li.item’)B. $(‘item’)C. $$(‘li.item’)D. $$(‘ul > li#item’) Answer: CQuestion: 42A website contains the three store views “English”, “French”, and “German”, with the followingsettings configured:

The template file template/page/lcolumn.phtml exists within the following frontend themes:A. base/default Answer: CB. default/default Answer: BC. package1/defaultD. package1/theme1E. package1/theme2F. package1/theme3Question: 43In which of the following directories is a .xml file located?A. CSSB. LayoutC. SkinD. TemplateQuestion: 44

What is System -> Design used for?A. Configuring the fallback system of a store viewB. Overriding the fallback system of a store view for a limited period of timeC. Activating the fallback system of a store viewD. Overriding the fallback system of a subpart (Layout, Templates, ...) of a store viewE. Configuring basic Package and Theme settings of your Magento instance Answer: BQuestion: 45Which layout handle can be used to assign a customized template file to the filter navigation block inthe left column?A. defaultB. catalog_category_viewC. catalog_category_layeredD. page_two_columns_left Answer: CQuestion: 46The underscore prefix (“_”) in variable names in Magento template files marks these variables as__________?A. “protected”B. “public”C. “private”D. declared in the template file Answer: DQuestion: 47Which three types of files are contained in the folder “app/design!”? (Choose THREE.)A. CSSB. ImageC. JavaScriptD. LayoutE. Template

F. Translate Answer: D, E, FQuestion: 48What is the difference between “display: none” and “visibility: hidden”?A. The “display: none” rule removes the element from the DOM. The “visibility: hidden” rule leavesthe element in the DOM.B. The “display: none” rule leaves the element in the DOM. The “visibility: hidden” rule removes theelement from the DOM.C. The “display: none” rule removes the space used by the element from the page. The “visibility:hidden” rule reserves space on the page for the element.D. The “display: none” rule reserves space on the page for the element. The “visibility: hidden” ruleremoves the space used by the element from the page. Answer: CQuestion: 49What is the correct PHP code for adding the output of a CMS block to a template?A. $this->getchildcms (‘myCmsBlock’)B. $this->getchildHtml(‘myCmsEloclc’)C. $this->getChildBlock (‘myCmsBlock’)D. $this->getcrnsHtml(‘myCmsElock’)E. $this->getHtml(‘myCmsBlock’) Answer: BQuestion: 50Given a configured package “mypackage”, which of the following sequences of design fallback stepsis correct?A.B.

C.D. Answer: AQuestion: 51How can a template be included in a CMS block?A. {{block template=¡”path/to/template .phtm1’}}B. {{block type=“core/template” template=”path/to/template.phtml”}}C. {{block template=“path/to/template.phtml”}}D. {{block id=“path/to/template.phtml”}}E. {{block type=“core/template” method=“setTemplate” param=“path/to/template.phtml1” } } Answer: BQuestion: 52Given the layout XML example below, which one of the following actions will cause the title, “SomeTitle,” to be translated by Magento?EXAMPLE:A.

B.C.D. Answer: BQuestion: 53Given the following code, what color is the word “sale”?A. #AA0000B. #000000C. #000099D. #AA9900 Answer: C

Question: 54What type of block is created by the code below?A. Content blockB. Text blockC. Structural blockD. Bulleted list blockE. Navigation block Answer: CQuestion: 55Which of the following is a native frontend layout handle in Magento?A. catalog_product_detailsB. catalog_category_listC. checkout_onepage_shippingmethodD. customer_account_defaultE. multiple_addresses_progress Answer: CQuestion: 56Which three of the following action method(s) are valid ways to add custom JavaScript files? (ChooseTHREE.)A. <action method=”addJ”>< xscript>example.js</script></action>B. <action method=”addScript” ><type>js</type><src>example.js</src></action>C. <action method=\"addJs\">< type>skin_js</typexname>example.is</name></action>D. <action method=”addltem><type>skin_js</type><name>example-js</namex/action>E. <action method= “newItem” >< “type>js</type><script>example.js</script></action>F. <action method=”addScript”><script>example.js</script></action>G. <action method= “addItem\" ><type>js</typexname>example.js</name ></action> Answer: A, D, GQuestion: 57

You want to add a block to the content of the product detail page, without having to modify atemplate.Which three container blocks are rendered regardless of product type and configuration? (ChooseTHREE.)A. alert.urlsB. product.info.extrahintC. product.info.options.wrapperD. product.info.options .wrapper.bottomE. product.info.additionalF. product.info.container1G. product.info.container2H. product.info.attributes Answer: A, B, EQuestion: 58If your custom frontend theme is missing an expected template file, the last place Magento will lookis this directory: ______________.A. app/design/frontend/base/defaultB. skin/design/frontend/base/defaultC. skin/frontend/base/defaultD. app/frontend/default/defaultE. skin/frontend/default/defaultF. app/frontend/design/default/default Answer: AQuestion: 59You want to add CSS to an HTML page. Which HTML tag would you use?A. CSSB. StyleC. ScriptD. styling Answer: BQuestion: 60

Which of the following functions is guaranteed to be executed after the DOM is ready? (Assume thatthe page only includes the prototype.js library.)A. $(function() { . . . })B. $(documerit).ready(function() { . . . })C. $(“dom:loaded”, function(). . . })D. document.observe( “dom:loaded”, function(). . . })E. document.observe(“html:loaded”, function(). . . })F. document.event(“html:load”, function(). . . }) Answer: DQuestion: 61Which XML layout handle is used to assign layout configurations to all pages of a store?A. AllB. BaseC. RootD. EveryE. Default Answer: EQuestion: 62Which two of the following code samples contain correct XML code for adding style.css to a page?(Choose TWO.)A. <action method= “add”><stylesheet>css/styles.css</stylesheet></action>B. <action method=”addCss”><stylesheet>css/styles.css</stylesheet></action>C. <action method=”addltem”><name>css/styles.css</name></action>D. <action method= “addltem”><type>css</type><name> css/styles.css </name></action>E. <action method= “addltem” ><type>skin_css</ type><name> css/styles.css</name></action> Answer: B, EQuestion: 63Given the HTML and CSS shown below, which attribute would clear the floated columns if applied tothe “grid” element?

A. clear:bothB. clear:leftC. display:blockD. display:inlineE. overflow:autoF. overflow:hidden Answer: FQuestion: 64Where can you assign a root category for a new store in your Magento installation?A. GlobalB. WebsiteC. StoreD. Store View Answer: CQuestion: 65

Magento is searching in the fallback system for a my-template.phtml file. As shown in the graphicabove, you have configured Magento to the following:In which four places might Magento find that file, assuming it has been placed there? (Choose FOUR)A. app/design/frontend/my_pkg/my_theme/template/B. app/design/frontend/default/default/C. app/design/frontend/base/default/layout/D. app/design/frontend/my_pkg/common/templateE. app/design/frontend/my_pkg/christmas/templateF. skin/frontend/my_pkg/christmas/templateG. skin/frontend/my_pkg/common/H. app/design/frontend/my_pkg/default/templateI. app/design/frontend/base/default/template Answer: D, E, H, IQuestion: 66

When you create an inline translation, where is it stored?A. In a browser cookieB. In a CSV fileC. In an XML fileD. In the databaseE. In the Magento cache Answer: AQuestion: 67Which three types of file are contained in the folder \"skin/\" in Magento? (Choose THREE.)A. CSSB. ImageC. JavaScriptD. LayoutE. TemplateF. Translate Answer: A, B, CQuestion: 68How can you minimize the number of HTTP requests made by your native Magento sites forJavaScript files?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. Answer: AQuestion: 69Given the following HTML and CSS, what color will the word \"nice be:

A. Black Answer: DB. BlueC. GreenD. RedQuestion: 70When assigning a template file, what is the difference betweenA. No difference: Both set a template for an existing block.B. Template= “” can only be used when the block is being instantiated.C. <action method=”setTemplate”> can only be used when the block is being instantiated.D. Template=\"\" is wrong and doesn't work at all. Answer: BQuestion: 71In Magento layouts, which attribute for <block> defines the functionality of the block?A. AsB. ActionC. TypeD. Name Answer: C

Question: 72Which of following \"if else\" constructs is used in Magento core templates?A.B.C.D. Answer: BQuestion: 73In layout XML, which of the following action methods would you use to define the block identifier ona block of type cms/block?A. <action method=\"addBlockId\">B. <Action method= “setStaticBlock”>C. <action method=\"setBlockName”>D. <action method=\"setBlockId\"> Answer: DQuestion: 74You want to use layout XML to specify the order of child blocks in a structural block. Which two ofthe following tag attributes would you use? (Choose TWO.)

A. BehindB. AfterC. PreviousD. NextE. BeforeF. Below Answer: B, EQuestion: 75You want to set up different languages in a Magento installation with multiple stores. Whichconfiguration scope should you use?A. GlobalB. WebsiteC. StoreD. Store View Answer: DQuestion: 76You created a header-new.phtml from the original header.phtml. How can you force Magento to usethat new file in place of the native header block template?A.B.C.

D. Answer: CE.Question: 77Given the following XML, which statement is true?A. You have to modify page/html/left.phtml to display the block.B. You have to add <action method=\"setTemplate\"><file>my-files/my-block.phtml</file></action> todisplay the block.C. The block renders in the left structural block.D. The block won't be shown until you put <?php echo $this->getChildHtml(‘ left’) ?> into my-block.phtml. Answer: CQuestion: 78Which two of the following would add a CSS file to every page? (Choose TWO.)A.B.

C.D.E. Answer: B, DQuestion: 79You want to load my-file.js only on the exam' CMS page. In native Magento, which two of thefollowing statements are true? (Choose TWO.)A. You must create exam.xml and put the appropriate XML inside the <cms_page_exam> layouthandle,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 <?php echo $this->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.

Answer: C, EQuestion: 80A block named newsletter is already defined in the layout XML, as in the example shown below. Thepage on which the block is visible has a three-column layout. How can you move the block from theleft column to the right column?A.B.C.D.

Answer: BQuestion: 81Which type of block defines the HTML head section of the page, which contains elements forincluding JavaScript, CSS, etc.?A. core/headB. core/templateC. page/headD. page/html_headE. page/head_template Answer: DQuestion: 82If you want to provide an existing custom theme for a mobile device browser, you'll only have to_____________.A. Create a new store for that themeB. Configure the setting in main menu \"Mobile\"C. Create an exception under System->Design for an appropriate UserAgentD. Create an exception under the System->Configuration \"Design\" tab for an appropriate UserAgent Answer: DQuestion: 83A parent HTML element has the style position:relative\". You need to position a child element withinthe parent so that the child's position originates from the parent element's box. Which style on thechild will accomplish that?A. position:absoluteB. position:fixedC. position:relativeD. position:static

Answer: AQuestion: 84You want to override the lcolumn.phtml file. Which two of the following methods could you use?(Choose TWO.)A. Rename the file in base/default to enable overriding.B. Rename the root template configuration in the admin.C. Create a file with same file name in the same directory structure as your theme.D. Create a file exception in System -> Design, clear cache, and rebuild indexes.E. Create a file with different file name and different directory structure; then change the templatewith the setTemplate method. Answer: C, EQuestion: 85Given the following HTML code, how are the divs \"#column1\", \"#column2\", and \"#column3\"displayed on the page?A. The 3 divs are displayed side-by-side and their borders are adjacent to each other.B. The 3 divs are displayed side-by-side; however their borders overlap with each other.C. The divs \"#column1\" and \"#column2\" are displayed side-by-side. The div \"=column3\" appearsbelow \" # column1\".D. The divs are displayed on top of one another. Answer: CQuestion: 86In an email template or a CMS block, which two of the following directives specify a store URLwithout requiring you to hardcode the base URL? (Choose TWO.)

A. {{store url=\"checkout/cart/index\"}}B. {{store route=\"checkout/cart/index\"}}C. {{store checkout/cart/index}}D. http://{{store url=\"checkout/cart/index\"}}E. {{base url=\"\"}}checkout/cart/indexF. {{store direct url=\"checkout/cart/index\"}} Answer: A, FQuestion: 87Using Magentos JavaScript translator object, which is the correct option for translating JavaScriptstrings within a.phtml file?A. Translator.newTranslation({\"To be translated\":\"Translated Copy Here\"});B. Translator.add(\"To be translated\");C. Translate({\"To be translated\",\"<?php echo $this->__(‘To be translated’); ?>\"});D. Translator-add({\"To be translated\":\"<?php echo $this->_('To be translated'); ? >\"}); Answer: DQuestion: 88You have created a custom theme called my_theme within the default package and want to overridethe native template file /page/lcolumn.phtml. You will need to place the file in the followingstructure:A. app/design/frontend/base/my_theme/template/page/lcolumn.phtmlB. app/design/frontend/my_theme/default/template/page/lcolumn.phtmlC. app/design/frontend/default/my_theme/template/page/lcolumn.phtmlD. skin/design/frontend/my_theme/template/page/lcolumn.phtmlE. skin/design/frontend/base/my_theme/template/page/lcolumn.phtml Answer: CQuestion: 89Which of the following will render the custom content block custom, name to a page based on thenative 3columns.phtml template?A.

B.C.D. Answer: AQuestion: 90You want to stop all events on someElement. Which two methods from prototype.js will do this?(Choose TWO.)A. $ (\"someElement\").stopEvent()B. $ (\"someElement\") .stopObserving()C. Event.stop(\"someElement\")D. $(\"someElement\").stop ()E. Event.stopEvent(\"someElement\")F. Event.stopObserving(\"someElement\") Answer: B, FQuestion: 91Which two of the following examples can be used to include a custom JavaScript on every page?(Choose TWO.)

A.B.C.D.E. Answer: B, DQuestion: 92You want to change the number of columns per row in the list of upsell products on all productpages. Where do you set the parameter that specifies the number of columns?A. Admin panelB. XML layoutC. TemplateD. Database Answer: BQuestion: 93

If you open an HTML document with the following code sample in the browser, what will you see inthe text of the two Alerts in the browser?A. \"1\" and \"1\"B. \"2\" and \"2\"C. \"1\" and \"Undefined\"D. \"2\" and \"false\"E. \"false\" and \"false\"F. \"Undefined\" and \"Undefined\" Answer: BDQuestion: 94Which string will NOT be translated?A. “You can save % s %% in the next 15 min.”, “Du kannst % s %% in den nachsten 15min sparen”B. “Click <a href= “%s”>here</a> to continue.”,”Klicken Sie <a href=“%s”>hier</a> um welter zumachen .”C. “We\’ll send you a new password.” , ”Wir werden dir emneues Password zusenden.”D. “The coupon has expired” , ” Der Coupon ist “abgelaufen”

Answer: BQuestion: 95Which two of the following statements regarding Magento configuration scopes are true? (ChooseTWO.)A. “Website” has a higher priority than “Store View”.B. “Store View” has a higher priority than “Website”.C. “Global” has a higher priority than “Website.”D. “Website” has a higher priority than “Global”.E. “Global” has a higher priority than “Store View”.F. “Global” has a higher priority than “Store”.G. “Store” has a higher priority than “Store View”. Answer: AFQuestion: 96Which file adds “breadcrumbs” on pages?A. page.xmlB. breadcrumbs.xmlC. navigation.xmlD. core.xmlE. header.xml Answer: DQuestion: 97In order to display a custom design on a category landing page for a set number of days, you need tomake a change to the ___ area of Magento.A. XMLB. Admin PanelC. CSSD. Block Answer: BQuestion: 98

In layout XML, which tag attributes are always used when configuring a template block? (ChooseTHREE.)A. asB. nameC. typeD. valueE. beforeF. moduleG. template Answer: BCFQuestion: 99To configure a category to display a set of “Shop By” filters, what is the correct option to set in theMagento admin?A. “Is Anchor” set to “Yes”B. “Show Filters” set to “Yes”C. “Category Links” set to “No”D. “Is Active” set to “No” Answer: CQuestion: 100What is the total width of a block-element styled with the following CSS?A. 200pxB. 202pxC. 222pxD. 232px Answer: B

Question: 101Which attribute of an XML tag in the layout defines the system configuration key to be checkedbefore performing the action method?A. asB. ConfigC. ifD. ifconfigE. iftrue Answer: CQuestion: 102Which of these block types can be used to define “breadcrumbs” on a page?A. page/breadcrumbsB. page/ html_bread crumbsC. core/ htmlbreadcrumbsD. core1 template Answer: BQuestion: 103Which is the proper XML markup for creating a new content block containing the content from aCMS static block?A.B.C.D.

Answer: BQuestion: 104In a “new order” transactional email template, which two of the following are valid ways to getproperties of the template variable “order”? (Choose TWO.)A. {{order var=customer_lastname}}B. {{var data=order.customerEmail}}C. {{var order.customer_lastname}}D. {{var $order.getCustornerEmail()}}E. {{var order.getCustomerLastname()}}F. {{var order.getCustomerFirstname}} Answer: BDQuestion: 105What does the <update handle=“catalog_seo_sitemap” /> element do in the following piece oflayout XML?






Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook