Magento 2 Certified Associate Developer - Magento-2-Associate-Developer Exam Practice Test
While developing a module you need to modify an existing Data Patch.
How can you force Magento to execute an existing Data Patch file again?
How can you force Magento to execute an existing Data Patch file again?
Correct Answer: C
You are building a report using complex SQL aggregations to locate the required data.
In what type of class do you put these SQL statements?
In what type of class do you put these SQL statements?
Correct Answer: A
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
What will be the result of calling the save() method on a collection instance?
Correct Answer: C
In layout files you can change al element's order on a page. This can be done using one of the following:
* <move> instruction
* before and after element attributes?
How are two methods different?
* <move> instruction
* before and after element attributes?
How are two methods different?
Correct Answer: B
You are reviewing a Magento module and see a directory named Service.
What can you determine from this directory's name?
What can you determine from this directory's name?
Correct Answer: C
Which entity in Magento supports scoped attributes?
Correct Answer: B
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
You are adding a child node to the product.info block using the XML:

How will this block be rendered?

How will this block be rendered?
Correct Answer: A
In the module located at app/code/MyCompany/MyModule there is a JS module in the file view/frontend/web/register.js. The Magento base URL is https://magento.host/ and the luma theme with the en_US locate is used.
What is the public URL for this file?
What is the public URL for this file?
Correct Answer: B