Labour Day Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

Magento-2-Certified-Associate-Developer PDF

$38.5

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

Magento-2-Certified-Associate-Developer PDF + Testing Engine

$61.6

$175.99

3 Months Free Update

  • Exam Name: Magento 2 Certified Associate Developer Exam
  • Last Update: Apr 28, 2024
  • Questions and Answers: 103
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

Magento-2-Certified-Associate-Developer Engine

$46.2

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

Magento-2-Certified-Associate-Developer Practice Exam Questions with Answers Magento 2 Certified Associate Developer Exam Certification

Question # 6

A merchant requires the ability to configure contact information for their brick and mortar stores as a CSV file upload. The module already exists and contains an etc/adminhtml/system.xml file where the new field can be added.

How do you specify the class that will process the uploaded file?

A.

\Magento\Config\Model\Config\Upload\File

B.

\Magento\Config\Model\Config\Frontend\File

C.

\Magento\Config\Model\Config\Backend\File

D.

\Magento\Config\Model\Config\Source\File

Full Access
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’);

Full Access
Question # 8

How do you persist an entity to the database?

A.

Calling the store() method on the entity’s model

B.

Calling the update() method on the entity’s collection

C.

Calling the persist() method on the entity’s repository

D.

Calling the save() method on the entity’s repository

Full Access
Question # 9

You need to find all orders in the processing state. You have written the code:

Magento-2-Certified-Associate-Developer question answer

How do you resolve the exception?

A.

Use dependency injection to load an instance of the SearchCriteria class

B.

Change the getList parameter to: $searchCriteraBuilder->addFilter(‘state’,’processing’)->create()

C.

Clear generated code to get a new version of SearchCriteriaBuilder

D.

Specify a preference in di.xml to map SearchCriteriaBuilder to SearchCriteriaInterface

Full Access
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

Full Access
Question # 11

There are two different configurable products which both share one variation. The shared variation is represented by the same simple product.

A customer added both configurables to the cart with the same selected variation?

How will they be displayed?

A.

As two separate line items with quantity 1 each

B.

As one line item which lists both configurable products with quantity 1 each

C.

As one line item of the first product with quantity 2

D.

As one line item of the second product with quantity 2

Full Access
Question # 12

You are developing a module MyCompany_StoreInfo to display information about brick and mortar stores on a frontend page. The displayed information varies based on the country of a given store.

What two elements automatically render their children? (Choose two.)

A.

B.

C.

D.

Full Access
Question # 13

How do you set the custom block MyCompany\MyModule\Block\A as a child for the block named product.info using layout XML?

Magento-2-Certified-Associate-Developer question answer

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 14

You are tasked with ensuring customers who log into the site are authorized. By default, this consists of ensuring the customers email and password match the values in the database. On this project, you need to verify additional data in this process.

Keeping in mind upgradeability, how is this done?

A.

Create a before plugin for \Magento\Customer\Api\AccountManagementInterface’s authenticate method

B.

Create a mutation of a CustomerInterface object to intercept the username and password

C.

Create an event observer for the user_save_after observer

D.

Override \Magento\Customer\Controller\AccountController.php

Full Access
Question # 15

The module MyCompany_MyModule will add a new page in the admin interface to display a custom entity in a grid.

You created a controller for this grid \MyCompany\MyModule\Controller\Adminhtml\CustomEntity\Index

Which two actions are required to make the new page accessible at the https://your.store.base.url/admin/my_module/custom_entity URL? (Choose two.)

A.

Register my_module route for the AdminRouter in MyCompany/MyModule/etc/adminhtml/di.xml

B.

Create a new menu item in MyCompany/MyModule/etc/adminhtml/menu.xml

C.

Specify the my_module/custom_entity URL using a @route annotation in the action controller execute() method

D.

Register my_module route in MyCompany/MyModule/etc/adminhtml/routes.xml

Full Access