Real Magento 2 Certified Associate Developer Exam Questions

According to the introduction, Magento 2 Certified Associate Developer exam is for a developer who is beginning their career as a Magento Developer. If you are searching for real study materials for Magento 2 Certified Associate Developer exam, we recommend you Real Magento 2 Certified Associate Developer Exam Questions, which come with 103 practice questions and answers for your good preparation. We ensure that you can pass Magento 2 Certified Associate Developer exam successfully.

Free Magento 2 Certified Associate Developer Exam Questions Online

1. Products may be accessed using SEO friendly URLs like /my-product instead of /catalog/product/view/id/ {ID}

How is this one?

 
 
 
 

2. You are setting up a brand new Magento installation for a merchant who is migrating from Magento 1 to Magento 2.

Keeping in mind upgradability and the need to customize, which one do you choose?

 
 
 
 

3. How many shipping addresses may be selected for an order during the checkout process?

 
 
 
 

4. You have created a new section in system configuration under the Catalog tab:

How do you restrict an access to the section using Magento ACL?

A)

B)

C)

D)

5. A module you are working on needs to send a newsletter to all subscribed customers at predefined intervals.

Which two actions do you take to make sure the newsletter is sent? (Choose two.)

 
 
 
 

6. What is the connection between product attribute sets and categories?

 
 
 
 

7. How can you access the select query of a collection?

 
 
 
 

8. You are developing a module MyCompany_StoreInfo to display information about brick and mortar stores on a frontend page. The displayed information varies based on the country of a given store.

What two elements automatically render their children? (Choose two.)

 
 
 
 

9. Assume that $collection is a new instance of a class that extends MagentoFrameworkModelResourceModelDbCollectionAbstractCollection, and $ids is an array of ids.

How do you select a list of records from the database where the record ids are in the $ids list?

 
 
 
 

10. While reviewing a layout file named sales_order_view.xml you notice the element <update handle=”customer_account”/>

What is the purpose of this element?

 
 
 
 

11. You have to install a new module on the production environment. All the module is adding a new product attribute. You enabled maintenance mode, copied the module code, run bin/magento setup:upgradeand disabled maintenance mode.

What two risks does this process pose? (Choose two.)

 
 
 
 

12. Magento 2’s architecture uses code to bootstrap a custom module that resides in app/code.

What two files are required to make a module usable? (Choose two.)

 
 
 
 

13. How does Magento store customer address attribute values?

 
 
 
 

14. You are developing a module and need to add another column to a table introduced by another module MyCompany_MyModulevia db schema.

How do you do that?

 
 
 
 

15. You need to add a new text attribute to all products in the Magento store. When this attribute is displayed on the product page, its values must be different depending on the selected language.

Keeping simplicity in mind, how do you add this attribute?

 
 
 
 

16. 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.phtmlof your custom module. The merchant has a customized version of this template in their custom theme.

What is a consequence of this setup?

 
 
 
 

17. You are adding a child node to the product.info block using the XML:

How will this block be rendered?

 
 
 
 

18. You are implementing a before plugin in MyCompany_Magic. It will intercept the same method that MyCompany_Admissionis already intercepting using a before plugin: Topmenu::getBlockHtml

Which two actions are required to ensure the new plugin will execute last? (Choose two.)

 
 
 
 

19. In the module located at app/code/MyCompany/MyModulethere 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?

 
 
 
 

20. During a code review of a module MyCompany_PaymentCurrencies you see a configuration field declared in the file etc/adminhtml/system.xml:

What is the consequence of the attribute showInStore being set to 0?

 
 
 
 

21. You need to find all orders in the processing state. You have written the code:

How do you resolve the exception?

 
 
 
 

22. A merchant tasked you to add an input field for notes to the Customer Account Information backend page.

Which three actions do you specify in a module’s Data Patch to add a customer notes attribute? (Choose three.)

 
 
 
 
 

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

 
 
 
 

24. How do you pass an array [‘one’, ‘two] as a parameter to you block using the layout XML arguments directive?

 
 
 
 

25. You are developing a new theme which inherits from the Magento_Luma theme.

How is this accomplished?

 
 
 
 

26. You are tasked to install an extension to the merchant’s Magento instance.

The extension is developed by the company called MyCompany and its codebase is available from all four locations listed below.

Which two installations options do you choose from to prevent version conflicts during upgrade? (Choose two.)

 
 
 
 

27. A module MyModule needs to send notifications to customers only when the account was modified from a mobile app using the REST web APIs.

You decided to implement an observer for customer_save_after_data_object event.

In which file do you declare the observer?

 
 
 
 

28. 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?

 
 
 
 

29. MagentoSalesModelApiOrderRepositoryInterface::getList accepts a SearchCriteriaInterface to filter and sort information.

What class assists in creating an instance for SearchCriteriaInterface?

 
 
 
 

30. Which method of a Magento resource model will remove a record from the database?

 
 
 
 

31. In a code review of a merchant’s site you have discovered that there are multiple observers for the checkout_submit_all_after event. After closer inspection, you notice one of these observers is relying on the others being executed before it is called.

What risk does this pose, and how can it be mitigated?

 
 
 
 

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

 
 
 
 

33. What scopes are available for customer attributes?

 
 
 
 

34. What is a valid use case for an aroundplugin?

 
 
 
 

35. 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?

 
 
 
 

36. You are adding a new menu item to the admin backend which will link to a custom backend page.

The declaration of the route:

What do you specify as the menu item action attribute value so it links to /admin/mycompany/mymodule/?

 
 
 
 

37. You added a plugin declaration to MyCompany/MyModule/etc/di.xml:

What will be the effect of this declaration?

 
 
 
 

38. You have created a custom module which must perform an action immediately after an order is placed, but only on the store front of the merchant site. You have selected the checkout_submit_all_after as the target event which the module will observe.

In which file will the event observer be declared?

 
 
 
 

39. You are working on a jewelry store that sells rings. Each ring allows an adjustment in size. The customer specifies finger size in inches and the merchant physically adjusts the stocked ring to the required size.

How is this represented in Magento?

 
 
 
 

40. You have created a module with a custom ACL resource and want to restrict access to resources of your module.

Which three items are restricted based on ACL role permissions? (Choose three.)

 
 
 
 
 

41. A merchant is interested in setting different prices for the same products in different storescopes.

What do you reply to this inquiry?

 
 
 
 

Real Magento Certified Professional Cloud Developer Exam Dumps

Add a Comment

Your email address will not be published. Required fields are marked *