Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 591klB651

Note! The AD0-E704 Exam is no longer available.

AD0-E704 Adobe Certified Master - Adobe Commerce Architect Questions and Answers

Questions 4

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.

Buy Now
Questions 5

You are working on a project where a custom option of type text for a certain product has been created. The merchant wants to customize the add to cart functionality for this product, such that products with different text for the custom option will be represented as separate shopping cart line items.

How does Magento split shopping cart line items for a product based on custom options?

Options:

A.

When values for custom options that change the price are different

B.

When value and price of a custom option that changes the price are different

C.

When a product has any custom option value it will be represented as a separate line item

D.

When values of any custom options are different

Buy Now
Questions 6

Suppose you need to add an admin grid using uiComponent. if page URL ends with banners/index/index, then which basic uiComponent you would use and what should be the page layout file:

Options:

A.

We can not define uiComponent file in a page-layout file.

B.

Form component in the banner_index_index.xml

C.

Listing component in the banner_index_index.xml

D.

Grid component in the banner_index_index.xml

Buy Now
Questions 7

A sample routes.xml looks like

AD0-E704 Question 7

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

Buy Now
Questions 8

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.

Buy Now
Questions 9

You are developing a new payment method. It is required that any new order created with this payment method needs to have a specific custom status. Assume the status has been added to the system already, assigned to the processing state, and the new order state for the payment method is processing. How do you set the custom status on orders placed with the new payment method?

Options:

A.

Add a custom status code to the Magento\Sales\Model\Order-\Payment class as a $newOrderStatus constructor parameter using di.xml

B.

Create a system configuration option order.status and set the status code as its value

C.

Create an observer for the event sales_order_set_status, get the $status parameter and set the new status using $status->setStatus()

D.

Create a command setOrderStatus and add it to a commandPool with a name set_status

Buy Now
Questions 10

Suppose you are asked to disable/remove the customer review related functionalities. You can not disable the review module directly because the customer module depends on it. What is the possible way to remove all HTML outputs of the review module, from the frontend and backend? :

Options:

A.

Turn-off Review module output globally by extending /vendor/magento/module-backend/etc/config.xml

B.

Turn-off Review module output globally by extending /vendor/magento/module-backend/etc/module.xml

C.

Create plugin or Override the

class \Magento\Framework\View\Element\AbstractBlock and toHtml() method, and implement the logic to return empty data in case of review module’s block instance is present.

D.

Create plugin or Override the

class \Magento\Backend\Block\Template and isOutputEnabled() method, and implement the logic to return false value in case of review module’s block instance is present.

Buy Now
Questions 11

Magento can load the configuration file di.xml area-specific. During bootstrapping, each application entry point loads the appropriate di.xml files for the requested area. Please select the set of correct areas, where this file can be loaded by Magento:

Options:

A.

adminhtml, frontend, webapi_rest, webapi_soap, crontab

B.

backend, frontend, webapi_rest, webapi_soap, crontab

C.

adminhtml, frontend, webapi_rest, webapi_soap, system

D.

backend, frontend, webapi_rest, webapi_soap, system

Buy Now
Questions 12

You created a custom page on the storefront and you have to render the price for a given product instance which is available in the $product variable. How do you render the price in a phtml template?

A)

AD0-E704 Question 12

B)

AD0-E704 Question 12

C)

AD0-E704 Question 12

D)

AD0-E704 Question 12

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Buy Now
Questions 13

A client uses an external PIM for managing product information. They want to run a cron job every minute to update and create products. The site is using the "Update by schedule" index mode and the full page cache is enabled.

What is required to make these updates visible on the frontend?

Options:

A.

The indexer_update_all_views cron will reindex the products and clean only the necessary entries from cache

B.

The indxer_update_all_views cron will reindex the products, however the full page cache will need to be manually flushed

C.

The indexer_update_all_views cron will reindex the products and clean the entire full page cache

D.

The cron job will also need to run a reindex and flush full page cache on each run for updates to be reflected on the front end of the website

Buy Now
Exam Code: AD0-E704
Exam Name: Adobe Certified Master - Adobe Commerce Architect
Last Update: Jan 26, 2024
Questions: 89
dumpsmate guaranteed to pass
24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 20 Apr 2024