Vcehome > Magento > Magento Certified Developer > M70-101 > M70-101 Online Practice Questions and Answers

M70-101 Online Practice Questions and Answers

Questions 4

Which of the following methods will force an EAV resource collection model to include an attribute in its result set?

A. addAttributeToSelect ($attribute);

B. getResource ( ) ->addAttribute($attribute);

C. addFieldToSelect ($attribute);

D. getSelect ( )->from ( ' ', $attribute);

E. addAttributeToCollection ($attribute);

Browse 127 Q&As
Questions 5

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->getMethodInstance ( ); inside Mage_Sales_Model_Quote_Payment

D. $instance->setInfoInstance($this); inside Mage_Payment_Model_Info

Browse 127 Q&As
Questions 6

You want to replace the instance of Mage_Customer_Helper_Address returned by Mage::helper(`customer/address') with an instance of your own class.

Which one of the following xpaths would accomplish that?

A. global/ rewrite/ helpers/ rewrite/address

B. global/customer/helpers/address

C. global/helpers/ rewrite/ customer address

D. global/helpers/rewrite/customer/address

E. global/helpers/customer/rewrite/address

Browse 127 Q&As
Questions 7

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.

Browse 127 Q&As
Questions 8

Which of the following payment methods' payment actions creates an invoice during the "place order" step?

A. Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE

B. Mage_Payment_Model_Method_Abstract::ACTION_CAPTURE

C. Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE_CAPTURE

D. Mage_Payment_Model_Method_Abstract::ACTION_INVOICE

Browse 127 Q&As
Questions 9

Which one of the following code fragments will create a new table in Magento?

A. B. C. D.

Browse 127 Q&As
Questions 10

Which table is used for calculating a new increment ID for an order?

A. sales_flat_order_increment

B. eav_entity_store

C. core_increment

D. core_config_data

Browse 127 Q&As
Questions 11

What is the purpose of the configuration XML flag stored in g1obal/resource/connection/type/pdomysql/compatibleMode? (Choose TWO.)

A. If set to 0, then MySQL-specific SQL is used.

B. If set to 0, then only standard-compliant SQL is used.

C. If set to 0, then data structures compatible with OpenCommence Language are exported when using Data flow.

D. If set to 0, then all data structures are exported when using Dataflow.

E. If set to 1, then MySQL-specific SQL is used.

F. If set to 1, then only standard-compliant SQL is used.

G. If set to 1, then data structures compatible with OpenCommence Language are exported when using Data flow.

Browse 127 Q&As
Questions 12

You are creating a custom CMS module named Achme_Cms.

Which one of the following is the correct XML required to override a controller from the Mage_Cms module in your Achme_Cms module?

A. B. C. D.

Browse 127 Q&As
Questions 13

Which one of the following controller classes could respond to this URL?: http://example.com/modulename/controller/index

A. Namespace_ModuleName_IndexControllet

B. Namespace_ModuleName_Controller_ControllecInclex

C. Namespace_ModuleName_Controller_IndexController

D. Namespace_Modulename_ControllerController

Browse 127 Q&As
Exam Code: M70-101
Exam Name: Magento Certified Developer Exam
Last Update: May 06, 2024
Questions: 127 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99