Exam 4: Magento 2 Certified Associate Developer

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

You want to remove a column introduced by a third-party extension via declarative schema. How do you do that?

(Multiple Choice)
4.8/5
(37)

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 locate is used. What is the public URL for this file?

(Multiple Choice)
4.8/5
(43)

You have created a module with a custom ACL resource and want to restrict access to resources of your module. Which three items are restricted based on ACL role permissions? (Choose three.)

(Multiple Choice)
4.9/5
(34)

You are reviewing a Magento module and see a directory named Service. What can you determine from this directory's name?

(Multiple Choice)
4.8/5
(49)

A module declares the route: A module declares the route:   What is the layout handle of the storefront path /custom/feature/? What is the layout handle of the storefront path /custom/feature/?

(Multiple Choice)
4.7/5
(34)

During a code review of a module MyCompany_PaymentCurrencies you see a configuration field declared in the file etc/adminhtml/system.xml: During a code review of a module MyCompany_PaymentCurrencies you see a configuration field declared in the file etc/adminhtml/system.xml:   What is the consequence of the attribute showInStore being set to 0? What is the consequence of the attribute showInStore being set to 0?

(Multiple Choice)
4.7/5
(40)

You have loaded an instance of Magento\Catalog\Model\Product in the $product variable. You know that the loaded product has the type configurable with four variations. These variations have the prices: $10, $12, $12, $15. What will be the result of the $product->getFinalPrice() call?

(Multiple Choice)
4.9/5
(37)

How can you render a text on a page using only layout xml?

(Multiple Choice)
5.0/5
(35)

A merchant tasked you to add an input field for notes to the Customer Account Information backend page. Which three actions do you specify in a module's Data Patch to add a customer notes attribute? (Choose three.)

(Multiple Choice)
4.8/5
(33)

While reviewing a layout file named sales_order_view.xml you notice the element <update handle="customer_account"/> What is the purpose of this element?

(Multiple Choice)
4.9/5
(38)

Which three scopes can be used to set different System Configuration values in Magento? (Choose three.)

(Multiple Choice)
4.9/5
(31)

Where do you change the frontName for the admin router?

(Multiple Choice)
4.8/5
(31)

You are tasked with ensuring customers who log into the site are authorized. By default, this consists of ensuring the customers email and password match the values in the database. On this project, you need to verify additional data in this process. Keeping in mind upgradeability, how is this done?

(Multiple Choice)
4.9/5
(32)

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

(Multiple Choice)
4.8/5
(36)

You have created a custom module which must perform an action immediately after an order is placed, but only on the store front of the merchant site. You have selected the checkout_submit_all_after as the target event which the module will observe. In which file will the event observer be declared?

(Multiple Choice)
4.9/5
(28)

Your module adds a new controller class which will return a JSON response. What will be the return type of the execute method?

(Multiple Choice)
4.9/5
(40)

While developing a module you need to modify an existing Data Patch. How can you force Magento to execute an existing Data Patch file again?

(Multiple Choice)
4.9/5
(36)

You have been given the task of importing products from an external source. You decide to create a custom module to do this. The class handling the import creates a product for each record, sets the data on it and saves it to the database. What do you inject into a constructor to represent each product you create?

(Multiple Choice)
4.8/5
(44)

You are working on a new entity called vendor. You implemented the model, resource model and collection. You want to ensure that standard model events will be fired for your model, so an observer can be created for the events vendor_save_after, vendor_save_commit_after and others. How do you do that?

(Multiple Choice)
4.9/5
(33)

You need to add a new text attribute to all products in the Magento store. When this attribute is displayed on the product page, its values must be different depending on the selected language. Keeping simplicity in mind, how do you add this attribute?

(Multiple Choice)
4.9/5
(33)
Showing 21 - 40 of 102
close modal

Filters

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