Winter Special Flat 65% Limited Time Discount offer - Ends in 0d 00h 00m 00s - Coupon code: suredis

Adobe AD0-E704 Adobe Certified Master - Adobe Commerce Architect Exam Practice Test

Demo: 13 questions
Total 89 questions

Adobe Certified Master - Adobe Commerce Architect Questions and Answers

Question 1

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

Question 2

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.

Question 3

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

Question 4

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 5

Suppose you are working on a specific uicomponet form where front-end customers can update their name and phone number only when the admin user sets the editable_field_flag to 1 for his submitted data from the backend. According to this flag, when loading the data in the form for front-end users, how would you check and customize to enable/disable the name and phone number fields?

Options:

A.

In uicomponet xml, under fieldset node, include the Form Provider Javascript component “Magento_Ui/js/form/provider” and extend it to customize the specific fields when data is being populated by it.

B.

In uicomponet xml, under fieldset node, include the Form Provider Javascript component “Magento_Ui/js/form/dataProvider” and extend it to customize the specific fields when data is being populated by it.

C.

In uicomponet xml, under DataSource node, include the Form Provider Javascript component “Magento_Ui/js/form/provider” and extend it to customize the specific fields when data is being populated by it.

D.

In uicomponet xml, under DataSource node, include the Form Provider Javascript component “Magento_Ui/js/form/dataProvider” and extend it to customize the specific fields when data is being populated by it.

Question 6

You are integrating a Magento store with a 3rd-party OMS. The orders created on the Magento side must be uploaded to the OMS, there is no need to pull any data from the OMS into Magento. The OMS already has established RabbitMQ infrastructure so you decided to reuse it.

In addition to the implementation of the business logic for uploading orders, which two configurations must be done in your module to make the integration work?

Options:

A.

Publishers in queue_publisher. xml

B.

Consumers in queue_consumer. xml

C.

Topic declarations in communication. xml

D.

Routing rules in queue_topology. xml

Question 7

A merchant complains about the related accessory products, which they assigned to the virtual product, not being visible on the store front. What is the reason for this?

Options:

A.

Related products association must be explicitly activated in the admin panel

B.

Browser cache refresh is required

C.

Virtual products do not support related products

D.

Related products are out of stock

Question 8

You have a task to modify the grand total on the checkout page with a negative price adjustment which depends on the shipping address postcode. What are two approaches to be used in this case?

Options:

A.

Create a new shopping cart price rule with a condition based on the shipping address postcode

B.

Create a JavaScript mixin for the Magento_Checkout/ js /view /summary/,subtotal, change total there and Magento will submit the modified total when placing an order

C.

Create a new total collector which adds a negative price adjustment based on the postcode

D.

Create an observer on the event sales_quote_collect_totals_after, get the quote object, check the postcode and set the modified grand total into it

Question 9

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)

B)

C)

D)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 10

You want to run a script each time after all schema installation and schema upgrade scripts have executed, but before data setup scripts execution. What do you do?

Options:

A.

You need to run bin magento module:recurring MyCompanyJlyModule each time after bin magento setup:update

B.

Create a Recurring, php Script in the MyCompany MyModule Setup folder

C.

Create a RecurringData. php Script in the MyCompany MyModule Setup folder

D.

Add an event observer for the event setup_upgrade_schema_after

Question 11

A Magento site is experiencing an issue where a fatal out of memory error occurs during a custom bulk catalog import process. Here is the code:

Options:

A.

Call Magento\Framework\Data\Collection: setMemoryLimit to increase PHP's memory limit

B.

Inject an instance Of Uagento\Catalog\model\ResourceModel\Product\IteratingCollectionFactory into your code instead

C.

Use a \Magento\Framework\Model\ResourceModel\iterator to walk through the collection row-by-row

D.

UseMagento\Model\Entity\Collection\AbstractCollection: :setPage to iterate through the collection in chunks

Question 12

You are implementing a requirement to exclude all shipping rates less than $50 if there is a specific product in the shopping cart. How do you do this?

Options:

A.

Create an after plugin for the method \Magento\shiPping\Modei\shipPing: : collectives and access the rate result object using the getResuh o method of the Shipping class. You can update the list of rates in the result object.

B.

Create an observer for the event shipping_rates_collect_after-. In the observer you have access to the rates result object which contains all the rates. You can set a new list of rates to the result object.

C.

Create an after plugin for the method \Hageino\checkoutUpi\shippinginfonaationManageDein::getShippingRates. The method returns a list of rates which you can filter in the plugin.

D.

Create a shopping cart price rule with a condition of having the product in the cart and an action to exclude shipping rates less than $50.

Question 13

You need to do an analysis of Admin actions on the website for a 24 hour period that happened 90 days ago using the Admin actions log. Assuming that the Log Entry Lifetime store configuration setting has not been changed from the default, where do you access the data?

Options:

A.

It is archived in the var\logging\archive folder on the server

B.

It is available by default for review in the actions log report grid

C.

It has been permanently deleted by the Magento log rotation cron

D.

It is archived in the magento_logging_event_archive table

Demo: 13 questions
Total 89 questions