M70-201

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

Question 16

Which statement correctly describes order state and order status?

  1. State and status are independent properties of the order.
  2. The status is a child of the state.
  3. State represents the general state of the order, while status works on item level.
  4. An order doesn't have a status, only a state. Status is a property of an invoice, shipment, and credit memo.

Question 17

What is the difference in the effect of calling the invoice capture () method versus the invoice pay () method?

  1. No difference: pay () will always call capture ().
  2. Pay () will trigger the payment and capture!) will not.
  3. Capture () will trigger the payment and pay () will not.
  4. The difference is determined by the payment method implementation.

Question 18

Which one of the following statements is true regarding Mage_Core_Block_Text_List?

  1. Mage_Core_Block_Text_List declares its own template for rendering, but the rendered template can be overridden via layout XML.
  2. Child blocks of Mage_Core_Block_Text_List are always rendered alphabetically by name.
  3. Mage_Core_Block_Text_List will always render all children automatically when it is rendered.
  4. Mage_Core_Block_Text_List directly extends Mage_Core_Block_Template
  5. In order to render, the parent block of Mage_Core_Block_Text_List must always be an output block.

Question 19

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

  1. catalog_product_link.list, with arguments $type='related', $product_id
  2. catalog_product.list, with arguments $type='related', $product_id
  3. catalog_product_related.list, with argument $product_id
  4. catalog_product_option.list, with arguments $type='related', $product_id

Question 20

Which of the following actions will enable logging via calls to debugData() on a native Magento payment method model?

  1. Set the protected property $_debug of the payment model to true
  2. Set the config node default/payment/debug/ [method code] to 1
  3. Call Mage::register ('payment_method_debug_' . [method code], true);
  4. Set the config node default/payment/ [method code]/debug to 1
  5. Call setDebug(true) on the payment method model