Online Access Free Magento-2-Certified-Associate-Developer Exam Questions
Exam Code: | Magento-2-Certified-Associate-Developer |
Exam Name: | Magento 2 Certified Associate Developer Exam |
Certification Provider: | Magento |
Free Question Number: | 105 |
Posted: | Sep 09, 2025 |
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?
You are writing a customization for the customer module. You need to make sure the configuration files from your module are loaded after the customer module's configuration.
Where should the dependency be declared?
You are implementing a custom module MyModule, which provides an implementation of
\Psr\Log\LoggerInterface called \MyCompany\MyModule\Logger.
The LoggerInterface has the default preference declared in app/etc/di.xml.
Keeping upgradability in mind, how do you make \MyCompany\MyModule\Logger the default implementation of the LoggerInterface globally?