Exam 4: Magento 2 Certified Associate Developer

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

Which entity in Magento supports scoped attributes?

(Multiple Choice)
4.7/5
(37)

You got a notification about error that occurred on a production environment. The merchant gave you the error identifier. How do you find the error message based on the identifier?

(Multiple Choice)
4.8/5
(38)

Magento allows you to specify custom values per store for product attributes created in the admin panel. Which architectural pattern makes it possible?

(Multiple Choice)
4.8/5
(45)

A Magento industry partner shipping provider has tasked you to build their integration module called MyCompany_ShippingProvider. Where do you define the class that provides options for the select field that enables or disables the provider in the file etc/adminhtml/system.xml?

(Multiple Choice)
4.9/5
(35)

Which method of a Magento resource model will remove a record from the database?

(Multiple Choice)
4.8/5
(35)

How do you set the custom block MyCompany\MyModule\Block\A as a child for the block named product.info using layout XML?

(Multiple Choice)
5.0/5
(35)

How do you pass an array ['one', 'two] as a parameter to you block using the layout XML arguments directive? How do you pass an array ['one', 'two] as a parameter to you block using the layout XML arguments directive?

(Multiple Choice)
4.8/5
(42)

A merchant is interested in setting different prices for the same products in different store scopes. What do you reply to this inquiry?

(Multiple Choice)
4.8/5
(30)

You have created a module controller that responds to the following URL: /mycompany/product/load/id/123. Which two methods will load the product model by ID as specified in the URL? (Choose two.)

(Multiple Choice)
4.9/5
(32)

You added a plugin declaration to MyCompany/MyModule/etc/di.xml: You added a plugin declaration to MyCompany/MyModule/etc/di.xml:   What will be the effect of this declaration? What will be the effect of this declaration?

(Multiple Choice)
4.8/5
(37)

A merchant asks you to extend customer functionality to allow customer accounts to be associated with two or more billing addresses. How is this implemented?

(Multiple Choice)
4.8/5
(38)

A module you are working on needs to send a newsletter to all subscribed customers at predefined intervals. Which two actions do you take to make sure the newsletter is sent? (Choose two.)

(Multiple Choice)
4.8/5
(44)

A third-party module uses a layout update that changes the template path for a core block from product/view/addto/compare.phtml of the Magento_Catalog module to custom/view/addto/compare.phtml of your custom module. The merchant has a customized version of this template in their custom theme. What is a consequence of this setup?

(Multiple Choice)
4.9/5
(42)

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?

(Multiple Choice)
4.8/5
(36)

You added a new constructor argument to an existing action controller class. When you reload the page you get a PHP error that the wrong argument is passed to the class. How do you fix this?

(Multiple Choice)
4.8/5
(33)

What will be the result of calling the save() method on a collection instance?

(Multiple Choice)
4.8/5
(31)

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?

(Multiple Choice)
4.8/5
(45)

You are adding a new menu item to the admin backend which will link to a custom backend page. The declaration of the route: 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/? What do you specify as the menu item action attribute value so it links to /admin/mycompany/mymodule/?

(Multiple Choice)
4.9/5
(42)

You have been asked to display details from the customer's latest order on the customer's account dashboard (customer/account/). You create a new custom template to show the information. How do you obtain an order repository so you can fetch an order?

(Multiple Choice)
4.7/5
(38)

The module MyCompany_MyModule will add a new page to the admin interface at the URL path admin/mycompany/entity_grid. How do you name the file containing the action controller class so the admin router matches the path to the class?

(Multiple Choice)
4.7/5
(37)
Showing 81 - 100 of 102
close modal

Filters

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