Ensurepass

 

 

QUESTION 21

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);

 

Correct Answer: C

 

 < /font>

QUESTION 22

Which one of the following is responsible for sending a remote request to the payment service when capturing an order?

 

A.

Payment Info

B.

Order Payment

C.

Payment Method

D.

Invoice

 

Correct Answer: C

QUESTION 23

Which of the following lines includes a payment method object?

 

A.

$quote->getShippingAddress()->setPaymentMethod(isset($data[‘method’]) ? $data[‘method’] : null); inside Mage_Checkout_Model_Type_Onepage

B.

.public function setPayment(Mage_Sales_Model_Quote_Payment $payment) inside Mage_Sales_Model_Quote

C.

$method = $this->getMethodlnstance(); inside Mage_Sales_Model_Quote_Payment

D.

$instance->set!nfoInstance($this); inside Mage_Payment_Model_Info

 

Correct Answer: C

 

 

QUESTION 24

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

 

Correct Answer: AD

 

 

QUESTION 25

Which method is responsible for a full re-index in the abstract Magento indexer?

 

A.

fullReindex()

B.

reindexAH()

C.

processEvent ()

D.

reindex()

 

Correct Answer: B

 

 

QUESTION 26

In what order are the routers from the Magento core checked for a matching route?

 

Default: Mage_Core_Controller_Varien_Router_Default

 

CMS: Mage_Cms_Controller_Router

 

Standard: Mage_Core_Controller_Varien_Router_Standard

 

Admin: Mage_Core_Controller_Varien_Router_Admin

 

A.

Admin, Standard, CMS, Default

B.

Default, CMS, Standard, Admin

C.

Admin, CMS, Standard, Default

D.

Standard, Admin, Default, CMS

 

Correct Answer: A

 

 

QUESTION 27

Which of the following will NOT generate a <script> tag in the output of the standard Magento page/html_head block?

 

clip_image002

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: C

 

 

QUESTION 28

What does Magento use to determine whether the automatically run upgrade scripts have been run yet?

 

A.

The modification date on the modules’ etc/config.xml file

B.

The version number (or lack thereof) stored in the core_module_version table

C.

The version number (or lack thereof) stored in the core_resource table

D.

A comparison of the resources that are capable of successfully loading

Correct Answer: C

 

 

QUESTION 29

What is the basic class/interface for every model observer class?

&nbsp
;

A.

Mage_Model_Config_Observer

B.

Mage_Core_Model_Event_Observer_Abstract

C.

Mage_Core_Model_Event_Observer_Interface

D.

There is no required inheritance.

E.

Varien_Object

 

Correct Answer: D

 

 

QUESTION 30

Which of the following could be used to pass an object to a block method?

 

A.

option method=nsetFoo”>

<bar module=”some/string” />

</action>

B.

<action method=”setFoo”>

<bar helper=”some/other/string” />

</action>

C.

<action method=”setFoo”>

<bar>

<bar module=”some/string” />

</bar>

</action>

D.

It is not possible to pass an object to a block method via layout XML.

 

Correct Answer: B

 

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.