Exam Details

  • Exam Code
    :MAGENTO2-CERTIFIED-ASSOCIATE-DEVELOPER
  • Exam Name
    :Magento 2 Certified Associate Developer
  • Certification
    :Magento Certification
  • Vendor
    :Magento
  • Total Questions
    :103 Q&As
  • Last Updated
    :May 14, 2024

Magento Magento Certification MAGENTO2-CERTIFIED-ASSOCIATE-DEVELOPER Questions & Answers

  • Question 21:

    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?

    A. composer.json

    B. etc/module.xml

    C. etc/config.xml

    D. etc/di.xml

  • Question 22:

    What is the difference between online and offline shipping methods?

    A. Online means that a shipment will have a tracking number, and offline means no tracking numbers are available

    B. Online means Magento will use a shipping carrier's API to obtain rates, offline means Magento will calculate the rates internally

    C. Online means that an item's shipping will be processed by the merchant, offline means that it will be processed by the customer

    D. Online means that it will be sent to the customer using a shipping carrier, offline means the customer will pick up the order in person

  • Question 23:

    What happens when a category's is_anchor attribute is set to 1?

    A. Products without a specified category will be associated with this category

    B. The customer will see all products from all children of the category

    C. This is the default category for a website

    D. The category will always be visible in the menu

  • Question 24:

    A merchant sells shoes with multiple variations such as a color and size. A shoe is represented by a configurable product. There are seven different colors and four sizes.

    What is the minimal amount of simple products that represent a combination of color and size needs to be created in order to make a shoe salable?

    A. Each color and size must have at least one representation, so a minimum of seven products is needed

    B. One simple product that represents a combination of color and size is enough

    C. A product may be purchased even without any combination available. The color and size may be adjusted during order fulfillment

    D. A simple product for every combination must be created

  • Question 25:

    You are debugging a problem resulting from a recently deployed around plugin. The plugin is intercepting the doSomething method. The aroundDoSomething plugin method is called successfully, but the original doSomething method is no longer being executed as expected.

    What is causing this?

    A. The sort order of the plugin is too high and supersedes the priority of the intercepted method

    B. The plugin implementation returned something other than its callable argument

    C. The plugin implementation is skipping the execution of its callable argument

    D. The plugin implementation overlooked using the AbstractPlugin parent class

  • Question 26:

    The module MyCompany_MyModule will add a new page in the admin interface to display a custom entity in a grid.

    You created a controller for this grid \MyCompany\MyModule\Controller\Adminhtml\CustomEntity\Index

    Which two actions are required to make the new page accessible at the https://your.store.base.url/admin/ my_module/custom_entity URL? (Choose two.)

    A. Register my_module route for the AdminRouter in MyCompany/MyModule/etc/adminhtml/di.xml

    B. Create a new menu item in MyCompany/MyModule/etc/adminhtml/menu.xml

    C. Specify the my_module/custom_entity URL using a @route annotation in the action controller execute() method

    D. Register my_module route in MyCompany/MyModule/etc/adminhtml/routes.xml

  • Question 27:

    How do you persist an entity to the database?

    A. Calling the store() method on the entity's model

    B. Calling the update() method on the entity's collection

    C. Calling the persist() method on the entity's repository

    D. Calling the save() method on the entity's repository

  • Question 28:

    In a custom module you are adding a new field to the store configuration. The field will set the value for the configuration path mycompany/mymodule/myoption.

    How do you supply the default value for that configuration option?

    A. In the config/default/mycompany/mymodule/myoption node in the etc/config.xml file

    B. In the system/mycompany/group/mymodule/field/myoption node in the etc/system.xml file

    C. In the menu/default/section/group/field node in the file etc/adminhtml/menu.xml

    D. In the system/section/group/field/value node in the etc/adminhtml/system.xml file

  • Question 29:

    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?

    A. Declare a new preference for the LoggerInterface in app/code/myCompany/MyModule/etc/frontend/ di.xml

    B. Declare a new preference for the LoggerInterface in MyCompany/MyModule/etc/di.xml

    C. Overwrite the existing preference for the LoggerInterface in app/etc/di.xml

    D. Declare a new preference for the LoggerInterface in app/code/MyCompany/MyModule/etc/global/di.xml

  • Question 30:

    You are working on a custom web API endpoint and have configured it in etc/webapi.xml. This config is cached as part of the config_webservice cache type.

    Keeping performance in mind, how do you refresh the cached version of this config using Magento CLI?

    A. cache:clean config_webservice

    B. cache:refresh config_webservice

    C. cache:flush

    D. cache:purge

Tips on How to Prepare for the Exams

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.