Pre-Summer Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Selected AD0-E704 Adobe Commerce Questions Answers

Page: 2 / 3
Total 89 questions

Adobe Certified Master - Adobe Commerce Architect Questions and Answers

Question 5

Suppose you are building an inquiry form using uicomponent. It has a feature that customer can edit the submitted data later if he wants to edit. What should the logic here to implement, in order to enable the form for re-edit:

Options:

A.

DataProvider class provides execute() method which is responsible for data loading.

B.

DataProvider class provides getDataSourceData() method which is responsible for data loading.

C.

DataProvider class provides prepare() method which is responsible for data loading.

D.

DataProvider class provides getData() method which is responsible for data loading.

Question 6

You are tasked to work on a message queue module. When looking at the queue configuration you see the following:

Keeping in mind maintainability, you change it to:

What will happen?

Options:

A.

This code will cancel all the topic starting with customer

B.

This code will not work as message queue does not allow # wildcard

C.

This code will replace all of the different topics as # is the symbol for everything

D.

This code will replace only some of the topics

Question 7

You have created a custom block MyCompany MyModule/Block/Product/Update/ php. Which two approaches allow you to set a template to your block?

Options:

A.

Create protected variable $_template

B.

Create template view /frontend/template/product/update, phtml

C.

Configure block's constructor $template parameter via di. xml

D.

Add an argument node in layout xml: <argument name="template" xsi: type="string">... </argument>

Question 8

You are working on a project with custom code located in an observer MyCompany\MyModule\Observer\Custom on the catalog_product_load_before event. How do you prevent your custom observer from being executed on a staging preview?

Options:

A.

By adding your observer to the bannedobserver parameter of Magento\staging\Model\Event\Manager using di. xml

B.

By moving your observer to the staged_catalog_product_load_before event

C.

By specifying an attribute excude_from_staging_previwe*=''i'' in the declaration of the observer in the events.xml file

D.

No action is required, the catalog_product_ioad_before event is excluded from the execution on staging preview

Page: 2 / 3
Total 89 questions