Magento 2 Certified Associate Developer (Magento-2-Certified-Associate-Developer) Free Practice Test
Question 1
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?
How do you name the file containing the action controller class so the admin router matches the path to the class?
Correct Answer: B
Question 2
How do you obtain customer information in a JavaScript module?
Correct Answer: A
Question 3
You have created a module controller that responds to the following URL: /mycompany/product/load/id/123.
Which two methods will load the product model by ID as specified in the URL? (Choose two.)
Which two methods will load the product model by ID as specified in the URL? (Choose two.)
Correct Answer: B,D
Question 4
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"?

What is the result of specifying resource="Magento_Catalog::catalog"?
Correct Answer: B
Question 5
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 customer added both configurables to the cart with the same selected variation?
How will they be displayed?
Correct Answer: C
Question 6
How do you add a foreign key to an existing table created by another module?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).