Magento Certified Developer Plus v1.0 (M70-201)

Page:    1 / 9   
Total 136 questions

Which statement describes a model class that extends Mage_Core_Model_Abstract?

  • A. The model class consists of properties and methods for storing and manipulating data retrieved via separate resource classes responsible for database operations.
  • B. The model class is responsible for loading the frontend layout templates and responding to page requests via its Action methods (for example, indexAction).
  • C. The model class does not encapsulate any logic except for logic providing access to the data loaded from the database.
  • D. The model class is primarily responsible for direct query operations such as retrieving and storing data and then rendering that data to the frontend view.


Answer : A

Which one of the following is responsible for sending a remote request to the payment service when capturing an order?

  • A. Payment Info
  • B. Order Payment
  • C. Payment Method
  • D. Invoice


Answer : C

Which of the following lines includes a payment method object?

  • A. $quote->getShippingAddress()->setPaymentMethod(isset($data['method']) ? $data['method'] : null); inside Mage_Checkout_Model_Type_Onepage
  • B. .public function setPayment(Mage_Sales_Model_Quote_Payment $payment) inside Mage_Sales_Model_Quote
  • C. $method = $this->getMethodlnstance(); inside Mage_Sales_Model_Quote_Payment
  • D. $instance->set!nfoInstance($this); inside Mage_Payment_Model_Info


Answer : C

Which class is extended to render a dropdown in admin forms?

  • A. Mage_Adminhtml_Block_Widget
  • B. Mage_Core_Block_Abstract
  • C. Mage_Adminhtml_Block_Abstract
  • D. Mage_Adminhtml_Block_Template
  • E. Varien Data Form Abstract


Answer : E

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

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


Answer : B

Which class should you refer to in order to troubleshoot Website restriction issues?

  • A. Enterprise_WebsiteRestrictions_Model_Restriction
  • B. Enterprise_WebsiteRestrictions_Helper_Data
  • C. Enterprise_WebsiteRestrictions_Model_Mysql4_Restriction
  • D. Enterprise_WebsiteRestrictions_Model_Observer


Answer : D

Which of the following options would cause a poll/poll collection to load all entities that have been posted during April, 2011?

  • A. $collection->addAttributeToFilter('date_posted', array('from' => '2011-04-01', 'to' => '2011-04-30') );\
  • B. $collection->addFieldToFilter('date_posted', array('from' => '2011-04-01', 'to' => '2011-04-30') );
  • C. $collection->addPostDateFilter('2011-04-01', '2011-04-30');
  • D. $collection->addFieldToSelect(('date_posted', arrayCfrom' => '2011-04-01', 'to' => '2011-04-30') );


Answer : B

Given a grid interface that extends from Mage_Adminhtml_Block_Widget_Grid, which of the following methods could you override to allow data to be loaded from a custom data collection?

  • A. _prepareDataModel
  • B. _prepareCollection
  • C. _initDataModel
  • D. _initGrid


Answer : B

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


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


Answer : A

How can you make a payment method store entire credit card numbers?

  • A. For security reasons, there are no native ways for doing that.
  • B. Pass the credit card number to the payment method: it will be stored automatically.
  • C. Change the protected property of payment method $_canSaveCc to true.
  • D. Configure your method to save the card number by setting 1 to the following xpath: default/payment/_NAME_/save_cc


Answer : C

The final price for the product on the product view page is__________.

  • A. taken from the catalog_product_index_price table
  • B. taken from the catalog_product_index_price_idx table
  • C. taken from the catalog_product_index_price_final_idx table
  • D. calculated on-the-fly on php-level
  • E. pre-calculated in the products price attribute


Answer : D

Which of the following items is NOT utilized in Magentos implementation of EAV-based data models?

  • A. An entity table for storing the entities' basic information
  • B. One or more tables to store the entities' associated pieces of information
  • C. A two-column cross-link table to associate attribute values with a corresponding entity
  • D. Foreign keys on each relevant table to connect relevant pieces of information at the database level
  • E. An attribute table that defines what data (and of what type) may be stored on a particular entity


Answer : C

What is the difference between the base grand total and grand total attributes of the order?

  • A. base_grand_total is a grand total before tax is applied; grand_total is the grand total after tax is applied.
  • B. base_grand_total is the grand total at the moment of order submission; grand_total is the grand total at the moment of order closing.
  • C. base_grand_total is the grand total in the currency of the store where the order was submitted; grand_total is in US dollars always.
  • D. base_grand_total is in a base currency and grand_total is in the currency of the website where the order was submitted.


Answer : D

You have a product collection and want to add a filter to get all products whose name starts with Test or whose price is 0.00.
Which of the following statements would add that OR condition?


  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D


Answer : A

When the Magento configuration is being loaded, all the XML files in app/etc and the module registration files under app/etc/modules/ are loaded first. After that step, in which order are the following items loaded?
1. Configuration from the core_config_data DB table
2. app/etc/local.xml
3. The etc/config.xml of all active modules

  • A. 1, 3, 2
  • B. 3, 1, 2
  • C. 3, 2, 1
  • D. 1, 2, 3


Answer : C

Page:    1 / 9   
Total 136 questions