magento MAGENTO 2 CERTIFIED ASSOCIATE DEVELOPER Exam Questions

Questions for the MAGENTO 2 CERTIFIED ASSOCIATE DEVELOPER were updated on : Nov 21 ,2025

Page 1 out of 7. Viewing questions 1-15 out of 103

Question 1

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

D

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 2

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

B

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 3

What is the relationship between products and categories in Magento?

  • A. Products may be assigned to zero or more categories
  • B. Product to category relation is dynamically defined by Catalog Product Rules
  • C. Each product belongs to zero or one category
  • D. Each product always belongs to one category
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 4

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

B

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 5

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

A

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 6

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

B,D

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 7

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:

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=”…”
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 8

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

A

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 9

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

C

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 10

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

B

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 11

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. <upload_model>\Magento\Config\Model\Config\Upload\File</upload_model>
  • B. <frontend_model>\Magento\Config\Model\Config\Frontend\File</frontend_model>
  • C. <backend_model>\Magento\Config\Model\Config\Backend\File</backend_model>
  • D. <source_model>\Magento\Config\Model\Config\Source\File</source_model>
Answer:

C

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 12

You are adding a new entry to the backend menu that appears after
Marketing > SEO & Search > Site Map
You see the existing site map menu item is declared by the node:

What two actions do you take to configure the new menu entry location? (Choose two.)

  • A. Specify item XML in the file etc/adminhtml/menu/marketing/seo/menu.xml
  • B. Specify parent=”Magento_Sitemap::catalog_sitemap”
  • C. Specify parent=”Magento_Backend::marketing_seo”
  • D. Specify sortOrder=”100”
Answer:

A,D

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 13

A module declares the route:

What is the layout handle of the storefront path /custom/feature/?

  • A. mymodule_feature
  • B. custom_feature
  • C. mymodule_feature_index
  • D. custom_feature_index
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 14

You are reviewing a theme in app/design/frontend/MyCompany/MyTheme and see the file
etc/view.xml.
What is the function of this file?

  • A. It configures Grunt to compile assets for the theme
  • B. It stores theme and image configuration values
  • C. It specifies the applicable CSS files for the theme
  • D. It informs Magento that the theme is present and available for use
Answer:

B

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000

Question 15

A merchant asks you to extend customer functionality to allow customer accounts to be associated
with two or more billing addresses.
How is this implemented?

  • A. By adding the attribute like customer_address_billing2 and customizing both My Account and Checkout functionality to use that new attribute
  • B. By changing the System Configuration setting: Customer>Allow multiple billing addresses to Yes
  • C. By altering the customer_entity table, adding the field billing_address2, and customizing both My Account and Checkout functionality to use that new field
  • D. This is out-of-the box functionality
Answer:

A

User Votes:
A
50%
B
50%
C
50%
D
50%
Discussions
vote your answer:
A
B
C
D
0 / 1000
To page 2