Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Magento certification magento tutorial
1. Articles of php tutorial magento tutorial from php
community
Magento certification mock test
2011-01-05 10:01:36 admin
Q1 When editing categories tree, there are quantities specified nearby categories names. What
are these quantities?
A Distinct quantity of products either in the category, or in the category and its child categories
B Distinct quantity either of child categories, or all children categories
C Quantity of products in its children categories
D Quantity of child categories
answer: (A)
if the option "is anchor" of category configuration is enable, A is right.
Q2 What other products can be displayed on shopping cart page in default design package?
A Cross-sells products, except those are shopping cart items
B Related products, except those are shopping cart items
C Cross-sells products
D Up-sells products
answer: (A)
it’s no reason, A is truth.
Q3 What search results are shown on frontend?
A CM S Blocks enabled for search
B Categories
C Products
D CM S Pages enabled for search
answer: (C)
only product can be searched in Magento.
Q4 Layered Navigation price ranges calculation depends on:
A Catalog price rules
B Tax rules
C Shopping cart price rules
D Products prices
answer: (ABD)
when product price inlcuding tax, the range will calculated by price including tax.
when catalog price rule is applied, the range will calculated by price applied with catalog price rules.
when there are no rules configured, the range only depend on product prices.
shopping cart price rules won’t affect the price range in layered navigation.
2. Q5 What is(are) the limitation(s) on associated products of a configurable product?
A. Only unique combinations of configurable attribute values are allowed
B. They cannot have different inventory settings
C. They cannot have different tax classes
D. They should be the same attribute set that configurable product belongs to
answer: (AD)
comment:
They can have different inventory settings
They can have different tax classes
Q6 What is the recommended way to inject some logic just before dispatching every action of a
controller?
A Create a floating function and put its calls to each action
B Create an observer in the configuration and put its calls to each action
C Add it into the preDispatch() method
D Create a private method in this controller and put its calls to each action
answer: (C)
A and D are not good ideas.
I’m not sure if B is right
Q7 Where are Magento routers configured?
A In admin –> System Configuration –> Web –> Routers
B Configuration is implemented in the resource model, that uses the core/url_rewrite database table
C In the xml configuration default/web/routers
D Routers cannot be configured, they are hard-coded in the front controller
answer: (C)
here is a part of configuration in /app/code/core/Mage/Core/etc/config.xml
[Copy to clipboard]
CODE:
<web>
<routers> <!– declare default routers–>
<admin><area>admin</area><class>M age_Core_Controller_Varien_Router_Admin</class></admin>
<standard><area>frontend</area><class>M age_Core_Controller_Varien_Router_Standard</class></standard>
</routers>
A – no such configuration in BO
B – Configuration is implemented in the resource model =>I’m not sure
that uses the core/url_rewrite database table => it’s right
D Routers can be configured, they are not hard-coded in the front controller
Q8 What is the recommended way to establish controller-level authorization?
A By extending each action of the controller and putting logic there
B All required authorization logic can be put in _preDispatch() of the controller
C By injecting the logic into the controller constructor
D All required authorization logic can be put in preDispatch() of the controller
answer: (D)
3. A & C , not a good way
B, there no such parent method in controller
more test will available soon…………….
Tweet
People who read this post also read:
No Related Posts