Download New Updated (July) Magento M70-201 Actual Test 61-70

Ensurepass

 

 

QUESTION 61

You want to define a list of quote object attributes that are copied to the order object when an order is placed. Which one of the following statements is true?

 

A.

You can define this list by modifying the list of elements found in the configuration with the xpath global/fieldsets/sales_convert_quote.

B.

You can define this list by modifying the list of elements found in the configuration with the xpath

C.

global/sales/quote/item/product_attributes.

D.

You can define this list by checking the checkbox on the attribute edit page in the admin.

E.

You cannot modify the list of fields copied from quote to order because the process is hardcoded.

 

Correct Answer: A

 

 

QUESTION 62

Which one of the following statements is true regarding Mage_Core_Block_Text_List?

 

A.

Mage_Core_Block_Text_List declares its own template for rendering, but the rendered template can be overridden via layout XML.

B.

Child blocks of Mage_Core_Block_Text_List are always rendered alphabetically by name.

C.

Mage_Core_Block_Text_List will always render all children automatically when it is rendered.

D.

Mage_Core_Block_Text_List directly extends Mage_Core_Block_Template

E.

In order to render, the parent block of Mage_Core_Block_Text_List must always be an output block.

 

Correct Answer: C

 

 

QUESTION 63

Which of the following methods will force an EAV resource collection model to include an attribute in its result set?

 

A.

addAttributeToSelect($attribute);

B.

getResource()->addAttribute($attribute);

C.

addFieldToSelect($attribute);

D.

g
etSelect()->from(`’, $attribute);

E.

addAttributeToCollection($attribute);

 

Correct Answer: A

 

 

QUESTION 64

Which table is used for calculating a new increment ID for an order?

 

A.

sales_flat_order_increment

B.

eav_entity_store

C.

core_increment

D.

core_config_data

 

Correct Answer: B

 

 

QUESTION 65

What do you need to do to implement a completely new Web Service protocol in Magento?

 

A.

Create your own adapter and controller.

B.

Create your own API resource.

C.

Create a new API helper.

D.

Create a new model extended from Mage_Api_Model_Abstract.

 

Correct Answer: A

 

 

QUESTION 66

Which of the following API calls allows you to fetch the list of related products using the native Magento API?

 

A.

catalog_product_link.list, with arguments $type=’related’, $product_id

B.

catalog_product.list, with arguments $type=’related’, $product_id

C.

catalog_product_related.list, with argument $product_id

D.

catalog_product_option.list, with arguments $type=’related’, $product_id

 

Correct Answer: A

 

QUESTION 67

A valid way to extend Mage_Adminhtml_Cms_PageController with the Acme_Cms_Adminhtml_PageController class would be to set the following configuration:

 

clip_image002

 

Which of the following code pairs should be inserted in the blank spots in the code shown above?

 

A.

Mage_Adminhtml, Acme_Cms_Adminhtml

B.

Mage_Adminhtml, Acme_Cms_Adminhtml_PageController

C.

Mage_Adminhtml_Cms_PageController, Acme_Cms_Adminhtml

D.

Mage_Adminhtml_Cms_PageController, Acme_Cms_Adminhtml_
PageController

 

Correct Answer: A

 

 

QUESTION 68

When you register an event observer, which two of the following pieces of information are required for it to function?

 

A.

Method (or function) name

B.

Method (or function) arguments

C.

Class name

D.

Object type (singleton, model, none, etc.)

E.

Call order

F.

Active/inactive status

 

Correct Answer: AC

 

 

QUESTION 69

Among other directives, your module’s layout xml file contains the following code:

 

clip_image004

But using the template path hints, you can see that a template custom/product/view.phtml is used instead of your template. Which THREE of the following options can be causing the issue? (Choose three)

 

A.

Another module, which is loaded later, calls setTemplate () again on the same block.

B.

Your template file my/product/view, phtml cannot be found in the current theme.

C.

Another module is rewriting the catalog/product_view block to change the template in the method _beforeToHtml().

D.

Your layout xml file is not found within the theme fallback directories.

E.

Another module is rewriting the catalog/productjview block to change the template in the method construct().

 

Correct Answer: ACD

 

 

QUESTION 70

Which of the following block methods is the best to override when there is a need to customize how the block’s html is rendered?

 

A.

_toHtml()

B.

toHtmlO

C.

setLayout ()

D.

renderLayout ()

 

Correct Answer: A

 

Free VCE & PDF File for Magento M70-201 Real Exam

Instant Access to Free VCE Files: CompTIA | VMware | SAP …
Instant Access to Free PDF Files: CompTIA | VMware | SAP …

This entry was posted in M70-201 Real Tests (July) and tagged , , , , , , . Bookmark the permalink.