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

M70-101 Online Practice Questions and Answers

Questions 4

What is the basic class/interface for every model observer class?

A. Mage_Model_Config_Observer

B. Mage_Core_Model_Event_Observer_Abstract

C. Mage_Core_Model_Event_Observer_Interface

D. There is no required inheritance.

E. Varien_Object

Browse 127 Q&As
Questions 5

Which three of the following object types will have a parent class found in the Mage_Eav module for the purposes of EAV data storage in Magento? (Choose three)

A. data model

B. data helper

C. resource model

D. resource collection

E. setup class

Browse 127 Q&As
Questions 6

Which one of the following classes must you extend in order to implement a custom indexer?

A. Mage_Eav_Model_Indexer_Abstract

B. Mage_Core_Model_lndexer_Abstract

C. Mage_Index_Model_Entity_Indexer_Abstract

D. Mage_Index_Model_Indexer_Abstract

Browse 127 Q&As
Questions 7

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)

A. Copy Foo_Model_Product to the local code pool.

B. Copy Moo_Model_Product to the local code pool and merge the logic from Foo_Model_Product into it.

C. Copy Moo_Model_Product to the local code pool and make it extend Foo_Model_Product, making sure the logic of both classes does not conflict.

D. Copy Moo_Model_Product to the local code pool.

E. Change the rewrite directive of the Moo module to rewrite foo/product instead of catalog/product.

Browse 127 Q&As
Questions 8

Which three of the following conditions should exclude a quote item from the shipping rate calculation by a carrier model? (Choose three)

A. $quoteItem->getFreeShipping ( ) = = true

B. $quoteItem->getProduct ( )->isVirtual ( ) = = true

C. $quoteItem->getweight ( ) > 0

D. $quoteItem->isShipSeparately ( ) andand SquoteItem->getHasChildren( )

E. $quoteItem( )->getQty ( )

Browse 127 Q&As
Questions 9

Given an EAV-based data model whose data is stored in the table foo_entity, in which table would you find the values for an attribute of the varchar type?

A. foo_entity_attribute_storage

B. foo_entity_varchar

C. entity_attribute_varchar

D. foo_entity

Browse 127 Q&As
Questions 10

When setData ('some', 'value') is called on an EAV entity and the entity is saved to the database, __________________.

A. the 'value' of the attribute named 'some' is saved in the eav_values table

B. the 'value' of the attribute named ' some' is saved in one of the entity's tables depending on its datatype (for example, entityname_varchar)

C. the data will be stored in the EAV registry making ' some' 'value' available to the entity

D. the 'value' of the attribute named 'some' is saved in the eav_attribute_values table

Browse 127 Q&As
Questions 11

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.

Browse 127 Q&As
Questions 12

Which table stores information about the relationship between configurable products and their child products?

A. catalog_product_link

B. catalog_product_super_link

C. catalog_product_option

D. catalog_product_relation

Browse 127 Q&As
Questions 13

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_f inal_idx table

D. calculated on-the-fly on php-level

E. pre-calculated in the products price attribute

Browse 127 Q&As
Questions 14

What type of Magento class is an API resource?

A. Controller

B. Helper

C. Model

D. Resource model

Browse 127 Q&As
Questions 15

Which of the following should you do in order to add another product attribute to the condition in a shopping cart price rule?

A. Mark the attribute as "Use for Promo Rule Conditions"on the attribute management page in the admin.

B. Override Mage SalesRule Model Rule Condition Product and modify the protected variable $_ruleAttributes.

C. Create an observer on the load sales rule product attributes event.

D. Add another child to the configuration node global/catalog/attributes_to_use_in_sales_rules.

Browse 127 Q&As
Questions 16

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

Browse 127 Q&As
Questions 17

Assume we have a table mage_acme/ and you want to add an index for two fields, A and B. Which one of the following code fragments can do that?

A. B. C. D. E.

Browse 127 Q&As
Questions 18

Which of the following will return an instance of a resource model? (Choose three)

A. Mage::getResourceModel ('customer/customer');

B. Mage::getResourceSingleton ('customer/customer');

C. Mage::getModel ('customer/customer') ->getResource ( );

D. Mage::getResourceModel ('customer/customer')->getInstance ( );

E. Mage::getModel ('customer/customer') ->getResourceModel ( );

F. Mage::getResourceModel ('customer/customer') ->getResource( );

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

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99