Deck 2: Magento Certified Developer Plus
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/69
العب
ملء الشاشة (f)
Deck 2: Magento Certified Developer Plus
1
In which of the following integrations should you use the Magento API?
A) to send a SOAP request from Magento to a third-party system
B) to receive a SOAP request from a third-party system to Magento
C) to send or receive SOAP requests in Magento
D) to provide tracking on the order success page
A) to send a SOAP request from Magento to a third-party system
B) to receive a SOAP request from a third-party system to Magento
C) to send or receive SOAP requests in Magento
D) to provide tracking on the order success page
to receive a SOAP request from a third-party system to Magento
2
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
A) sales_flat_order_increment
B) eav_entity_store
C) core_increment
D) core_config_data
eav_entity_store
3
What type of Magento class is an API resource?
A) Controller
B) Helper
C) Model
D) Resource model
A) Controller
B) Helper
C) Model
D) Resource model
Model
4
Which one of the following API methods exists in Magento?
A) catalog_category.save
B) catalog_product,items
C) catalog_product_attribute_set.update
D) catalog_product.info
A) catalog_category.save
B) catalog_product,items
C) catalog_product_attribute_set.update
D) catalog_product.info
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
5
When $ this ->load Layout (' foo_bar_baz') is called in a standard front action, what is the effect on the layout update object instance?
A) foo_bar_baz will be the only handle added
B) loadLayout () does not take any arguments, so there is no effect
C) Only two handles will be added: foo_bar_baz and default
D) Foo_bar_baz will be added instead of the default handle
A) foo_bar_baz will be the only handle added
B) loadLayout () does not take any arguments, so there is no effect
C) Only two handles will be added: foo_bar_baz and default
D) Foo_bar_baz will be added instead of the default handle
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
6
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?
A) collectShippingRates()
B) getAllowedMethodsO
C) getShippingRates()
D) getAvailableRates()
E) collectRates()
A) collectShippingRates()
B) getAllowedMethodsO
C) getShippingRates()
D) getAvailableRates()
E) collectRates()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which of the following layout XML directives will set a value on a block? 
A) Option A
B) Option B
C) Option C
D) Option D

A) Option A
B) Option B
C) Option C
D) Option D
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which module is responsible for Store Credit functionality in the native Magento?
A) Enterprise/StoreCredit
B) Enterprise/CustomerBalance
C) Enterprise/Sales
D) Enterprise/Customer
A) Enterprise/StoreCredit
B) Enterprise/CustomerBalance
C) Enterprise/Sales
D) Enterprise/Customer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
9
In which table could you find the order state?
A) sales_flat_order
B) sales_flat_order_state
C) sales_flat_order_status
D) sales_flat_order_status_history
A) sales_flat_order
B) sales_flat_order_state
C) sales_flat_order_status
D) sales_flat_order_status_history
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
10
With which three kinds of product relations do Magento Catalog Target Rules deal? (Choose three)
A) The relations between a configurable product and its child products
B) The relations between a bundle product and its child products
C) The relations among products linked as cross-sell products
D) The relations between a product and its custom options
E) The relations among products linked as related products
F) The relations among products linked as upsell products
A) The relations between a configurable product and its child products
B) The relations between a bundle product and its child products
C) The relations among products linked as cross-sell products
D) The relations between a product and its custom options
E) The relations among products linked as related products
F) The relations among products linked as upsell products
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
11
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 T some' is saved in the eav attribute values table
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 T some' is saved in the eav attribute values table
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
12
You need to override the default value for the expiry calculation for reward points used by the Reward Points module. Which of the following XML fragments should you use in your modules config.xml?
A) default/enterprise_reward/general/expiry_calculation with a value of static
B) default/enterprise_reward/general/expiry with a value of static
C) default/reward_points/general/expiry_calculation with a value of static
D) default/enterprise_reward/expiry_calculation with a value of static
A) default/enterprise_reward/general/expiry_calculation with a value of static
B) default/enterprise_reward/general/expiry with a value of static
C) default/reward_points/general/expiry_calculation with a value of static
D) default/enterprise_reward/expiry_calculation with a value of static
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which one of the following EAV attribute types may be used for layered navigation in native Magento?
A) Varchar
B) Enum
C) Option
D) Union
A) Varchar
B) Enum
C) Option
D) Union
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following block methods is the best to override when there is a need to customize how the block's html is rendered?
A) _toHtml()
B) toHtmlO
C) setLayout ()
D) renderLayout ()
A) _toHtml()
B) toHtmlO
C) setLayout ()
D) renderLayout ()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which three of the following conditions are used to protect an admin route via ACL? (Choose three)
A) You have defined an ACL in your module configuration
B) At least one admin role must have permission for that route
C) You have extended the controller from Mage_Adminhtml_Controller_Action
D) You have defined a method _is Allowed which checks the permission
E) The route name must start with admin
A) You have defined an ACL in your module configuration
B) At least one admin role must have permission for that route
C) You have extended the controller from Mage_Adminhtml_Controller_Action
D) You have defined a method _is Allowed which checks the permission
E) The route name must start with admin
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
16
Which one of the following xpaths is correct for replacing Mage_Customer_Model_Custom_Address via Mage::helper ('customer/address')?
A) Global/customer/helpers/address
B) Global/rewrite/helpers/rewrite/address
C) Global/helpers/customer/rewrite/address
D) Global/helpers/rewrite/customer_address
E) Global/helpers/rewrite/customer/address
A) Global/customer/helpers/address
B) Global/rewrite/helpers/rewrite/address
C) Global/helpers/customer/rewrite/address
D) Global/helpers/rewrite/customer_address
E) Global/helpers/rewrite/customer/address
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
17
To implement a standard Adminhtml form for a custom data model, which two of the following must you do? (Choose two)
A) Declare your module's block class prefix in the config.xml file.
B) Implement a sub-class of Mage_Adminhtml_Block_Widget_Form.
C) Implement a sub-class of Mage_Adminhtml_Block_Form_Abstract.
D) Create sub-classes of Mage_Adminhtml_Block_Form_Element_Abstract for each form field to be presented.
E) Add a set of configuration values in the module's config-xml defining the form fields to be displayed.
A) Declare your module's block class prefix in the config.xml file.
B) Implement a sub-class of Mage_Adminhtml_Block_Widget_Form.
C) Implement a sub-class of Mage_Adminhtml_Block_Form_Abstract.
D) Create sub-classes of Mage_Adminhtml_Block_Form_Element_Abstract for each form field to be presented.
E) Add a set of configuration values in the module's config-xml defining the form fields to be displayed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
18
What is the purpose of Catalog Target rules?
A) To extend Catalog Price Rules to be used for related products.
B) To provide a mechanism for rendering a list of additional products on the product page.
C) To provide a mechanism for rendering a list of custom product options.
D) To provide a mechanism for easier selection options for configurable products.
A) To extend Catalog Price Rules to be used for related products.
B) To provide a mechanism for rendering a list of additional products on the product page.
C) To provide a mechanism for rendering a list of custom product options.
D) To provide a mechanism for easier selection options for configurable products.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
19
When the load method is called on an EAV-based data model, which of the following occurs before the load method returns?
A) walkAttributes is used to call load on the backend model of each attribute to load its corresponding value.
B) _afterLoad is called on the source model of each loaded attribute that has one.
C) walkAttributes is used to call afterLoad on the backend model of each loaded attribute that has one.
D) walkAttributes is used to iterate over each attribute and load its data from the correct table on the database.
A) walkAttributes is used to call load on the backend model of each attribute to load its corresponding value.
B) _afterLoad is called on the source model of each loaded attribute that has one.
C) walkAttributes is used to call afterLoad on the backend model of each loaded attribute that has one.
D) walkAttributes is used to iterate over each attribute and load its data from the correct table on the database.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
20
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?
A) Mage_Sales_Model_Quote_Payment
B) Mage_Payment_Model_lnfo
C) Mage_Payment_Model_Method_Abstract
D) Mage_Sales_Model_Order_Payment
A) Mage_Sales_Model_Quote_Payment
B) Mage_Payment_Model_lnfo
C) Mage_Payment_Model_Method_Abstract
D) Mage_Sales_Model_Order_Payment
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
21
How are "Rule-based related products" added to the shopping cart when you check their checkbox together with the checkbox for the basic product?
A) As the basic product's custom options
B) Separately from the basic product
C) As the basic product's configuration options
D) As a single grouped product
A) As the basic product's custom options
B) Separately from the basic product
C) As the basic product's configuration options
D) As a single grouped product
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
22
Custom widgets must _____________.
A) Extend Varien_Object
B) Extend Mage_core_Block_Abstract
C) Extend Mage_Core_Block_Template
D) Implement Mage_Widget_Block_Interf ace
E) Implement Mage_widget_Block_lnterface and extend Mage_Core_Block_Abstract
A) Extend Varien_Object
B) Extend Mage_core_Block_Abstract
C) Extend Mage_Core_Block_Template
D) Implement Mage_Widget_Block_Interf ace
E) Implement Mage_widget_Block_lnterface and extend Mage_Core_Block_Abstract
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
23
Which two EAV attribute fcontend_input types make use of source models?
A) Text
B) Textarea
C) Select
D) multiselect
E) Date
F) Gallery
A) Text
B) Textarea
C) Select
D) multiselect
E) Date
F) Gallery
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
24
Which of the following will cause the javascript file at [magento root] /skin/frontend///js/some.js to be added to the output of the standard Magento page/html_head block? ![<strong>Which of the following will cause the javascript file at [magento root] /skin/frontend/<package>/<theme>/js/some.js to be added to the output of the standard Magento page/html_head block? </strong> A) Option A B) Option B C) Option C D) Option D](https://d2lvgg3v3hfg70.cloudfront.net/C1622/11ec4ac7_8f52_fa75_89e5_1720744615ff_C1622_00.jpg)
A) Option A
B) Option B
C) Option C
D) Option D
![<strong>Which of the following will cause the javascript file at [magento root] /skin/frontend/<package>/<theme>/js/some.js to be added to the output of the standard Magento page/html_head block? </strong> A) Option A B) Option B C) Option C D) Option D](https://d2lvgg3v3hfg70.cloudfront.net/C1622/11ec4ac7_8f52_fa75_89e5_1720744615ff_C1622_00.jpg)
A) Option A
B) Option B
C) Option C
D) Option D
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
25
At what point in the grid preparation and rendering process is the collection containing the data for the grid prepared for loading?
A) Immediately after the grid block is instantiated
B) Immediately before the grid's rendered HTML is sent to the browser
C) Prior to the grid being rendered, inside of _beforeToHtml
D) When the _construct method is called on the grid block
A) Immediately after the grid block is instantiated
B) Immediately before the grid's rendered HTML is sent to the browser
C) Prior to the grid being rendered, inside of _beforeToHtml
D) When the _construct method is called on the grid block
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
26
Which of the following accurately describes the parent class of all EAV-based resource models?
A) Mage_Eav_Model_Mysq14_Abstract
B) Mage_Core_Model_Mysq14_Abstract
C) Mage_Eav_Model_Abstract
D) Mage_Eav_Model_Entity_Abstract
A) Mage_Eav_Model_Mysq14_Abstract
B) Mage_Core_Model_Mysq14_Abstract
C) Mage_Eav_Model_Abstract
D) Mage_Eav_Model_Entity_Abstract
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
27
You have a product collection and want to add a filter to get all products whose name starts with Test or whose price is 0.00. Which of the following statements would add that OR condition? 
A) Option A
B) Option B
C) Option C
D) Option D

A) Option A
B) Option B
C) Option C
D) Option D
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
28
What do you need to do to implement a completely new Web Service protocol in Magento?
A) Create your own adapter and controller.
B) Create your own API resource.
C) Create a new API helper.
D) Create a new model extended from Mage_Api_Model_Abstract.
A) Create your own adapter and controller.
B) Create your own API resource.
C) Create a new API helper.
D) Create a new model extended from Mage_Api_Model_Abstract.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
29
Assume you added a product with custom options to the shopping cart. Where will the data for the custom options be stored persistently?
A) in the sales_flat_quote table, as a serialized string in a text field
B) in the session, as a serialized array
C) in a separate table, sales_flat_quote_item_option
D) Magento doesn't store persistent data about custom options; only the new price and new SKU are stored.
A) in the sales_flat_quote table, as a serialized string in a text field
B) in the session, as a serialized array
C) in a separate table, sales_flat_quote_item_option
D) Magento doesn't store persistent data about custom options; only the new price and new SKU are stored.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
30
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_Controllerlndex
C) Namespace_ModuleName_Controller_lndexController
D) NamespacG_Modulename_ControllerController
A) Namespace_ModuleName_IndexControllet:
B) Namespace_ModuleName_Controller_Controllerlndex
C) Namespace_ModuleName_Controller_lndexController
D) NamespacG_Modulename_ControllerController
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
31
You need to create a new condition rule type. Which two of the following classes would be suitable candidates for extending? (Choose two)
A) Mage_CatalogRule_Model_Rule_Condition_Product
B) Enterprise_CatalogRule_Model_Rule_Condition_Product
C) Enterprise_TargetRule_Model_Rule_Condition_Product_Attributes
D) Mage_TargetRule_Model_Rule_Condition_Product_Attributes
E) Enterprise_TargetRule_Model_Rule_Condition_Rule
A) Mage_CatalogRule_Model_Rule_Condition_Product
B) Enterprise_CatalogRule_Model_Rule_Condition_Product
C) Enterprise_TargetRule_Model_Rule_Condition_Product_Attributes
D) Mage_TargetRule_Model_Rule_Condition_Product_Attributes
E) Enterprise_TargetRule_Model_Rule_Condition_Rule
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
32
Which of the following methods exists in the Mage_Sales_Model_Quote_Address class?
A) getAllNonNominalItems()
B) importShippingAddress()
C) hasRecurringltems()
D) collect()
A) getAllNonNominalItems()
B) importShippingAddress()
C) hasRecurringltems()
D) collect()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
33
A customer has complained that his reward points sum is inaccurate. In order to debug what has happened and to discover when changes were made to his reward points, where should you look for logging information?
A) Database table enterprise_reward_history
B) Database table enterprise_reward
C) Log file var/log/system.log
D) Database table enterprise_rewai:d_log
A) Database table enterprise_reward_history
B) Database table enterprise_reward
C) Log file var/log/system.log
D) Database table enterprise_rewai:d_log
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
34
Which one of the folbwing classes must you extend in order to implement a custom indexer?
A) Mage_Eav_Model_Indexet:_Abstract
B) Mage_Cotre_Model_lndexeir_Abstract
C) Mage_Index_Model_Entity_Indexer_Abstract
D) Mage_Index_Model_Indexer_Abstract
A) Mage_Eav_Model_Indexet:_Abstract
B) Mage_Cotre_Model_lndexeir_Abstract
C) Mage_Index_Model_Entity_Indexer_Abstract
D) Mage_Index_Model_Indexer_Abstract
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
35
Which of the following elements does NOT exist in system configuration xml (system, xml file)?
A) frontend_type
B) frontend_class
C) frontend_model
D) frontend_block
A) frontend_type
B) frontend_class
C) frontend_model
D) frontend_block
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
36
Which file path correctly identifies the location of a module's install/upgrade scripts inside the primary module directory?
A) sql//
B) var/scripts/
C) scripts/
D)/
A) sql/
B) var/scripts/
C) scripts/
D)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
37
Among other directives, your module's layout xml file contains the following code:
But using the template path hints, you can see that a template custom/product/view.phtml is used instead of your template. Which THREE of the following options can be causing the issue? (Choose three)
A) Another module, which is loaded later, calls setTemplate () again on the same block.
B) Your template file my/product/view, phtml cannot be found in the current theme.
C) Another module is rewriting the catalog/product_view block to change the template in the method _beforeToHtml().
D) Your layout xml file is not found within the theme fallback directories.
E) Another module is rewriting the catalog/productjview block to change the template in the method construct().

A) Another module, which is loaded later, calls setTemplate () again on the same block.
B) Your template file my/product/view, phtml cannot be found in the current theme.
C) Another module is rewriting the catalog/product_view block to change the template in the method _beforeToHtml().
D) Your layout xml file is not found within the theme fallback directories.
E) Another module is rewriting the catalog/productjview block to change the template in the method construct().
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
38
Which of the following could be used to pass an object to a block method?
A) option method=nsetFoo">
B)
C)
D) It is not possible to pass an object to a block method via layout XML.
A) option method=nsetFoo">
B)
C)
D) It is not possible to pass an object to a block method via layout XML.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
39
What can you do in order to render a picture in a specific cell in a grid?
A) Create a custom cell renderer by extending Mage_Adminhtml_Block_Widget_Grid_Cell_Renderer_Abstract
B) Create a custom grid renderer by extending Mage_Adminhtml_Block_Widget_Grid_Renderer_Abstract
C) Create a custom column renderer by extending Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
D) Create a custom row renderer by extending Mage_Adminhtml_Block_Widget_Grid_Row_Renderer_Abstract
A) Create a custom cell renderer by extending Mage_Adminhtml_Block_Widget_Grid_Cell_Renderer_Abstract
B) Create a custom grid renderer by extending Mage_Adminhtml_Block_Widget_Grid_Renderer_Abstract
C) Create a custom column renderer by extending Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
D) Create a custom row renderer by extending Mage_Adminhtml_Block_Widget_Grid_Row_Renderer_Abstract
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
40
In which order are the following methods executed after Mage_core_Model_Abstract:: save () is called? 1 - Mage_Core_Model_Abstract::_beforeSave() 2 - Mage_Core_Model_Abstract::_afterSave() 3 - Mage_Core_Model_Mysql4_Abstract::_beforeSave() 4 - Mage_Core_Model_Mysql4_Abstract::_afterSave() 5 - Mage_Core_Model Abstract::afterCommitCallback()
A) 1, 2, 3, 4, 5
B) 1, 3, 2, 4, 5
C) 1, 3, 4, 2, 5
D) 3, 1, 4, 2, 5
A) 1, 2, 3, 4, 5
B) 1, 3, 2, 4, 5
C) 1, 3, 4, 2, 5
D) 3, 1, 4, 2, 5
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
41
The value of the config/placeholders/ [placeholder_id] /block node from the merged cache.xml configuration is used______________.
A) only as a human-readable attribute to the placeholder tags in full page cache records
B) to fetch the cache lifetime for the full page cache entry from the correct block instance
C) to build the unique cache id for full page cache records
D) to map a block instance to the corresponding placeholder configuration while saving a full page cache entry
A) only as a human-readable attribute to the placeholder tags in full page cache records
B) to fetch the cache lifetime for the full page cache entry from the correct block instance
C) to build the unique cache id for full page cache records
D) to map a block instance to the corresponding placeholder configuration while saving a full page cache entry
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
42
Which two of the following will return an instance of a block object? (Choose two)
A) Mage::getBlock('page/html_header');
B) Mage::app()->createBlock('page/html_header');
C) Mage::createBlock('page/html_header');
D) Mage::app()->getLayout()->createBlock('page/html_header');
E) Mage::getLayout()->createBlock('page/html_header');
F) Mage::app()->getLayout()->createBlock('page/html_header')->setTemplate('page/html/header=phtml');
A) Mage::getBlock('page/html_header');
B) Mage::app()->createBlock('page/html_header');
C) Mage::createBlock('page/html_header');
D) Mage::app()->getLayout()->createBlock('page/html_header');
E) Mage::getLayout()->createBlock('page/html_header');
F) Mage::app()->getLayout()->createBlock('page/html_header')->setTemplate('page/html/header=phtml');
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
43
Which of the following node names may be used inside the setup resource declaration to utilize a custom setup class?
A) resourceModel
B) resourceClass
C) setupClass
D) class
A) resourceModel
B) resourceClass
C) setupClass
D) class
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
44
You need to implement private sales utilizing Website Restrictions as provided by the Enterprise Edition of Magento, and when customers are not logged in, you want them to be redirected to a landing page. Where in the Magento admin would you find the settings needed for this task?
A) System -> Configuration -> Enterprise -> Website Restrictions
B) System -> Configuration -> General -> Website Restrictions
C) System -> Manage Stores -> Edit Website
D) System -> Permissions -> Website Restrictions
A) System -> Configuration -> Enterprise -> Website Restrictions
B) System -> Configuration -> General -> Website Restrictions
C) System -> Manage Stores -> Edit Website
D) System -> Permissions -> Website Restrictions
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
45
In order to successfully register and configure a new entity capable of being saved and loaded from the database, you must create a model and which three of the following? (Choose three)
A) collection class
B) Configuration settings in your module's config.xrnl
C) An entry in Mage:: $_registry
D) A record in the eav_entity table
E) A resource model
F) A table in the database that will store the entity's data
A) collection class
B) Configuration settings in your module's config.xrnl
C) An entry in Mage:: $_registry
D) A record in the eav_entity table
E) A resource model
F) A table in the database that will store the entity's data
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
46
Which of the following allows you to save a single attribute value on an EAV entity?
A) $model->saveAttribute($attributeCode);
B) $model->save(SattributeCode);
C) $model->getResource()->saveAttribute($model, SattributeCode);
D) $model->getResource()->save($model, $attributeCode);
A) $model->saveAttribute($attributeCode);
B) $model->save(SattributeCode);
C) $model->getResource()->saveAttribute($model, SattributeCode);
D) $model->getResource()->save($model, $attributeCode);
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
47
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) toHtmlO
E) render()
A) _getCollection()
B) _prepareCollection()
C) _prepareColumns()
D) toHtmlO
E) render()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
48
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) $quoteltem->getProduct()->isvirtual() == true
C) $quoteltem->getweight() > 0
D) $quoteItem->isShipSeparately() && SquoteItem->getHasChildren()
E) $quoteItem()->getQty() < Mage::getStoreConfig('carriers/tablerate/min_shipping_qty')
A) $quoteItem->getFreeShipping() == true
B) $quoteltem->getProduct()->isvirtual() == true
C) $quoteltem->getweight() > 0
D) $quoteItem->isShipSeparately() && SquoteItem->getHasChildren()
E) $quoteItem()->getQty() < Mage::getStoreConfig('carriers/tablerate/min_shipping_qty')
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
49
How can reward points be converted to a discount on checkout?
A) One reward point equals one dollar, and is then converted to the websites currency using native currency rates.
B) One reward point equals one unit of the website's currency.
C) You can specify your own conversion rate in the admin area.
D) For making a product purchasable in reward points, you can specify a "reward point price" for each product.
A) One reward point equals one dollar, and is then converted to the websites currency using native currency rates.
B) One reward point equals one unit of the website's currency.
C) You can specify your own conversion rate in the admin area.
D) For making a product purchasable in reward points, you can specify a "reward point price" for each product.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
50
Which two of the following methods can be used to load an entity's data from its configured data table? (Choose two)
A) $entityModel->loadEntity($id)
B) $entityModel->load($attributeValue, $attributeCode)
C) $entityModel->loadById($id)
D) $entityModel->loadEntity($attributeCode, $attributeValue)
E) $entityModel->load($id)
A) $entityModel->loadEntity($id)
B) $entityModel->load($attributeValue, $attributeCode)
C) $entityModel->loadById($id)
D) $entityModel->loadEntity($attributeCode, $attributeValue)
E) $entityModel->load($id)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
51
Which three of the following statements accurately describe differences between EAV and Flat catalogs when accessing child categories of a category? (Choose three)
A) A different method must be used to get the child categories if flat catalog is enabled.
B) The type of the results differs between EAV and flat catalog.
C) Results also include children of children if flat catalog is enabled.
D) Results contain more information for each child if flat catalog is disabled.
E) The children's IDs of EAV and Flat tables are different.
A) A different method must be used to get the child categories if flat catalog is enabled.
B) The type of the results differs between EAV and flat catalog.
C) Results also include children of children if flat catalog is enabled.
D) Results contain more information for each child if flat catalog is disabled.
E) The children's IDs of EAV and Flat tables are different.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
52
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) Option A
B) Option B
C) Option C
D) Option D

A) Option A
B) Option B
C) Option C
D) Option D
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
53
How is the sort order in which total models collect their values specified?
A) The sort order is specified in the admin configuration under Sales > "Checkout Totals Sort Order".
B) The sort order is specified in the system configuration under global/sales/quote/totals/ [total_code] withand nodes.
C) The sort order is defined by the module loading order as specified by the children of the modules/ [module_name]/depends configuration node.
D) The sort order is specified by the collect method in each total model.
A) The sort order is specified in the admin configuration under Sales > "Checkout Totals Sort Order".
B) The sort order is specified in the system configuration under global/sales/quote/totals/ [total_code] with
C) The sort order is defined by the module loading order as specified by the children of the modules/ [module_name]/depends configuration node.
D) The sort order is specified by the collect method in each total model.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
54
Which entity collects the grand_total and base_grand_total that the different total models collect?
A) Sales/quote
B) Sales/quote_address
C) Sales/order
D) Checkout/cart
A) Sales/quote
B) Sales/quote_address
C) Sales/order
D) Checkout/cart
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
55
Which two of the following parameters are necessary to define a usable massaction item? (Choose two)
A) label
B) value
C) additional
D) url
E) confirm
A) label
B) value
C) additional
D) url
E) confirm
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
56
A customer bought two items but wants to cancel one. Which option enables the administrator of the site to edit the quantity while the invoice is being captured in the admin area?
A) In the System Configuration, under the Sales section, set "Allow partial invoice" to "true".
B) In the payment method, set the $_canCapturePartial protected variable to true.
C) There are no native ways to do this; override the sales/order/invoice/view/items .phtml template.
D) In the configuration node, set default/payment/ {METHOD_NAME}/allow_partial_invoice to 1.
A) In the System Configuration, under the Sales section, set "Allow partial invoice" to "true".
B) In the payment method, set the $_canCapturePartial protected variable to true.
C) There are no native ways to do this; override the sales/order/invoice/view/items .phtml template.
D) In the configuration node, set default/payment/ {METHOD_NAME}/allow_partial_invoice to 1.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
57
You want to define a list of quote object attributes that are copied to the order object when an order is placed. Which one of the following statements is true?
A) You can define this list by modifying the list of elements found in the configuration with the xpath global/fieldsets/sales_convert_quote.
B) You can define this list by modifying the list of elements found in the configuration with the xpath
C) global/sales/quote/item/product_attributes.
D) You can define this list by checking the checkbox on the attribute edit page in the admin.
E) You cannot modify the list of fields copied from quote to order because the process is hardcoded.
A) You can define this list by modifying the list of elements found in the configuration with the xpath global/fieldsets/sales_convert_quote.
B) You can define this list by modifying the list of elements found in the configuration with the xpath
C) global/sales/quote/item/product_attributes.
D) You can define this list by checking the checkbox on the attribute edit page in the admin.
E) You cannot modify the list of fields copied from quote to order because the process is hardcoded.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
58
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?
A) getOptionText()
B) getAHOptions ()
C) getOptionHash()
D) getOptionld()
A) getOptionText()
B) getAHOptions ()
C) getOptionHash()
D) getOptionld()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
59
How does Magento store comments regarding different entities (invoice, credit memo, shipment)?
A) Each comment is a separate entity with a type attribute which identifies the owner of the comment. All comments are stored in one sales_comment table.
B) Comments to invoice, credit memo and shipment are different entities stored in the different tables.
C) All comments belong directly to the order, and are stored in the sales_flat_order_comments table.
D) Each comment is an attribute of the appropriate entity (invoice, credit memo, shipment).
A) Each comment is a separate entity with a type attribute which identifies the owner of the comment. All comments are stored in one sales_comment table.
B) Comments to invoice, credit memo and shipment are different entities stored in the different tables.
C) All comments belong directly to the order, and are stored in the sales_flat_order_comments table.
D) Each comment is an attribute of the appropriate entity (invoice, credit memo, shipment).
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
60
For an attribute to be loaded on a catalog/product object, which two of the following conditions must be satisfied?
A) The eav_attribute table must contain a row defining the attribute's properties and its entity type.
B) The attribute must have a backend model configured in the XML config.
C) The attribute must be part of the attribute set pertaining to the object being loaded.
D) There must be a record of the attribute on the catalog_product_super_atti:ibute table,
E) There must be a column added to the catalog_product_entity table.
A) The eav_attribute table must contain a row defining the attribute's properties and its entity type.
B) The attribute must have a backend model configured in the XML config.
C) The attribute must be part of the attribute set pertaining to the object being loaded.
D) There must be a record of the attribute on the catalog_product_super_atti:ibute table,
E) There must be a column added to the catalog_product_entity table.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
61
When you register an event observer, which two of the following pieces of information are required for it to function?
A) Method (or function) name
B) Method (or function) arguments
C) Class name
D) Object type (singleton, model, none, etc.)
E) Call order
F) Active/inactive status
A) Method (or function) name
B) Method (or function) arguments
C) Class name
D) Object type (singleton, model, none, etc.)
E) Call order
F) Active/inactive status
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
62
Which class should you refer to in order to troubleshoot Website restriction issues?
A) Enterprise_WebsiteRestrictions_Model_Restriction
B) Enterprise_WebsiteRestrictions_Helper_Data
C) Enterprise_WebsiteRestrictions_Model_Mysql4_Restriction
D) Enterprise_WebsiteRestrictions_Model_Observer
A) Enterprise_WebsiteRestrictions_Model_Restriction
B) Enterprise_WebsiteRestrictions_Helper_Data
C) Enterprise_WebsiteRestrictions_Model_Mysql4_Restriction
D) Enterprise_WebsiteRestrictions_Model_Observer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
63
Assume you have saved a product in the Catalog. Will your last changes be taken into account for rule-based related products?
A) Only if you go to the "Catalog/Rule-based Product Relations" page, and hit "Reindex All" button.
B) Only if you clear the cache.
C) Yes: It will be done automatically by an observer on the catalog_product_save_after event.
D) Yes: Rule-based related products are calculated on-the-fly.
A) Only if you go to the "Catalog/Rule-based Product Relations" page, and hit "Reindex All" button.
B) Only if you clear the cache.
C) Yes: It will be done automatically by an observer on the catalog_product_save_after event.
D) Yes: Rule-based related products are calculated on-the-fly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
64
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
A) foo_entity_attribute_storage
B) foo_entity_varchar
C) entity_attribute_varchar
D) foo_entity
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
65
What is the xpath to the list of product types?
A) Catalog/product/type
B) Global/catalog/product/type
C) Default/catalog/product/type
D) It depends on the product type.
A) Catalog/product/type
B) Global/catalog/product/type
C) Default/catalog/product/type
D) It depends on the product type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
66
What event do Website Restrictions use to restrict access?
A) controller_front_init_before
B) controller_action_predispatch
C) controller_front_send_response_before
D) controller_action_layout_load_before
A) controller_front_init_before
B) controller_action_predispatch
C) controller_front_send_response_before
D) controller_action_layout_load_before
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
67
Which of the following options would cause a poll/poll collection to load all entities that have been posted during April, 2011?
A) $collection->addAttributeToFilter('date_posted', array('from' => '2011-04-01', 'to' => '2011-04-30') );\
B) $collection->addFieldToFilter('date_posted', );
C) $collection->addPostDateFilter('2011-04-01', '2011-04-30');
D) $collection->addFieldToSelect(('date_posted', arrayCfrom' => '2011-04-01', 'to' => '2011-04-30')
A) $collection->addAttributeToFilter('date_posted', array('from' => '2011-04-01', 'to' => '2011-04-30') );\
B) $collection->addFieldToFilter('date_posted', );
C) $collection->addPostDateFilter('2011-04-01', '2011-04-30');
D) $collection->addFieldToSelect(('date_posted', arrayCfrom' => '2011-04-01', 'to' => '2011-04-30')
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
68
Which of the following payment methods' payment actions creates an invoice during the "place order' step?
A) Mage_Payment_Model_Method_Abstract::ACTION_AUTHORlZE
B) Mage_Payment_Model_Method_Abstract::ACTION_CAPTURE
C) Mage_Payment_Model_Method_Abstract::ACTION_AUTHORlZE_CAPTURE
D) Mage_Payment_Model_Method_Abstract::ACTION_INVOICE
A) Mage_Payment_Model_Method_Abstract::ACTION_AUTHORlZE
B) Mage_Payment_Model_Method_Abstract::ACTION_CAPTURE
C) Mage_Payment_Model_Method_Abstract::ACTION_AUTHORlZE_CAPTURE
D) Mage_Payment_Model_Method_Abstract::ACTION_INVOICE
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck
69
Which of the following allows you to render a custom form element using a template?
A) Specify 'template' => 'path/to/your/template' in the addFieId method's third parameter when configuring the form.
B) Set the template manually by calling $form->getElement () ->setTemplate (..) when configuring the form.
C) Specify the template in the element's protected variable $_template.
D) Create a custom renderer for the form element, and use an anonymous block to execute the template in it.
E) Extend your element from Mage_Core_Block_Template, and then specify the template in the constructor.
A) Specify 'template' => 'path/to/your/template' in the addFieId method's third parameter when configuring the form.
B) Set the template manually by calling $form->getElement () ->setTemplate (..) when configuring the form.
C) Specify the template in the element's protected variable $_template.
D) Create a custom renderer for the form element, and use an anonymous block to execute the template in it.
E) Extend your element from Mage_Core_Block_Template, and then specify the template in the constructor.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 69 في هذه المجموعة.
فتح الحزمة
k this deck