Labour Day Sale Limited Time 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 713PS592

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

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

Questions 4

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
Questions 5

Suppose in a store there are 500 categories and it's increasing as per the need. Let's say your frontend developer asked you to modify the header and include CSS files on some specific category pages based on the custom category attribute selection from backend. What should be the acceptable and easiest way to do this, so that no new file creation and code update will be required after implementation:

Options:

A.

create a new layout XML file for the category called catalog_category_view.xml and add the layout modification code

B.

create a new layout XML file for the category called catalog_category_view_selectable__CustomLayout.xml

and assign it to the needed categories from backend, and add the layout modification code in it.

C.

create a custom layout handle for the category using observer layout_load_before and add the layout modification code

D.

create a custom layout handle for the category using observer layout_load_after and add the layout modification code

Buy Now
Questions 6

Your company asks you to create the option to disable RMA for the customer group named CustomerGroup1. How do you do it?

Options:

A.

It will require a code customization

B.

This feature already exists and can be set in:

Admin > Store > Settings > Configuration > Sales > Rma Settings > Exclude Customer Group

C)

6

D)

6

C.

Option

D.

Option

E.

Option

F.

Option

Buy Now
Questions 7

OrangeCompany decided to build a REST API based module in the application so that he can share the details of best-selling products to his franchisee. To make it's flexible and customizable in the future, he advised his developers to enable the support of extension_attribute in the API interface so that any new attributes can be added when required. What is the way to enable the entity/interface to support extension attributes in the module?

Options:

A.

Check the interface for the methods getCustomAttributes() and setCustomAttributes() to determine if they are available for the entity.

B.

Check the interface for the implementation of Magento\Framework\Api\CustomAttributesDataInterface to enable support for extension attributes

C.

Check the interface for the implementation of Magento\Framework\EntityManager\Operation\ExtensionPool to enable support for extension attributes

D.

Check the interface for the methods getExtensionAttributes() and setExtensionAttributes() to determine if they are available for the entity.

Buy Now
Questions 8

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 9

A furniture merchant have 100k products in the store. In a custom product list page, he advised you to enable the caching as per user paginate the products. So what should the approach to cache the block data as per pagination request:

Options:

A.

In block class toHtml() method, define cache_lifetime, cache_tags and cache_key_

B.

In block class _construct() method, define cache_lifetime, cache_tags and cache_key_

C.

In block class toHtml() method, set _isScopePrivate property to false as per requested page number.

D.

In block class _construct() method, set _isScopePrivate property to false as per requested page number.

Buy Now
Questions 10

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:

Options:

A.

B.

C.

D.

Buy Now
Questions 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?

Options:

A.

/view/frontend/page_layout

B.

/view/frontend/layout

C.

/etc/frontend/page_layout/

D.

/etc/frontend/layout

Buy Now
Questions 12

While reviewing a module you found an upgrade script with the code:

AD0-E704 Question 12

What two actions will be done by the SalesSetup: :addAttribute method?

Options:

A.

The custom_attribute added to the eav_attribute table

B.

The custom_attribute IS added to the order_eav_attribute table

C.

The sales_order_grid table is altered with a new field custom_attribute

D.

The sales_ordor table is altered with a new field custom_attribute

Buy Now
Questions 13

You are reviewing a codebase and come across the following in a layout XML file:

AD0-E704 Question 13

The project is using Varnish for full page caching. How will Magento use the 111 attribute value?

Options:

A.

To set the Expires HTTP response headers for any page containing this block

B.

To set the timeout for the block output in the browser local storage

C.

To set the cache lifetime when saving the block output to the block cache

D.

To set the Expires HTTP header when serving the block as an ESI

Buy Now
Exam Code: AD0-E704
Exam Name: Adobe Certified Master - Adobe Commerce Architect
Last Update: Dec 11, 2023
Questions: 89