Weekend Sale 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

Free Magento Magento-2-Certified-Associate-Developer Practice Exam with Questions & Answers

Questions 1

The module MyCompany_MyModule provides custom admin interface pages.

Access to these pages should only be granted to specific users.

You add the required configuration to the module’s acl.xml file, but the setting does not seem to work as expected.

How do you visually check if Magento evaluates your ACL resource as expected?

Options:
A.

Write a plugin for the class \Magento\Framework\Acl\LoaderInterface::populateAcl() and echo out the loaded roles

B.

Inspect the output of the CLI command bin/magento admin:role:resources – all

C.

In the browser, open the admin User Roles page. Choose a role and inspect the tree of available resources

D.

Inspect the response of a GET request to the webapi endpoint <a href="http://example.com/rest/V1/acl/resources">http://example.com/rest/V1/acl/resources</a>

Questions 2

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?

Options:
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

Questions 3

You have created a new section in system configuration under the Catalog tab:

Magento-2-Certified-Associate-Developer Question 3

How do you restrict an access to the section using Magento ACL?

Magento-2-Certified-Associate-Developer Question 3

Options:
A.

Option A

B.

Option B

C.

Option C

D.

Option D

Questions 4

You are creating a new page layout for your custom module.

What is the primary difference between container and block elements?

Options:
A.

They extend different abstract classes

B.

A container’s children are rendered automatically

C.

Only containers can be removed by name or alias

D.

A block’s position within the layout can be altered

Questions 5

Which entity in Magento supports scoped attributes?

Options:
A.

Customer

B.

CMS Page

C.

Category

D.

Customer Address

Questions 6

Your module, MyCompany_MyModule, is using the frontName mymodule. You need to locate the class responsible for the frontend path /mymodule/custom.

What file contains the controller class for the frontend path /mymodule/custom?

Options:
A.

Controller/Custom/Index.php

B.

Controller/Custom.php

C.

Controller/MyModule/Custom/Index.php

D.

Controller/Frontend/MyModule/Custom.php

Questions 7

How do you add a new link into the My Account sidebar?

Options:
A.

By creating a new UI component

B.

By creating a child of the My Account UI component

C.

By adding the new section into the customer_account table in the database

D.

By using a layout update

Questions 8

A merchant sells shoes with multiple variations such as a color and size. A shoe is represented by a configurable product. There are seven different colors and four sizes.

What is the minimal amount of simple products that represent a combination of color and size needs to be created in order to make a shoe salable?

Options:
A.

Each color and size must have at least one representation, so a minimum of seven products is needed

B.

One simple product that represents a combination of color and size is enough

C.

A product may be purchased even without any combination available. The color and size may be adjusted during order fulfillment

D.

A simple product for every combination must be created

Questions 9

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 9

Options:
A.

Option A

B.

Option B

C.

Option C

D.

Option D

Questions 10

In a code review of a merchant’s site you have discovered that there are multiple observers for the checkout_submit_all_after event. After closer inspection, you notice one of these observers is relying on the others being executed before it is called.

What risk does this pose, and how can it be mitigated?

Options:
A.

There is no risk posed as long as each event observer specifies a correct sortOrder. Nothing needs to be changed.

B.

Event observers are fired in alphabetical order of the observer name. There is no risk here.

C.

Magento only supports one observer per event. These observers will need to be combined into a single point of customization.

D.

Order of listener execution cannot be guaranteed, resulting in a fragile implementation. This code should be re-worked using plugins

Certification Provider: Magento
Exam Name: Magento 2 Certified Associate Developer Exam
Last Update: Jul 12, 2025
Questions: 103