M70-101

M70-101 practice questions, page 4 of 5, with answer review and explanations.

Question 16

Which of the following is a true statement about how Magento loads data for an EAV-based data model?

  1. A data helper is used in order to properly load an object's attributes from the database.
  2. EAV-based data models use a different abstract resource class than other data models.
  3. The attribute values are loaded into an attribute collection object.
  4. You must always specify each of the attributes to be loaded on the model.

Question 17

Which one of the following class types directly charges a credit card when you capture an invoice in Magento admin?

  1. Order
  2. Payment
  3. Invoice
  4. payment_method

Question 18

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 row_total properties with the discounted price
  4. base_price_incl_tax and price_incl_tax properties with the discounted price

Question 19

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 20

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

  1. XmlRpc
  2. REST
  3. POST
  4. Open Social
  5. XQuery