Certbus > Magento > Magento Certifications > M70-101 > M70-101 Online Practice Questions and Answers

M70-101 Online Practice Questions and Answers

Questions 4

Assume that:

$product is a loaded instance of Mage_Catalog_Model_Product/. Catalog Price Scope is set to global, and

$customerGroupid contains a valid customer group ID.

Which one of the following statements will correctly set new group prices?

A. B. C. D.

Browse 127 Q&As
Questions 5

What does Magento use to determine whether the automatically run upgrade scripts have been run yet?

A. The modification date on the modules' etc/config.xml file

B. The version number (or lack thereof) stored in the core_module_version table

C. The version number (or lack thereof) stored in the core_resource table

D. A comparison of the resources that are capable of successfully loading

Browse 127 Q&As
Questions 6

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)

A. array ('sku' => 12, 'sku' => 123)

B. array (array ('eq' => 12), array ('eq' => 123) )

C. array (12 => true, 123 => true)'

D. array (12, 123)

E. array (array ('int' => 12), array ('int' => 123) )

Browse 127 Q&As
Questions 7

You want to display a grid for a custom collection. After extending Mage_Adminhtml_Block_widget_Grid, which two of these methods should you implement? (Choose two)

A. _getCollection ( )

B. _prepareCollection ( )

C. _prepareColumns ( )

D. toHtml ( )

E. render ( )

Browse 127 Q&As
Questions 8

Which four of these xml elements are used in system.xml to configure a system configuration property? (Choose four)

A. backend_model

B. admin_model

C. frontend_model

D. source_model

E. source_type

F. show_in_store

Browse 127 Q&As
Questions 9

Which of the following will NOT generate a