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

Magento-2-Certified-Associate-Developer PDF

$33

$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

$52.8

$175.99

3 Months Free Update

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

Magento-2-Certified-Associate-Developer Engine

$39.6

$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 client has asked you to include category url keys in product URLs.

How is this done?

A.

Create an observer for controller_action_postdispatch_catalog_product_view

B.

This is not possible because products can belong to multiple categories

C.

Set the configuration value of catalog/seo/product_use_categories to Yes

D.

Create an after plugin on \Magento\UrlRewrite\Controller\Router::generateRewrite

Full Access
Question # 7

Where do you change the frontName for the admin router?

A.

app/etc/config.xml

B.

app/etc/env.php

C.

app/etc/local.xml

D.

composer.json

Full Access
Question # 8

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

Magento-2-Certified-Associate-Developer question answer

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

Full Access
Question # 9

Products may be accessed using SEO friendly URLs like /my-product instead of /catalog/product/view/id/{ID}

How is this one?

A.

An event observer adds RewriteRules to .htaccess on product save

B.

Magento\Catalog\Controller\Product\View::loadByUrlKey loads product pages using the url_key attribute value

C.

Using a URL Rewrite stored in the database connecting the request path with the target path

D.

A plugin on \Magento\UrlRewrite\Controller\Router::match loads products by the url_key attribute

Full Access
Question # 10

You are working on a jewelry store that sells rings. Each ring allows an adjustment in size. The customer specifies finger size in inches and the merchant physically adjusts the stocked ring to the required size.

How is this represented in Magento?

A.

Using custom options, with rings as simple products

B.

Using categories, with each ring size as a separate product

C.

Using configurable products, with ring size as an attributive value

D.

Using custom options, with rings as bundle products

Full Access
Question # 11

While reviewing a layout file named sales_order_view.xml you notice the element

What is the purpose of this element?

A.

Replaces the customer_account handle with sales_order_view

B.

Nothing, this element has been deprecated

C.

Adds the customer_account handle to the page’s handles list

D.

Updates the current page handle to customer_account

Full Access
Question # 12

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 # 13

Assume that a customer’s cart only includes one downloadable product.

What effect will it cause on the quote object?

A.

The quote object will have a downloadable URL instead of an address

B.

The quote object will not have shipping address

C.

The quote object will not have any address

D.

The quote object will not have a billing address

Full Access
Question # 14

Magento allows you to specify custom values per store for product attributes created in the admin panel.

Which architectural pattern makes it possible?

A.

Store Manager

B.

Extension Attribute

C.

Entity Attribute Value

D.

Dependency Injection

Full Access
Question # 15

You are adding a new menu item to the admin backend which will link to a custom backend page.

The declaration of the route:

Magento-2-Certified-Associate-Developer question answer

What do you specify as the menu item action attribute value so it links to /admin/mycompany/mymodule/?

A.

action=”adminhtml/mycompany/mymodule/”

B.

action=”admin/mycompany/mymodule/”

C.

It is not possible without extending the adminhtml route in routes.xml

D.

action=”mycompany/mymodule/”

Full Access
Question # 16

What scopes are available for customer attributes?

A.

Global only

B.

Website only

C.

Global and Website

D.

Global, Website and Store

Full Access
Question # 17

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?

A.

Controller/Custom/Index.php

B.

Controller/Custom.php

C.

Controller/MyModule/Custom/Index.php

D.

Controller/Frontend/MyModule/Custom.php

Full Access
Question # 18

A merchant is interested in setting different prices for the same products in different store scopes.

What do you reply to this inquiry?

A.

The prices can only be scoped per website or globally

B.

The prices can be scoped per store

C.

The price scope can be set to store but this will lead to performance degradation of category pages

D.

The prices do not support scopes

Full Access
Question # 19

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?

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 http://example.com/rest/V1/acl/resources

Full Access
Question # 20

You are working on a Magento store which will be selling in two countries. Each country has its own set of payment methods.

How do you organize the project to support this requirement?

A.

Create one website, two payment scopes

B.

Create one website, one store view

C.

Create one website, two store views

D.

Create two websites, two store views

Full Access
Question # 21

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 # 22

You added a new constructor argument to an existing action controller class.

When you reload the page you get a PHP error that the wrong argument is passed to the class.

How do you fix this?

A.

Clean the page cache

B.

Deploy static content

C.

Clean the /generated/ folder

D.

Clean the config cache

Full Access
Question # 23

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 # 24

The module MyCompany_MyModule will add a new page to the admin interface at the URL path admin/mycompany/entity_grid.

How do you name the file containing the action controller class so the admin router matches the path to the class?

A.

Controller/Adminhtml/Entity/Grid/Index.php

B.

Controller/Adminhtml/Mycompany/Entity/Grid.php

C.

Controller/Adminhtml/Entity/Grid.php

D.

Controller/Adminhtml/Mycompany/Entity_Grid.php

Full Access
Question # 25

You are adding an entry to the backend menu. To do so you open a core etc/adminhtml/menu.xml file as a reference. In the file you see the node:

Magento-2-Certified-Associate-Developer question answer

What is the result of specifying resource=”Magento_Catalog::catalog”?

A.

The menu item will only be visible to users who are assigned to a role with access to the matching ACL resource

B.

The menu item will only be visible if the class method specified by the resource returns a true value

C.

The last selected menu item for a user is stored in the DB so the previously visited page can be restored on the next login

D.

The resource is used to locate the correct translation for the attributes listed in title=”…”

Full Access
Question # 26

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

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

Full Access
Question # 27

You have created a module with a custom ACL resource and want to restrict access to resources of your module.

Which three items are restricted based on ACL role permissions? (Choose three.)

A.

CLI Commands

B.

Webapi resources

C.

Storefront login

D.

System configuration sections

E.

Adminhtml controllers

Full Access
Question # 28

Which method of a Magento resource model will remove a record from the database?

A.

remove

B.

erase

C.

clean

D.

delete

Full Access
Question # 29

A module you are developing requires the addition of new routes that should be accessible in the store front.

Where do you define your module’s frontName?

A.

etc/frontend/routes.xml

B.

etc/frontend/config.xml

C.

etc/config.xml

D.

etc/routes.xml

Full Access
Question # 30

\Magento\Sales\Model\Api\OrderRepositoryInterface::getList accepts a SearchCriteriaInterface to filter and sort information.

What class assists in creating an instance for SearchCriteriaInterface?

A.

\Magento\Framework\Api\SearchCriteriaFactory

B.

\Magento\Framework\Api\SearchCriteriaBuilder

C.

\Magento\Sales\Model\Order\SearchCriteria

D.

\Magento\Backend\Api\SearchCriteriaGenerator

Full Access