Summer Special Limited Time 55% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 28285818

Home > Adobe > Adobe Commerce > AD0-E704

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

Question # 4

A merchant has created a segment that applies to registered customers whose gender is female. You then migrate customers by copying data directly from one database to another. What two ways are used to assign migrated customers with a female gender to the segment?

A.

They will be automatically assigned by a cron job at the scheduled time

B.

Run bin Mgento index:reinde.\ customer_segment

C.

Click on the Refresh Segment Data button in the Admin

D.

Re-save the customer segment in the Admin

Full Access
Question # 5

In homepage, you need to add inline css in the body tag. What should be the correct way of doing this using layout XML file cms_index_index.xml:

A.

B.

C.

D.

Full Access
Question # 6

Suppose you are tasked with update a product price to 10% more and it's cart rule to provide 5% discount after 2 month. So after this timeperiod, product price and cart rule must be activated workign in the frontend for users. Which Magento feature you should use to do the above task?

A.

Use “Schedules Update” feature provided by the “Magento Staging” module.

B.

Use “Schedules Update” feature provided by the “Magento Sales” module.

C.

Use “Schedules Update” feature provided by the “Magento Catalog” module.

D.

We can’t set any “schedule update” in future date for product or cart rule data.

Full Access
Question # 7

You are implementing a custom module MyCompany_MyModule which displays a new link in the Action column in the Orders grid. The purpose of this link is to synchronize the order summary data with an ERP system. You must make permissions to use this link manageable with the Magento ACL.

Which two steps are required to do this?

A.

Add a plugin On \Magento\Sales\Ui\Component\Listing\Column\ViewAction: :prepareDataSource to add link and Check permission

B.

Add the configuration of the new link with aclResource value for the sales_order_grid. xmi

C.

Add a controller MyCompany\MyModule\Controller\Adminhtml\Synchronize\Orders and specify a valid value for the ADMIN_REROURCE Constant

D.

Add a plugin on the grid\Magento\Framework\view\Eiement\UIComponent\DataProvider\DataProvider to add the link and check permissions

Full Access
Question # 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:

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.

Full Access
Question # 9

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?

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

Full Access
Question # 10

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:

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.

Full Access
Question # 11

You defined a custom layout file 1column-2footers.xml under /view/frontend/layouts.xml. Now, what is the conventional path to creating the custom layout file 1column-2footers.xml?

A.

/view/frontend/page_layout

B.

/view/frontend/layout

C.

/etc/frontend/page_layout/

D.

/etc/frontend/layout

Full Access
Question # 12

You are working on a customization that requires a list of shipping rates available to a user. Which call returns the list of shipping rates?

A.

\Magento\Checkout\Api\ShippingInformationManagementInterface::getRates

B.

\Magento\Quote\Model\Quote::getShippingRates

C.

\Magento\Quote\Model\Quote\Address::getAllShippingRates

D.

\Magento\Shipping\Helper\Rates: :getAHRates

Full Access
Question # 13

You are integrating an external system from which products and categories will be synchronized with Magento.

To keep the category tree synchronized, an identifier attribute needs to be added to the catalog_category entity. The identifier value is generated by the external system as an unsigned 3 byte integer and is global in scope. Your code will run many concurrent queries to select categories based on this ID in order to synchronize changes.

Keeping performance in mind, what attribute backend type do you choose when creating the EAV attribute?

A.

int

B.

varchar

C.

static

D.

text

Full Access