Magento eCommerce Test
Q1.
Which one of the following xpaths can be read using Mage::getStoreConfig(‘some/value’)?
• a. default/some/value
• b. global/default/some/value
• c. some/value
• d. stores/some/value
• e. some/value/default
Ans: c
Q2.
Assume you have three models A, B and C. Both A and B extend C. Assume C contains a method that you are going to change in both A and B. How can you change the method using Magento class rewrites.
• a. Rewrite class C using the xpath global/models/_MODULE_/rewrite/C
• b. Rewrite the method using the xpath global/models/_YOUR_MODULE_/rewrite/C/_METHOD_
• c. You must rewrite both A and B using the xpaths global/models/_MODULE_/rewrite/A and global/models/_MODULE_/rewrite/B
• d. You must change that method directly in C.
Ans: c
Q3.
In a fresh installation of native Magento, the email templates are stored in the _________________.
• a. email folder of the current theme
• b. app/design/email folder
• c. app/locale/_LOCALE_/template/email folder
• d. app/design/base/default/default/template/email folder
Ans: c
Q4.
Which TWO of the following classes exist in Magento?
• a. Catalog_Model_Product_Type_Composite
• b. Catalog_Model_Product_Type_Virtual
• c. Catalog_Model_Product_Type_Price
• d. Catalog_Model_Product_Type_Physical
• e. Catalog_Model_Product_Type_Index
Ans: b, c
Q5.
Which one of the following xpaths is correct for replacing Mage_Page_Block_Html_Head with Custom_Module_Block_Head via the block factory method?
• a. global/rewrite/blocks/page/html/head
• b. global/blocks/page/html_head
• c. global/blocks/rewrite/page/head
• d. global/blocks/page/rewrite/html_head
• e. global/page/blocks/rewrite/html_head
Ans: d
Q6.
Which of the following is called to apply taxes on the product view page?
• a. Mage_Tax_Helper_Data
• b. Mage_Tax_Model_Sales_Total_Quote_Tax
• c. Mage_Sales_Model_Quote_Address_Total_Tax
• d. Mage_Catalog_Model_Product_Type_Price
Ans: d
Q7.
Which THREE of the following are required for tier prices in Magento?
• a. Website
• b. Store
• c. Store View
• d. Customer
• e. Customer Group
• f. Quantity
Ans: a, e, f
Q8.
To be functional, a shipping carrier model must implement the methods of the ____ and ____ classes. (Choose TWO)
• a. Mage_Shipping_Model_Carrier
• b. Mage_Shipping_Model_Carrier_Abstract
• c. Mage_Shipping_Model_Shipping
• d. Mage_Shipping_Model_Rate_Request
• e. Mage_Shipping_Model_Carrier_Interface
Ans: b, e
Q9.
Which of the following does NOT return an instance of a helper object?
• a. Mage::app()->getLayout()->helper(‘customer’);
• b. Mage::helper(‘customer’);
• c. Mage::app()->helper(‘customer’);
• d. Mage::app()->getLayout()->createBlock(‘core/template’)
->helper(‘customer’);
Ans: d
Q10.
Which of the following module files is evaluated first?
• a. app/code/core/Mage/Api/etc/adminhtml.xml
• b. app/code/core/Mage/Api/etc/config.xml
• c. app/code/core/Mage/Api/etc/system.xml
• d. app/etc/modules/Mage_Api.xml
Ans: d
Q11.
Assuming a standard Magento installation, which property of every shipping carrier’s model points to that shipping carrier’s configuration?
• a. $_code
• b. $_id
• c. $_carrierCode
• d. $_carrier
Ans: a
Q12.
Which one of the following is a possible return value type of
Mage::getConfig()->getNode()?
• a. array
• b. integer
• c. object
• d. string
Ans: c
Q13.
Which THREE of the following locations in
app/code/local/Some/Module/ are configurable?
• a. Block/
• b. Helper/
• c. Model/
• d. controllers/
• e. etc/
Ans: a, b, c
Q14.
Which of the following will correctly translate the value of the label node?
• a.
• b.
• c.
• d.
Ans: b
Q15.
On quote address entities, the shipping_method property is composed of _______ and _______. (Choose TWO)
• a. carrier code
• b. store code
• c. carrier title
• d. method code
• e. customer group code
• f. website code
• g. method title
Ans: a, b
Q16.
Which of the following does NOT return an instance of a helper object?
• a.Mage::app()->getLayout()->helper(‘customer’);
• b.Mage::helper(‘customer’);
• c.Mage::app()->helper(‘customer’);
• d.Mage::app()->getLayout()->createBlock(‘core/template’) ->helper(‘customer’);
Ans: c
Q17.
Which one of the following xpaths is correct for replacing Mage_Page_Block_Html_Head with Custom_Module_Block_Head via the block factory method?
Possible answers:
a. global/rewrite/blocks/page/html/head
b. global/blocks/page/html_head
c. global/blocks/rewrite/page/head
d. global/blocks/page/rewrite/html_head
e. global/page/blocks/rewrite/html_head
Ans: d
Q18.
Which THREE of the following locations in app/code/local/Some/Module/ are configurable?
Possible answers:
• a. Block/
• b. Helper/
• c. Model/
• d. controllers/
• e. etc/
Ans: a, b, c
No comments:
Post a Comment