Summer Sale Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ex2p65

Exact2Pass Menu

Magento 2 Certified Associate Developer Exam

Last Update 21 hours ago Total Questions : 103

The Magento 2 Certified Associate Developer Exam content is now fully updated, with all current exam questions added 21 hours ago. Deciding to include Magento-2-Certified-Associate-Developer practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our Magento-2-Certified-Associate-Developer exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these Magento-2-Certified-Associate-Developer sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Magento 2 Certified Associate Developer Exam practice test comfortably within the allotted time.

Question # 4

You are developing a new theme which inherits from the Magento_Luma theme.

How is this accomplished?

A.

Add Magento/luma to theme.xml

B.

Run the CLI command bin/magento dev:theme:inherit Magento_Luma

C.

Specify the parent theme in Magento admin > Design > Configuration

D.

Add Magento/luma to etc/view.xml

Question # 5

What are two functions of a resource model? (Choose two.)

A.

It executes create, retrieve, update and delete actions for an entity

B.

It loads lists of entity models

C.

It is made available in the Magento API for the purpose of data manipulation

D.

It maps an entity to one or more database rows

Question # 6

A merchant gives you the module MyCompany_MyModule to install.

How do you identify which REST endpoints are supported by the module?

A.

REST endpoints are declared in etc/webapi_rest/di.xml

B.

Every public method of every interface in the Api folder automatically is exposed as a REST endpoint

C.

REST endpoints are declared in etc/rest.xml

D.

REST endpoints are declared in etc/webapi.xml

Question # 7

A merchant tasked you to add an input field for notes to the Customer Account Information backend page.

Which three actions do you specify in a module’s Data Patch to add a customer notes attribute? (Choose three.)

A.

$cache->clean([‘eav’, ‘db_ddl’]);

B.

$customerSetup->addAttribute(‘customer’, ‘notes’, $options);

C.

$customerSetup->getConnection()->addColumn(‘customer_entity’, ‘notes’, $columnSpecs);

D.

$notesAttribute->setData(‘used_in_forms’, [‘adminhtml_customer’]);

E.

$customerSetup->addAttributeToSet(‘customer’, $attributeSetIdCustomer, $groupId, ‘notes’);

Question # 8

A Magento industry partner shipping provider has tasked you to build their integration module called MyCompany_ShippingProvider.

Where do you define the class that provides options for the select field that enables or disables the provider in the file etc/adminhtml/system.xml?

A.

Magento\Config\Model\Config\Option\Yesno

B.

Magento\Config\Model\Config\Source\Yesno

C.

Magento\Config\Model\Config\Frontend\Yesno

D.

Magento\Config\Model\Config\Backend\Yesno

Question # 9

The constructor function for \Magento\Catalog\Model\Category contains this excerpt:

With the automatic dependency injection that Magento provides, how is the StoreManagerInterface resolved?

A.

If no $storeManager is provided, Magento’s code generator creates a shell concrete class based on \Magento\Store\Model\StoreManagerInterface

B.

Magento finds all classes that implement \Magento\Store\Model\StoreManagerInterface (ordered alphabetically) and injects the first class.

C.

Magento looks to the di.xml files in the entire system for a preference node for \Magento\Store\Model\StoreManagerInterface. This class is constructed and injected

D.

Magento throws an exception because you cannot instantiate an interface

Question # 10

A custom module needs to log all calls of \Magento\Customer\Api\AddressRepositoryInterface::save().

Which mechanism do you use?

A.

An observer on the customer_address_repository_save event, which is automatically fired for every repository save

B.

A proxy configured to intercept all calls to any public method and log them

C.

An extension attribute configured in the extension_attributes.xml

D.

A plugin declared for the save() method

Go to page: