Question 1
Question
Magento Enterprise Edition is the free open source version that is provided to the community at no cost.
Question 2
Question
Which type of cache is offered in Magento EE, but not in CE? Select all that apply.
Answer
-
Block Cache
-
Config Cache
-
Full Page Cache
-
Unit Cache
Question 3
Question
When [blank_start]setData[blank_end]('some','value') is called on an EAV entity and the entity is saved to the database, the value of the attribute named some is saved in one of the entity's tables depending on it's datatype.
Question 4
Question
Which method would you call to get the class of an object in magento?
Answer
-
Mage::get_class($obj);
-
Mage::getclass($obj);
-
get_class($obj);
-
getclass($obj);
Question 5
Question
Programmatically speaking, you can save a category using the following script. Fill in the blanks.
$myStoreId = Mage::app()->getStore()->[blank_start]getId()[blank_end];
Mage::app()->getStore()->setId(Mage_Core_Model_App::ADMIN_STORE_ID);
$parent = Mage::getModel("[blank_start]catalog/category[blank_end]")->load(50);
$parent->setCustomUseParentSettings(false);
$parent->setCustomApplyToProducts(false);
$parent->setPageLayout("two_columns_left");
$parent->[blank_start]save()[blank_end];
Mage::app()->getStore()->setId($myStoreId);
Answer
-
id()
-
getStoreId()
-
getThisId()
-
getId()
-
category/category
-
catalog/category
-
category
-
mage_catalog/category
-
save()
-
run()
-
saveCategory()
-
runCategory()
Question 6
Question
Select each type of Magento class that is an API resource.
Answer
-
Controller
-
Standard
-
Model
-
Checkout
-
Helper
-
controller
-
Migration
-
Resource Model
Question 7
Question
The following file would activate your custom module in Magento. Fill in the blanks to complete the task. You want your namespace to be MyNamespace and your module name to be MyModule. You'll want to create this module in the Community pool. Please note this is case sensitive and the BEST answer should be given if there are two options.
I would create this file: [blank_start]app[blank_end]/[blank_start]etc[blank_end]/[blank_start]modules[blank_end]/[blank_start]MyNamespace[blank_end]_[blank_start]MyModule[blank_end].[blank_start]xml[blank_end]
<?xml version="1.0" encoding="UTF-8"?>
<[blank_start]config[blank_end]>
<[blank_start]modules[blank_end]>
<[blank_start]MyNamespace_MyModule[blank_end]>
<[blank_start]active[blank_end]>true</[blank_start]active[blank_end]>
<codePool>[blank_start]local[blank_end]</codePool>
</[blank_start]MyNamespace_MyModule[blank_end]>
</[blank_start]modules[blank_end]>
</[blank_start]config[blank_end]>
Answer
-
app
-
etc
-
modules
-
MyNamespace
-
MyModule
-
xml
-
config
-
config
-
modules
-
modules
-
MyNamespace_MyModule
-
MyNamespace_MyModule
-
community
-
active
-
active
Question 8
Question
The [blank_start]option[blank_end] EAV attribute types can be used for the out of box layered navigation in Magento.
Question 9
Question
How many fatal errors will occur in the following code?
$table = array();
$table['val1'] = array(1, 2);
$table['val2'] = 3;
$table['val3'] = array(4, 5);
$test= array();
$test = array_merge($test, $table['val1']);
var_dump($testArray);
$test = array_merge($test, $table['val2']);
var_dump($test);
$test = array_merge($test, $table['val3']);
var_dump($test);
Question 10
Question
I am a Georgia Bulldogs Football fan and can't stand Alabama or Florida. Hint: The hiring manager is a Georgia Bulldogs Fan.