M70-201 - Magento Certified Developer Plus Exam
Go back to Magento
Which three of the following conditions should exclude a quote item from the shipping rate calculation by a carrier model? (Choose three)
$quoteItem->getFreeShipping() == true
$quoteltem->getProduct()->isvirtual() == true
$quoteItem->isShipSeparately() && SquoteItem->getHasChildren()
What happens when you edit an existing order using the order management page?
The current order is canceled and a new order is created from scratch based on the current order's data.
Which entity collects the grand_total and base_grand_total that the different total models collect?
How can you update a third-party system with every new order created in Magento?
Create an observer in Magento on the sales_order_place_after event.
Which statement describes a model class that extends Mage_Core_Model_Abstract?
The model class consists of properties and methods for storing and manipulating data retrieved via separate resource classes responsible for database operations.
When the load method is called on an EAV-based data model, which of the following occurs before the load method returns?
walkAttributes is used to call afterLoad on the backend model of each loaded attribute that has one.
What is the xpath to the list of product types?
How does Magento store comments regarding different entities (invoice, credit memo, shipment)?
Comments to invoice, credit memo and shipment are different entities stored in the different tables.
Which one of the following API methods exists in Magento?
Assume that PayPal has presented a new API for online purchasing that you are going to use. Which class should you extend for doing that?
How can you make a payment method store entire credit card numbers?
Change the protected property of payment method $_canSaveCc to true.
Which three of the following statements accurately describe differences between EAV and Flat catalogs when accessing child categories of a category? (Choose three)
A different method must be used to get the child categories if flat catalog is enabled.
The type of the results differs between EAV and flat catalog.
Results contain more information for each child if flat catalog is disabled.
You want to filter a product collection so that it will return only SKUs 12 and 123. You will use a call to $collection->addFieldToFilter('sku', ______________ ); Two of the following arrays could be used to complete that call correctly. Which two? (Choose two)
array(array('eq' => 12), array('eq' => 123))
Which one of the following is responsible for sending a remote request to the payment service when capturing an order?
Two modules, Foo and Moo, both rewrite the catalog/product model, but only the Moo module's rewrite is being used. Both modules Foo and Moo reside in the community code pool. Which two approaches allow the functionality from both classes to be used? (Choose two)
Copy Moo_Model_Product to the local code pool and merge the logic from Foo_Model_Product into it.
Copy Moo_Model_Product to the local code pool and make it extend Foo_Model_Procluct, making sure the logic of both classes does not conflict.
Which model is responsible for calculating the taxes for the selected shipping rate?
To register a new API resource, what should you do?
Create etc/api.xml and register your resource in the api/resources node.
In which config areas are layout files declared? (Choose two)
Which method is called on a shipping carrier model to fetch a list of all available shipping methods, along with the rates associated with them, for a quote address?
Which module is responsible for Store Credit functionality in the native Magento?
Which table stores information about the relationship between configurable products and their child products?
Which of the following accurately describes the parent class of all EAV-based resource models?
What do you need to do to implement a completely new Web Service protocol in Magento?
Create your own adapter and controller.
For an attribute to be loaded on a catalog/product object, which two of the following conditions must be satisfied?
The eav_attribute table must contain a row defining the attribute's properties and its entity type.
The attribute must be part of the attribute set pertaining to the object being loaded.
Which one of the following xpaths is correct for replacing Mage_Customer_Model_Custom_Address via Mage::helper ('customer/address')?
The value of the config/placeholders/ [placeholder_id] /block node from the merged cache.xml configuration is used______________.
only as a human-readable attribute to the placeholder tags in full page cache records
Which of the following is a true statement about how Magento loads data for an EAV-based data model?
EAV-based data models use a different abstract resource class than other data models
Which file path correctly identifies the location of a module's install/upgrade scripts inside the primary module directory?
Which object never encapsulates any shopping cart items?
What event do Website Restrictions use to restrict access?
In which table could you find the order state?
Which one of the following classes does NOT exist in Magento?
Which of the following options would cause a poll/poll collection to load all entities that have been posted during April, 2011?
$collection->addFieldToFilter('date_posted', array('from' => '2011-04-01', 'to' => '2011-04-30') );
Which of the following is the default setup script class name?
Mage Core Model Resource Setup
What class does an adminhtml grid directly extend?
When setData (' some', 'value') is called on an EAV entity and the entity is saved to the database,
The 'value' of the attribute named ' some' is saved in one of the entity's tables depending on its datatype (for example, entityname_varchar)
The final price for the product on the product view page is__________.
calculated on-the-fly on php-level
What is the difference between the base grand total and grand total attributes of the order?
base_grand_total is in a base currency and grand_total is in the currency of the website where the order was submitted.
Which method is responsible for a full re-index in the abstract Magento indexer?
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?
For which two of the following composite products could the options be shipped separately on the frontend using "Checkout with multiple addresses"? (Choose two)
Bundle product consisting of physical products
Grouped product consisting of physical products
Which one of the following API protocols does native Magento support?
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
3, 2, 1
Which of the following actions will enable logging via calls to debugData() on a native Magento payment method model?
Set the config node default/payment/ [method code]/debug to 1
You want to implement a custom attribute source model. Which method do you have to implement after extending Mage_Eav_Model_Entity_Attribute_Source_Abstract?
Which table is used for calculating a new increment ID for an order?
You need to create a new condition rule type. Which two of the following classes would be suitable candidates for extending? (Choose two)
Which of the following allows you to render a custom form element using a template?
Create a custom renderer for the form element, and use an anonymous block to execute the template in it.
What can you do in order to render a picture in a specific cell in a grid?
Create a custom column renderer by extending Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
Which of the following items is NOT utilized in Magentos implementation of EAV-based data models?
A two-column cross-link table to associate attribute values with a corresponding entity