Ensurepass

 

QUESTION 81

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?

 

clip_image002

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

 

Correct Answer: A

 

 

QUESTION 82

By enabling Flat catalog, you will _____________.

 

A.

Speed up performance on the frontend

B.

Speed up saving product on the backend

C.

Simplify the product import process

D.

Speed up loading product on the backend

 

Correct Answer: A

 

 

QUESTION 83

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

 

Correct Answer: CDE

 

 

QUESTION 84

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.

 

Correct Answer: B

 

 

QUESTION 85

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

 

Correct Answer: B

 

 

QUESTION 86

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’, array(‘from’ => ‘2011-04-01’, ‘to’ => ‘2011-04-30’) );

C.

$collection->addPostDateFilter(‘2011-04-01’, ‘2011-04-30’);

D.

$collection->addFieldToSelect((‘date_posted’, arrayCfrom’ => ‘2011-04-01’, ‘to’ => ‘2011-04-30’) );

 

Correct Answer: B

 

 

QUESTION 87

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

 

Correct Answer: D

 

 

QUESTION 88

You want to filter a product collection so that it will return only SKUs 12 and 123. You will use a call to

 

$collection->addFieldToFilter(‘sku’, ______________ );

 

Two of the following arrays could be used to complete that call correctly. Which two? (Choose two)

 

A.

array(‘sku’ => 12, ‘sku’ => 123)

B.

array(array(‘eq’ => 12), array(‘eq’ => 123))

C.

array(12 => true, 123 => true)

D.

array(12, 123)

E.

array(array(‘int’ => 12), array(‘int’ => 123))

 

Correct Answer: BD

 

 

 

 

 

 

 

 

 

QUESTION 89

Which one of the following declares a Layout XML file?

 

clip_image004

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: D

 

 

QUESTION 90

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

 

Correct Answer: A

 

Free VCE & PDF File for Magento M70-201 Real Exam

Instant Access to Free VCE Files: CompTIA | VMware | SAP …
Instant Access to Free PDF Files: CompTIA | VMware | SAP …

 

Comments are closed.