Elance Magento Test Answers 2015
·
Is it possible to integrate multiple domain
with different store in single Magento installation?
Yes
No
What does ORM stand for in Magento?
Object Relational Mapping
Objective Relative Mapping
Optional Relational Mapping
Objective Resource Mapping
Object Relation Maps
The __________ holds the whole product
configuration and is used as a compact record to move a product from one list
to another.
buyRequest
stopRequest
holdRequest
sellRequest
What type of Magento class is an API resource?
Resource model
Controller
Helper
Model
When creating an attribute, which of the
following catalog input types can be used in layered navigation?
Date
Yes/No
Price
All of the above
None of the above
A custom frontend controller will extend which
one of the following classes?
Mage_Adminhtml_Controller_Action
Mage_Core_Controller_Varien_Front
Mage_Core_Controller_Abstract
Mage_Core_Controller_Front_Action
When changes are made to more than one of a
collection’s items using "setData('some', 'value')", which of the following
methods will save the changes in the collection?
$collection->save()
$collection->saveItems()
$collection->saveAll()
$collection->saveAllItems()
True or False? Changes made to the product
option array will NOT be saved by the item.
False
True
When an order is placed by Credit Card, when
does the payment gateway capture the money?
Upon Shipment
Upon Invoice
When Customer Enters the Payment Information
When the shipment email gets sent
Assume you have three models A, B and C. Both
A and B extend C. Assume C contains a method that you are going to change in
both A and B. How can you change the method using Magento class rewrites.
Rewrite the method using the xpath
global/models/_YOUR_MODULE_/rewrite/C/_METHOD_
You must rewrite both A and B using the xpaths
global/models/_MODULE_/rewrite/A and global/models/_MODULE_/rewrite/B
You must change that method directly in C
Rewrite class C using the xpath
global/models/_MODULE_/rewrite/C
How will you add/remove content from core’s
system.xml file?
You can do that by overriding system.xml
configuration
You can do that by modifying system.xml
configuration
(none of these answers are correct)
You can do that by creating system.xml
configuration
These are blocks created for the sole purpose
of assigning visual structure to a store page such as header, left column, main
column and footer.
Fallback Blocks
Structural Blocks
Content Blocks
Frontend Blocks
How are themes grouped together into design
packages?
Logically
Randomly
Related
Unrelated
By default Magento uses 4 main sales
documents. What are they, in order of when they are created?
Orders, Invoices, Creditmemos, Transactional Emails
Quotes, Orders, Creditmemos, Transactions
Transactions, Payments, Orders, Creditmemos
Quotes, Orders, Invoices, Creditmemos
If you sell different products in a bundle,
Where do you add a new options to a bundle product?
The Associated Products section of the Product Edit
Page
From the products management grid
The Catalog section of the System Configuration
The Bundle Products section of the Product Edit
Page
A ________ can hold products with full,
partial, or no configuration.
shopping cart
wishlist
banner
checklist
How to include CMS block in template
file(.phtml)
$this->getLayout()->setBlockId("static/block/id")->createBlock("cms_block")->toHTML();
$this->getLayout()->createBlock("cms/block")->setBlockId("static_block_id")->toHTML();
$this->getLayout()->setBlockId("static_block_id")->createBlock("cms/block")->toHTML();
$this->getLayout()->createBlock("cms_block")->setBlockId("static/block/id")->toHTML();
What actions are necessary to make that would
enable the profiler.
Customer - Manage Customers
System Configuration - Developer Tab -
Debug/Profiler set Yes and then [your-website]/index.php uncomment
Varien_Profiler::enable();
System Menu - Permissions - Debug/Profiler set Yes
and then [your-website]/index.php uncomment Varien_Profiler::enable();
System - Manage Stores - Debug/Profiler set Yes and
then [your-website]/index.php uncomment Varien_Profiler::enable();
In the context of a template file, which is
the proper method of translating the following string: "Buy a
".$product->getName()." today!"
Mage::translate("Buy a
".$product->getName()." today!");
Mage::helper('catalog')->__('Buy a {{product}}
today!', array('product' => $product->getName());
$this->__("Buy a {$product->getName()}
today!");
$this->__('Buy a %s today!',
$product->getName());
From what page can an admin reset a customers
password?
Customer Menu, Security and Access Management
Admin Menu, Customer Password Reset
Permissions and Access from the System Menu
Customer Management, Account Information section
To write a custom SQ: query in Magento is very
easy, we just need to call:
$db =
Mage::getSingleton('core/resource')->getConnection('core_write');
$result=$db->run_query("SELECT * FROM PCDSTable");
$db =
Mage::getSingleton('core/resource')->getConnection('core_write');
$result=$db->query("SELECT * FROM PCDSTable");
$db =
Mage::getSingleton('core/resource')->getConnection('core_write'); $result=$db->fetch_query("SELECT
* FROM PCDSTable");
$db =
Mage::get_configData('core/resource')->getConnection('core_write');
$result=$db->run_query("SELECT * FROM PCDSTable");
Which one of the following is a possible
return value type of Mage::getConfig()->getNode()?
array
integer
string
object
If an order has been created and is in pending
state, what is the appropriate action that needs to be taken, for the to
progress into the processing state?
The order must be authorized
The order must be invoiced
The order must be shipped
The order must be cancelled
What is a Composite Product?
The name of the feature that allows you to
manipulate product features before going live
(none of these are correct)
The first 10 products added to any store
The name for a collection of already existing
product types that allow a shopper to configure a product before buying it
For items where inventory is not tracked, what
is the setting to shut inventory management off?
Category Management, under the Catalog Menu
Manage Stock, under Inventory section
Set the price to 0
Set the order increment to 0
When creating a new category to appear on the
category navigation block, what are the first two steps?
Choose the Root Category, and Add subcategory
Change the category anchor settings, and save the
category tree
Create a virtual product, and add it to the
category tree
Add a new CMS static block within the category
navigation system, and insert it into the category page
In Magento a Coupon is also known as?
Physical Item
Bundled Product
Shopping Cart Price Rule
Promotional Chart
In order to be Refunded Online, what sales
document must be attached?
CMS Page
Sales Order
Transactional Email
Invoice
Where can you find the design configuration
tab?
System/Category/Configuration/Design tab
System/Catalog/Category/Design tab
System/Configuration/Design tab
System/Configuration/Category/Design tab
Which of the following are frontend blocks
with a predefined set of configuration options?
Widgets
Apps
Cells
Tabs
What is the setting that determines that
product will show on the search page and not on the category listing?
Product Inventory Status
Product Visibility
Product Status
Product Attribute Manager
What is the difference between
Mage::getModel() and Mage::getSingleton()?
Mage::getModel() creates an object of model class
while Mage::getSingleton() creates an object of singleton class
Mage::getModel() can be called anywhere while
Mage::getSingleton can be called only at specific places.
Mage::getModel() creates a new object every time it
is being called while Mage::getSingleton() check for the existing object. If it
exists, it returns that object otherwise creates a new one
Mage::getModel() and Mage::getSingleton() both
creates an object of model class. So, there is no difference
What is a function of Layouts in Magento?
They define both the structural and content blocks.
They inform Magento how and where to connect the
Structural and Content blocks up.
Both of these
The marketing guy wants to use a custom url
for one of the products, just for a temporary time promotion. What do you use?
Add a URL Rewrite
Create a new producty category
Change Product Information
(none of these)
When is it acceptable to edit
app/code/core/Mage files?
When I find a bug in the code
When I would like to change Mage modules
Never
When there is a conflict with an off the shelf
extension
The design team wants to show what the
t-shirts are made on the product page. What are 2 ways to accomplish this?
Add the fabric composition to the product description,
or create a new product attribute
Change the names of all the bundled products
Add a URL Rewrite for the Fabric Composition
Use the composition directive {{composition
id="identifier"}}
When should you edit files in the base
template?
When you inherit a project from another developer
When the file does not exist in the theme template
When there is a svn or git conflict on your files
Never
When creating a new product, what is the first
thing you must choose?
Whether the product is visble in the Catalog
The Product SKU
Product Type, and Attribute Set
The product price
How does Magento determine the visual
representation of each building block of a page view?
The <building_block> tag.
The <block> tag.
The <info_block> tag.
The <block_representation> tag.
How do you Embed a Static Block in a CMS page?
The CMS Page section of the System Configuration
Use the block directive {{block
id="block_identifier"}}
Call the developer
Use the wysiwyg editor
Which code snippet is used to show one
category on your front page?
{{block type="catalog/product_list"
name="home.catalog.product.list" alias="products_homepage"
category_id="4" template="catalog/product/list.phtml"}}
{{block type="catalog/product_new"
name="home.catalog.product.new" alias="product_homepage"
template="catalog/product/new.phtml"}}
{{block type="catalog/product_list"
name="home.catalog.product.list" alias="products_homepage"
template="catalog/product/list.phtml"}}
{{block ="catalog/product_list"
name="home.catalog.list" alias="homepage"catalog/product/list.phtml"}}
Where is the css and javascript file of your
custom theme kept?
skin/frontend/default/base
design/frontend/default/your_theme
design/frontend/default/base
skin/frontend/default/your_theme
Customer emails and wants to cancel their order.
Bummer. What are the 2 ways you can find the order?
The Category or Product Menu
Searching Newsletter Subscribers or Choosing a
recent discounted product
Searching the Sales Order Grid or By pulling up the
Customer Info
The Magento Configuration Panel or Through the
Payment Method
When writing a Magento module which of these
files are you likely to create first?
Helper/Data.php
Block/Template.php
Model/Observer.php
controllers/IndexController.php
etc/config.xml
What is the purpose of a Grouped Product?
It is a feature to limit the amount of traffic to a
specific product
It allows a group of people to purchase a product
at the same time
It offers a simple way to add multiple related
products to the Shopping Cart
None of these
True or False? When customers are using the
poll feature, only one question will show up at a time.
False
True
A new product still shows out-of-stock, even
though it shows that there are 20 available. Which index should we rebuild?
Product Prices
Product Flat Data
Catalog Product Rewrites
Stock Status Index
Which code snippet is used to show products
labeled as "new" on your front page?
{{block type="catalog/product_new"
name="home.catalog.product.new" alias="product_homepage"
template="catalog/product/new.phtml"}}
{{block type="catalog/product_list"
name="home.catalog.product.list" alias="products_homepage"
category_id="4" template="catalog/product/list.phtml"}}
{{block type="catalog/product_list"
name="home.catalog.product.list" alias="products_homepage"
template="catalog/product/list.phtml"}}
{{block ="catalog/product_list"
name="home.catalog.list"
alias="homepage"catalog/product/list.phtml"}}
The store sells a e-book. What product type is
used?
simple
configurable
virtual
downloadable
What is the setting that determines that an
attribute value will show on the product page?
Scope
Store Label
The Visible on Product View Page on Front-end
Used for layer navigation
3 main reasons product won't show on Category
page?
SKU, Price, Description
Price,Status,Visibility
Availablity, Status, Visibility
Availability,Status,SKU
The store offers a free shipping coupon for
orders over $50. The owner wants to change it to order over $75. Where is that
done?
CMS Static Block Management
The Shipping Methods of the System Configuration
System Menu, Permission Mangement
Promotion Menu, Shopping Cart Price Rule Management
Which of these would be a good use case for a
Configurable Product?
Downloadable Instructions
Computer where each part is customized
T-shirt that comes in different sizes and colors
Shipping Costs
Where can I find system.log and exception.log
debugging log files?
application/log
log/error
var/log/
error/log/
What function of Magento that let's you reuse
content in CMS Pages and Email Templates?
Catalog Price Rules
Custom Error Handlers
CMS Static Blocks
Category Design Updates
Where can I find system.log and exception.log
debugging?
log/error
log/debug
error/log/
var/log/
application/log
The developer has told you that a theme is
ready to use, where do you see what theme is currently in use?
Depends on the URL Rewrites
The Customer Management Grid
The Design Dashboard
The design section of the System Configuation
If you have mutliple people that need access
to the Magento backend, how do you restrict access to specific users?
Magento licensing only allows 2 admin users
Magento requires a 3rd party ACL extension to allow
multiuser access
Magento doesn't allow mutliple people to be signed
on at the same time
Magento comes with a Permissions based system that
allows definition of users and assigned roles
The store sells a t-shirt that comes in
different colors. What product type is used?
configurable
bundle
simple
downloadable
Magento allows you to use multiple themes
within the same layout and template.
True
False
True or False? Template contains the PHTML
files that contain xHTML markups and any necessary PHP to create logic for
visual presentation.
True
False
What is EAV in Magento?
Effective Added Values
Entity Art Volumes
Entity Allocated Value
Entity Allocation Values
Entity Attribute Value
Magento has a built in Contact us form. Where
do you specify to whom those requests get sent?
The Main Dashboard
The Customer Info Screen
The shipping methods configuration
The contacts section of the System Configuation
What is the rule for working with Magento's
base package?
Do NOT create a custom theme inside of the base
package.
Do NOT edit the files in the base package.
Both of these
_________ are ways in which Magento
distinguishes the array of functionalities in the system and creates a modular
way to manage it from both a visual and functional standpoint.
Boxes
Blocks
Tabs
Cells
Turns out FEDEX is cheaper for some of the
products. Where do we add FEDEX as a choice during checkout?
The Main Dashboard
The Shipping Methods section of the System
Configuration
The payment methods configuration
The Order Info Screen
Magento has always used fallback logic in
rendering themes.
True
False
What is the correct way to add css and js in
magento page?
These can be added in PHP block files
These can be added directly in phtml files where
they are needed
These can be added in layout xml file where css and
js files can be added in head reference
These cannot be added at all
What is the difference between a simple
product type and a virtual product type?
Virtual Products cannot have a price associated to
them
Virtual Products can't be sold in the US
Simples can hold inventory, virtual products cannot
Simple products have less complex data containers
A customer wants to know if there order went
through. Where does an admin go to check on orders?
Category Menu
Under Coupons and Promotions
The Magento Configuration Panel
The Sales Order Management Grid
How would you create a page about the magento
store for customers to read?
Create a virtual product
Calling the developer
By creating a CMS page
Create a bundle product
True or False: Products URL can be created
manually.
False
True
True or False: You can upload particular
product on multiple website from one admin.
True
False
Paypal raised the cost of processing credit
cards. Where do you go to remove Paypal as a payment choice?
The Payment Methods section of the System
Configuration
CMS Static Block Management
Paypal website, under My Account
Magento Caching Engine
If you're going to take credit cards directly
in your Magento store, which of the following items will you need?
LAD Certificate
WFE Certificate
EMS Certificate
SSL Certificate
Magento is capable of changing the layout for
a single product. What functionality do we employ to make that happen?
Custom Layout Update XML
Creating a new CMS page
Creating a request for design change
Create an URL Rewrite
How many fallback steps does Magento provide?
2
3
1
If you have a product that comes in different
sizes, Where do you add a new size for the configurable product?
The Catalog section of the System Configuration
The Associated Products section of the Product Edit
Page
The CMS Page section of the System Configuration
The Bundle Products section of the Product Edit
Page
What are the three concepts and tools you need
to learn to be a successful designer in Magento?
Structural Blocks, Content Blocks, and Layout
Structural Blocks, Content Blocks, and Widgets
Blocks, Widgets, and Fallback Logic
Fallback Logic, Structural Blocks, and Content Rows
A Magento theme is stored in which directory
in the Magento file system?
Neither App/Design Directory or Skin Directory
Skin Directory
Both App/Design Directory and Skin Directory
App/Design Directory
Where can you find the product page to edit
the .phtml file?
app/design/frontend/your
theme/default/template/catalog/product/new.phtml
app/design/frontend/your
theme/default/template/catalog/product/view/view.phtml
app/design/frontend/your
theme/default/template/catalog/product/view.phtml
app/design/frontend/your
theme/default/template/catalog/product/list.phtml
What is the best way to add xml settings for
front of the store?
add local.xml file
copy and edit xml files from base
edit xml files in base
How to add review list on product page of
Magento ?
< ?php echo $this->getReview('product') ?
>
< ?php echo $this->getChildHtml('reviews') ?
>
< ?php echo $this->getProduct('reviews') ?
>
True or False: You can not add image in
products description.
True
False
In a fresh installation of native Magento, the
email templates are stored in the
app/design/email folder
email folder of the current theme
app/design/base/default/default/template/email
folder
app/locale/_LOCALE_/template/email folder
What is the purpose of PCI Compliance?
It ensures that your servers meet the requirements
to keep cardholder information secure
It ensures that your servers will not be pushed to
capacity
It ensures that your servers meet the requirements
to prevent SPAM
None of these
What are the individual-colored blocks that
make up a structural block and represent the true content of a store page?
Frontend Block
Info Block
Fallback Block
Content Block
What is the best place to make extension
changes for frontend?
frontend/default/default
frontend/base/default
frontend/[current_package]/default
(none of these are correct)
Where are the Email Templates managed?
Email Templates from the CMS Menu
System Configuration, under Templates
Transactional email management from System menu
The Contacts section of the System Configuration
Because of the complex nature of the product
data, there is a process that simplifies the data. What function controls this
process?
Magento Caching Engine
Configuration Caching Object
Product Flat Data Indexer
Magento Compiler
Which code snippet is used to show ALL
products in your catalog on your front page?
{{block ="catalog/product_list"
name="home.catalog.list"
alias="homepage"catalog/product/list.phtml"}}
{{block type="catalog/product_list"
name="home.catalog.product.list" alias="products_homepage"
category_id="4" template="catalog/product/list.phtml"}}
{{block type="catalog/product_new"
name="home.catalog.product.new" alias="product_homepage"
template="catalog/product/new.phtml"}}
{{block type="catalog/product_list"
name="home.catalog.product.list" alias="products_homepage"
template="catalog/product/list.phtml"}}
Select the correct handle for the Product View
page.
<view_catalog_product>
<catalog_product_view>
<catalog_products_view>
<catalogs_product_view>
Which of the following is considered to be
part of Magento's backend?
Wishlist
View Product
Shopping Cart
General JS architecture
Customer Orders can be created from the
Magento Backend. What are the 2 paths an admin user can take to create an order
for a customer?
From the Customer Management Grid, or from the
Customer Management Page
From the Frontend Checkout page, or the Customer
Management grid
From Customer Management page, and from the Sales
Order Management grid
From the Sales Order Management Page, or from the
Creditmemo create page
Inside a .phtml file, what does
"$this" refer to?
A class inheriting from Mage_Core_Helper_Abstract
A class inheriting from Mage_Core_Block_Abstract
$this is not defined in a .phtml file
A class inheriting from Mage_Core_Model_Abstract
The absolute path of the .phtml file
What Magento function can we employ to give
special product pricing to specific customer groups based on qty purchased?
Coupon Discounts
Loyalty rewards
Special Sales Pricing
Tier Pricing
Which of the following does NOT return an
instance of a helper object
Mage::helper('customer');
Mage::app()->getLayout()->helper('customer');
Mage::app()->helper(‘customer’);
Mage::app()->getLayout()->createBlock(‘core/template')
->helper('customer');
How do you completely disable a module in
Magento?
Go to System > Configuration > Advanced and
change the state to "Disable"
Edit the module's configuration
[module]/etc/config.xml
Edit the configuration file located in
app/etc/modules
Which of the following will correctly
translate the value of the label node?
<parent> <label
translate="true">Value</label> </parent>
<parent translate="label">
<label>Value</label> </parent>
<parent> <translate>
<label>Value</label> </translate> </parent>
<parent> <labelxtranslate>Value</translatex/label>
</parent>
What happens when you edit an existing order
using the order management page?
The current order is canceled and a new order is
created from scratch based on the current order’s data
Depending on the order status, different editing
forms appear for the current order
A form appears that allows you to edit all
information on the current order
A form appears that allows you to edit shipping
information of the current order
What are the steps to sending a newsletter?
Add CMS Static Block, Embed block into CMS Page,
Send Newsletter
Create a template, Queue for Sending
Create Newsletter, Enter Recipients, Click Send
Add New CMS Page, Send the Newsletter
How do you get the website's URL?
Mage::getStoreConfig('unsecure/web/base_url');
Mage::getStoreConfig('secure/web/base_url');
Mage::getStoreConfig('web/unsecure/url');
Mage::getStoreConfig('web/unsecure/base_url');
Mage::getStoreConfig('web/secure/url');
Which of the these block methods is the best
one to override when you need to customize how the block’s HTML is rendered?
_toHtml()
setLayout()
renderLayout()
toHtml()
What is a Frontend Block?
Blocks that produce the actual content inside each
structural block.
The tool with which you can assign content blocks
to each structural block you create.
Blocks created for the sole purpose of assigning
visual structure to a store page such as header, left column, main column and
footer.
An element which creates the visual output either
by assigning visual structure or by producing the actual content.
Which of the following is called to apply
taxes on the product view page?
Mage_Tax__Helper_Data
Mage_Catalog_Model_Product_Type_Price
Mage_Tax_Model_Sales_Total_Quote_Tax
Mage_Sales_Model_Quote_Address_Total_Tax
When creating your own custom payment method,
which module does it generally depend on and should be configured for correct
module loading order?
Mage_Payment
Mage_Billing
Mage_Payment_Method
Mage_Method_payment
In which database table could you find the
order state?
sales_flat_order
sales_flat_order_status
sales_flat_order_status_history
sales_flat_order_state
Which one of the following xpaths can be read
using Mage::getStoreConfig('some/value')?
some/value/default
stores/some/value
global/default/some/value
default/some/value
some/value
Which class is extended to render a drop-down
in admin forms?
Mage_Adminhtml_Block_Abstract
Mage_Adminhtml_Block_Template
Mage_Adminhtml_Block_Widget
Mage_Core_Block_Abstract
Varien_Data_Form_Abstract
Is it mandatory to give Namespace while
creating custom module in Magento?
Yes
No
Subscribe to:
Posts (Atom)