Magento 2 Certified Associate Developer Exam
Last Update Apr 5, 2024
Total Questions : 103
We are offering FREE Magento-2-Certified-Associate-Developer Magento exam questions. All you do is to just go and sign up. Give your details, prepare Magento-2-Certified-Associate-Developer free exam questions and then go for complete pool of Magento 2 Certified Associate Developer Exam test questions that will help you more.
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?
Which two ways does Magento persist category relationships in the database? (Choose two.)
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?
A merchant gives you the module MyCompany_MyModule to install.
How do you identify which REST endpoints are supported by the module?
A custom module needs to log all calls of \Magento\Customer\Api\AddressRepositoryInterface::save().
Which mechanism do you use?
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?
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/?
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?
You have been given the task of importing products from an external source. You decide to create a custom module to do this. The class handling the import creates a product for each record, sets the data on it and saves it to the database.
What do you inject into a constructor to represent each product you create?
The module MyCompany_MyModule provides custom admin interface pages.
Access to these pages should only be granted to specific users.
You add the required configuration to the module’s acl.xml file, but the setting does not seem to work as expected.
How do you visually check if Magento evaluates your ACL resource as expected?
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?
You added a new constructor argument to an existing action controller class.
When you reload the page you get a PHP error that the wrong argument is passed to the class.
How do you fix this?
You have added a new attribute origin of the type varchar to the product entity.
Which two calls will filter a product collection with origin set to “California”? (Choose two.)
Assume that $collection is a new instance of a class that extends
Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection, 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?