Magento Magento-2-Certified-Associate-Developer - Magento 2 Certified Associate Developer Exam
Total 103 questions
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?
How do you set the custom block MyCompany\MyModule\Block\A as a child for the block named product.info using layout XML?
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?
You are working on a project that contains a million SKUs. The merchant has requested the product view page to have a custom color schema and page layout depending on the product price range.
How do you implement this, keeping simplicity in mind?
A merchant requires the ability to configure contact information for their brick and mortar stores as a CSV file upload. The module already exists and contains an etc/adminhtml/system.xml file where the new field can be added.
How do you specify the class that will process the uploaded file?
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?
You are tasked with ensuring customers who log into the site are authorized. By default, this consists of ensuring the customers email and password match the values in the database. On this project, you need to verify additional data in this process.
Keeping in mind upgradeability, how is this done?
A merchant is interested in setting different prices for the same products in different store scopes.
What do you reply to this inquiry?
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/?
A custom module must make changes to the schema following each setup:upgrade run. This must be done after all other module’s schema updates have been applied.
How is this accomplished?