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

Free and Premium Adobe AD0-E704 Dumps Questions Answers

Page: 1 / 3
Total 89 questions

Adobe Certified Master - Adobe Commerce Architect Questions and Answers

Question 1

After the installation of several 3rd-party extensions to the merchant's store, it was noticed the admin panel authentication consistently fails with the credentials used before. Where do you start debugging to understand why the authentication is failing?

Options:

A.

\Magento\Backend\App\Action\Composite\Authentication::dispatch

B.

\Magento\Backend\App\Act ion\Observer\Authentication::execute

C.

\Magento\Backend\App\Act ion\Plugin\Authentication::aroundDispatch

D.

\Magento\Backend\App\Act ion\AuthenticationWrapper::dispatch

Buy Now
Question 2

Suppose there are 3 classes: Class A, B and C. Class C have dependecy of Class A You need to overrride/change an argument of class A, create an object of it and inject in Class B in such a way that it should not affect the class C. What should be the magento standard way to do this:

Options:

A.

In module’s etc/di.xml, define virtualType node to override argument and create a subclass of A. Then use type node to pass the subclass A object into class B.

B.

In module’s etc/config.xml, define virtualType node to override argument and create a subclass of A. Then use type node to pass the subclass A object into class B.

C.

In module’s etc/system.xml, define virtualType node to override argument and create a subclass of A. Then use type node to pass the subclass A object into class B.

D.

In module’s etc/menu.xml, define virtualType node to override argument and create a subclass of A. Then use type node to pass the subclass A object into class B.

Question 3

You are reviewing a custom observer for the event sales_order_save_after which is fired when an order is placed on the storefront. The observer is sending a remote request to an analytics system with the order data.

What issue may this observer cause?

Options:

A.

In case of an error in the observer the order will not be saved in the database

B.

The payment status is not available at the moment when the order is saved

C.

The final price for the order is not available on the sales_order_save_after event

D.

This event will not be fired if the order is placed through the WebAPI

Question 4

Suppose you want to develope a custom extension that should provide product_redirect_links to amazon.com, ebay.com and other sites. Suppose this must be added using extension_attribute feature to make that availbe for product repository and services, then what are the customizations needed to develope it: Choose 2

Options:

A.

In your custom module, create etc/extension_attributes.xml, and define needed attribute_code under

extension_attributes for=”Magento\Catalog\Api\Data\ProductInterface”

B.

In your custom module create, etc/di.xml and add plugin code to join product_redirect_links attribute to ProductRepositoryList

type="Magento\ExternalLinks\Model\Plugin\Product\Repository"/>

C.

In your custom module create Setup/InstallSchema.php and add requried product attribute create code and run setup:upgrade.

D.

None of these

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

Question 9

The merchant is planning to use Special Product prices with the date range on their Magento Commerce website. How does Magento Commerce Edition process Special Prices?

Options:

A.

Magento includes Special Price in calculation of the final price which is performed on-the-fly on all pages

B.

Magento has special index tables dedicated to special price only which are joined when special price is active

C.

It creates a new scheduled update using Staging with the date range special_price_from to special_price_to

D.

It has a cron job which activates special prices when needed and runs a reindex

Question 10

A sample routes.xml looks like

What is the effect of the before attribute?

Options:

A.

Magento.Checkout Will be loaded before MyCompanv_MyModule

B.

Actions in MyCompany_MyModule Will match before actions in \lagento_Checkout

C.

Actions in Magento_Checkout Will match before actions in MyCompany_MyModule

D.

MyCompany.MyModule will be loaded before Magento.Checkout

Question 11

You are working on a Magento module for a merchant that does business in the UK. This module exposes a REST API endpoint for sending text messages to customers. There is an app based on this REST API which allows admin users to stay in touch with the customers. You would like to restrict the admin's ability to send text messages after work hours.

Keeping simplicity in mind, how do you implement this?

Options:

A.

Use the built-in scheduled ACL functionality to configure allow-deny rules in the admin panel

B.

Add the check directly to the service method implementation

C.

Implement a cron job to change the admin permissions twice a day for everyone who has these permissions set

D.

Add aclResolver="Mycompany\MyModule\Model\PathToAc1Resolver" declaration for the relevant methods in webapi. xbI

Question 12

You need to create a Magento CLI command to return information from the system. What two steps are necessary?

Options:

A.

Add your command to the \Magento\Framework\Console\CommandListInterface using di.xml

B.

Create a cli. xml that will declare the command to run

C.

Implement \Magento\Framework\console\Commandinterface to enable command auto-discovery

D.

Create your command class

Question 13

You want to display customized product list along with it's tier prices. To render this price which class should be used and which data needs to be provided ?

Options:

A.

In layout xml, use class= Magento\Catalog\Pricing\Render and

price_render argument= product.price.render.default

B.

In layout xml, use class= Magento\Catalog\Pricing\Render and

price_render argument= product.price.render.tier

C.

In layout xml, use class= Magento\Catalog\Pricing\Render and

price_render argument= product.price.render.simple

D.

None of these

Page: 1 / 3
Total 89 questions