Exam 4: Magento 2 Certified Associate Developer

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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

(Multiple Choice)
4.9/5
(40)

You are creating a new page layout for your custom module. What is the primary difference between container and block elements?

(Multiple Choice)
4.9/5
(33)

A merchant gives you the module MyCompany_MyModule to install. How do you identify which REST endpoints are supported by the module?

(Multiple Choice)
4.8/5
(31)

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?

(Multiple Choice)
4.8/5
(48)

You need to find all orders in the processing state. You have written the code: You need to find all orders in the processing state. You have written the code:   When you run the code, you get the following exception:   How do you resolve the exception? When you run the code, you get the following exception: You need to find all orders in the processing state. You have written the code:   When you run the code, you get the following exception:   How do you resolve the exception? How do you resolve the exception?

(Multiple Choice)
4.7/5
(32)

You are reviewing a theme in app/design/frontend/MyCompany/MyTheme and see the file etc/view.xml. What is the function of this file?

(Multiple Choice)
4.9/5
(36)

In the module located at app/code/MyCompany/MyModule there is a JS module in the file view/frontend/web/register.js . The Magento base URL is https://magento.host/ and the luma theme with the en_US locale is used. What is the public URL for this file?

(Multiple Choice)
4.9/5
(38)

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?

(Multiple Choice)
4.8/5
(29)

You have created a new block and will be adding this block on every page. The block contains user-specific information and cannot be cached. The block is added to the default.xml with: You have created a new block and will be adding this block on every page. The block contains user-specific information and cannot be cached. The block is added to the default.xml with:   What does this accomplish? What does this accomplish?

(Multiple Choice)
4.9/5
(31)

You have to install a new module on the production environment. All the module is adding a new product attribute. You enabled maintenance mode, copied the module code, run bin/magento setup:upgrade and disabled maintenance mode. What two risks does this process pose? (Choose two.)

(Multiple Choice)
4.9/5
(39)

You have configured an event observer to watch the checkout_submit_all_after event using this XML: You have configured an event observer to watch the checkout_submit_all_after event using this XML:   What is the required class definition for the event observer? What is the required class definition for the event observer?

(Multiple Choice)
4.8/5
(42)

What is the difference between online and offline shipping methods?

(Multiple Choice)
4.7/5
(35)

You are developing a new theme which inherits from the Magento_Luma theme. How is this accomplished?

(Multiple Choice)
4.7/5
(37)

You are adding an entry to the backend menu. To do so you open a core etc/adminhtml/menu.xml file as a reference. In the file you see the node: You are adding an entry to the backend menu. To do so you open a core etc/adminhtml/menu.xml file as a reference. In the file you see the node:   What is the result of specifying resource=Magento_Catalog::catalog? What is the result of specifying resource="Magento_Catalog::catalog"?

(Multiple Choice)
4.8/5
(40)

A custom module needs to log all calls of \Magento\Customer\Api\AddressRepositoryInterface::save(). Which mechanism do you use?

(Multiple Choice)
4.8/5
(39)

You are developing a module and need to add another column to a table introduced by another module MyCompany_MyModule via db schema. How do you do that?

(Multiple Choice)
4.8/5
(37)

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?

(Multiple Choice)
4.8/5
(41)

In layout files you can change al element's order on a page. This can be done using one of the following: <move> instruction before and after element attributes? How are two methods different?

(Multiple Choice)
4.8/5
(42)

There are two different configurable products which both share one variation. The shared variation is represented by the same simple product. A customer added both configurables to the cart with the same selected variation? How will they be displayed?

(Multiple Choice)
4.8/5
(36)

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

(Multiple Choice)
4.8/5
(44)
Showing 41 - 60 of 102
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)