Magento 2 Certified Associate Developer Exam Practice Test

Page: 1 / 14
Total 103 questions
Question 1

How do you add a new link into the My Account sidebar?



Answer : C


Question 2

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?



Answer : A


Question 3

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?



Answer : B


Question 4

How do you persist an entity to the database?



Answer : D


Question 5

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.)



Answer : C, D


Question 6

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?



Answer : C


Question 7

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?



Answer : A


Page:    1 / 14   
Total 103 questions