A module you are developing requires the addition of new routes that should be accessible in the store front.
Where do you define your module's frontName?
A. etc/frontend/routes.xml
B. etc/frontend/config.xml
C. etc/config.xml
D. etc/routes.xml
You are reviewing a Magento module and see a directory named Service. What can you determine from this directory's name?
A. It is where the API response cache is stored
B. It is where API-related configuration resides
C. It is where the module's service contracts are stored
D. You need to review the files in this folder to understand its purpose
A merchant is interested in setting different prices for the same products in different store scopes. What do you reply to this inquiry?
A. The prices can only be scoped per website or globally
B. The prices can be scoped per store
C. The price scope can be set to store but this will lead to performance degradation of category pages
D. The prices do not support scopes
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.)
A. CLI Commands
B. Webapi resources
C. Storefront login
D. System configuration sections
E. Adminhtml controllers
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. Using custom options, with rings as simple products
B. Using categories, with each ring size as a separate product
C. Using configurable products, with ring size as an attributive value
D. Using custom options, with rings as bundle products
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?
A. etc/frontend.xml
B. etc/events.xml
C. etc/config.xml
D. etc/frontend/events.xml
You added a plugin declaration to MyCompany/MyModule/etc/di.xml:
What will be the effect of this declaration?
A. An exception because plugins must not be applied to the interfaces
B. An exception because of the syntax error in the declaration
C. The plugin will be ignored because ActionInterface will never be instantiated directly
D. The plugin will be applied to all implementors of the ActionInterface
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. action="adminhtml/mycompany/mymodule/"
B. action="admin/mycompany/mymodule/"
C. It is not possible without extending the adminhtml route in routes.xml
D. action="mycompany/mymodule/"
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?
A. Controller/Custom/Index.php
B. Controller/Custom.php
C. Controller/MyModule/Custom/Index.php
D. Controller/Frontend/MyModule/Custom.php
What is a valid use case for an around plugin?
A. The execution of the pluginized method must be suppressed
B. The arguments of the before plugins must be modified
C. The arguments of the after plugins must be modified
D. The execution of the before and after plugins must be suppressed
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Magento exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your MAGENTO2-CERTIFIED-ASSOCIATE-DEVELOPER exam preparations and Magento certification application, do not hesitate to visit our Vcedump.com to find your solutions here.