Ensurepass

 

QUESTION 31

Which one of the following xpaths is correct for replacing Mage_Customer_Model_Custom_Address via Mage::helper (‘customer/address’)?

 

A.

Global/customer/helpers/address

B.

Global/rewrite/helpers/rewrite/address

C.

Global/helpers/customer/rewrite/address

D.

Global/helpers/rewrite/customer_address

E.

Global/helpers/rewrite/customer/address

 

Correct Answer: C

 

 

QUESTION 32

Assume you have saved a product in the Catalog. Will your last changes be taken into account for rule-based related products?

 

A.

Only if you go to the “Catalog/Rule-based Product Relations” page, and hit “Reindex All” button.

B.

Only if you clear the cache.

C.

Yes: It will be done automatically by an observer on the catalog_product_save_after event.

D.

Yes: Rule-based related products are calculated on-the-fly.

 

Correct Answer: C

 < /p>

 

QUESTION 33

Which table stores information about the relationship between configurable products and their child products?

 

A.

catalog_product_link

B.

catalog_product_super_link

C.

catalog_product_option

D.

catalog_product_relation

 

Correct Answer: B

 

 

QUESTION 34

Which two of the following are supported in the native Magento API? (Choose two)

 

A.

Partial void

B.

Partial invoice

C.

Partial capture

D.

Partial refund

E.

Partial shipment

 

Correct Answer: BE

 

 

QUESTION 35

Applying the shopping cart rule’s action affects the quote item by setting the quote item’s _______________.

 

A.

base_price and price properties with the discounted price

B.

base_discount_amount and discount_amount with the discount applied to the original price

C.

base_row_total and cow_total properties with the discounted price

D.

base_price_incl_tax and price_incl_tax properties with the discounted price

 

Correct Answer: B

 

 

QUESTION 36

You have used the “refresh” action on the cache management page for the block html cache type. Which of the following types of cache record would be cleared?

 

A.

all cache records containing HTML code

B.

items for block classes extending Mage_Core_Block_Template only

C.

items having at least one of the tags found in the configuration under the xpath global/ cache/ type s/block_html/ tags

D.

block class items with expired lifetime

 

Correct Answer: C

QUESTION 37

When $ this ->load Layout (‘ foo_bar_baz’) is called in a standard front action, what is the effect on the layout update object instance?

 

A.

foo_bar_baz will be the only handle added

B.

loadLayout () does not take any arguments, so there is no effect

C.

Only two handles will be added: foo_bar_baz and default

D.

Foo_bar_baz will be added instead of the default handle

 

Correct Answer: D

 

 

QUESTION 38

When the load method is called on an EAV-based data model, which of the following occurs before the load method returns?

 

A.

walkAttributes is used to call load on the backend model of each attribute to load its corresponding value.

B.

_afterLoad is called on the source model of each loaded attribute that has one.

C.

walkAttributes is used to call afterLoad on the backend model of each loaded attribute that has one.

D.

walkAttributes is used to iterate over each attribute and load its data from the correct table on the database.

 

Correct Answer: C

 

 

QUESTION 39

Which one of the following API protocols does native Magento support?

 

A.

XmlRpc

B.

REST

C.

POST

D.

Open Social

E.

XQuery

 

Correct Answer: A

 

 

QUESTION 40

Which entity collects the grand_total and base_grand_total that the different total models collect?

 

A.

Sales/quote

B.

Sales/quote_address

C.

Sales/order

D.

Checkout/cart

 

Correct Answer: B

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 …

Comments are closed.