M70-201

M70-201 practice questions, page 2 of 6, with answer review and explanations.

Question 6

Which three of the following conditions are used to protect an admin route via ACL? (Choose three)

  1. You have defined an ACL in your module configuration
  2. At least one admin role must have permission for that route
  3. You have extended the controller from Mage_Adminhtml_Controller_Action
  4. You have defined a method _is Allowed which checks the permission
  5. The route name must start with admin

Question 7

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

  1. base_price and price properties with the discounted price
  2. base_discount_amount and discount_amount with the discount applied to the original price
  3. base_row_total and cow_total properties with the discounted price
  4. base_price_incl_tax and price_incl_tax properties with the discounted price

Question 8

What is the purpose of Catalog Target rules?

  1. To extend Catalog Price Rules to be used for related products.
  2. To provide a mechanism for rendering a list of additional products on the product page.
  3. To provide a mechanism for rendering a list of custom product options.
  4. To provide a mechanism for easier selection options for configurable products.

Question 9

When changes are made to more than one of a collection's items using setData( 'some', 'value'), which of the following methods will save the changes in the collection?

  1. $collection->saveAll();
  2. $collection->saveItems ();
  3. $collection->saveAllItems ()?
  4. $collection->save();

Question 10

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

  1. foo_bar_baz will be the only handle added
  2. loadLayout () does not take any arguments, so there is no effect
  3. Only two handles will be added: foo_bar_baz and default
  4. Foo_bar_baz will be added instead of the default handle