Magento 2 Certified Associate Developer - Magento-2-Associate-Developer Exam Practice Test
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 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: A,B
How do you obtain customer information in a JavaScript module?
Correct Answer: B
A merchant gives you the module MyCompany_MyModule to install.
How do you identify which REST endpoints are supported by the module?
How do you identify which REST endpoints are supported by the module?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You need to find all orders in the processing state. You have written the code:

How do you resolve the exception?

How do you resolve the exception?
Correct Answer: B
In a custom module you are adding a new field to the store configuration. The field will set the value for the configuration path mycompany/mymodule/myoption.
How do you supply the default value for that configuration option?
How do you supply the default value for that configuration option?
Correct Answer: D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).