Magento 2 Certified Associate Developer Magento-2-Certified-Associate-Developer Exam Questions

Page: 1 / 14
Total 103 questions
Question 1

You have been asked to display details from the customer's latest order on the customer's account dashboard (customer/account/). You create a new custom template to show the information.

How do you obtain an order repository so you can fetch an order?



Answer : C


Question 2

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.)



Answer : B, D


Question 3

A third-party module uses a layout update that changes the template path for a core block from product/view/addto/compare.phtml of the Magento_Catalog module to custom/view/addto/compare.phtml of your custom module. The merchant has a customized version of this template in their custom theme.

What is a consequence of this setup?



Answer : A


Question 4

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?



Answer : A


Question 5

How can you access the select query of a collection?



Answer : C


Question 6

What will be the result of calling the save() method on a collection instance?



Answer : B


Question 7

What is the connection between product attribute sets and categories?



Answer : D


Page:    1 / 14   
Total 103 questions