Exit demo AD0-E722 Adobe Commerce Architect Master PDF format · free preview

Adobe AD0-E722 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/ad0-e722.html

Question 1
Single choice

An Adobe Commerce Architect is troubleshooting an issue on an Adobe Commerce Cloud project that is not yet live.

The developers copied the Staging Database to Production in readiness to Go Live. However, when the developers test their Product Import feature, the new products do not appear on the front end.

The developers suspect the Varnish Cache is not being cleared. Staging seems to work as expected.
Production was working before the database migration.

What is the likely cause?

A.

Thefatlycredentials in the Production Database are incorrect.

B.

A deployment should have been done on Production to initialize Fatly caching.

C.

The site URLs in the Production Database are the URLs of the Staging Instance and must be updated

Question 2
Multiple choice

Due to a marketing campaign, a website is experiencing a very large number of simultaneously placed orders, which is affecting checkout performance. The website is in the production deploy mode.

Which two website settings can an Architect optimize to decrease the impact on checkout performance? (Choose two.)

A.

Asynchronous indexing admin panel Setting (Stores > Settings > Configuration > Advanced>
Developer > Grid Settings > Asynchronous indexing) can be enabled by executing the following CLI
Command: bin/Magento config:set dev/grid/async_indexing 1

B.

Asynchronous email notifications admin panel setting (stores > settings > configuration > sales > sales
Emails > General settings > Asynchronous) can be enabled

C.

A new database can be created and the Split Database feature can be automatically configured with
the following command: bin/Magento setup:db-schema:spiit-sales ost"<checkout db host or ip>- --
dbnanie""<name>" --username"<checkout db username)" --password""<password>"

D.

The website deploy mode can be set to siege by executingthe following CLI command: bin/Magento deploy:mode:set siege, provided that it will be changed back to production as soon as the number of simultaneously placed orders decreases to acceptable levels

E.

Multithreaded checkout processing admin panel setting (stores > settings > configuration > sales >
checkout > General settings > Asynchronous) can be set to a higher value representing the number of
PHP threads used exclusively for checkout

Question 3
Single choice

An Adobe Commerce Architect is creating a new GraphQL API mutation to alter the process of adding configurable products to the cart. The mutation accepts configurable product ID. If the given product has only one variant, then the mutation should add this variant to the cart and return not nullable Carttype. If the configurable product has more variants, then the mutation should return not nullable Conf igurableProduct type.

The mutation declaration looks as follows:

How should the Adobe Commerce Architect declare output of this mutation?

A.

Option A

B.

Option B

C.

Option C

Question 4
Single choice

While reviewing a newly developed pull request that refactors multiple custom payment methods, the Architect notices multiple classes that depend on \Magento\Framework\Encryption\EncryptorInterface to decrypt credentials for sensitive data. The code that is commonly repeated is as follows:

The Architect needs to recommend an optimal solution to avoid redundant dependency and duplicate code among the methods.

Which solution should the Architect recommend?

A.

Create a common config service class vdor\Pay-ient\Gatay\conf ig\conf ig under Vendor.Payment and use it as a parent class for all of the Vendor\PayintModule\Gateway\Conf ig\Conf ig ClaSSeS and remove $scopeConf ig and Sencryptor dependencies

B.

Replace all Vendor\PaymentModule\Gateway\Config\Config ClaSSeS With virtualType Of Magento
\Payiaent\Gateway\Conf ig\Conf ig and Set <user_secret backend_Model="Magento\Config\Model
\Config\Backend\Encrypted" /> Under config.xml

C.

Add a plugin after the getvalue method of $scopeConfig, remove the $encryptor from dependency and use it in the plugin to decrypt the value if the config name is user.secret'

Question 5
Single choice

Since the last production deployment, customers can not complete checkout. The error logs show the
following message multiple times:

main.CRITICAL: Report ID: webapi-61b9fe83f0c3e; Message: Infinite loop detected, review the trace for
the looping path

The Architect finds a deployed feature that should limit delivery for some specific postcodes.

The Architect sees the following code deployed in etc/webapi_rest/di. xml and etc/frontend/di. Xml

LimitRates.php:

Which step should the Architect perform to solve the issue?

A.

Change 'after' plugin with 'around' plugin. The issue is being caused by calling the result provider code after the code of the original method.

B.

Replace the injected dependency Of \Magento\Checkout\Model\Session With \Magento\FraBievork
\Session\SessionManagerInterf ace

C.

Inject an instance Of Magento\(Quote\Api\CartRepositoryInterface and receive Cart instance Via
$thiscartRepository->get($this->session->getQuoteId())

Question 6
Single choice

A third-party company needs to create an application that will integrate the Adobe Commerce system to

get orders data for reporting. The integration needs access to the GET /Vl/orders endpoint. It will call this endpoint automatically every hour around the clock. The merchant wants the ability to restrict or extend access to resources as well as to revoke the access using Admin Panel.

Which type of authentication available in Adobe Commerce should be used and implemented in a third-party system for this integration?

A.

Use token-based authentication to obtain the Admin Token. The third-party system will utilize the REST endpoint using the admin username and password to get the Admin Token, which will be used as the Bearer Token to authorize.

B.

Use token-based authentication to obtain an integration Token, integration will be created and activated in the admin panel using default integration token settings to get access to the token, which will be used as the Bearer Token to authorize.

C.

Use OAuth-based authentication to provide access to system resources. Integration will be registered by the merchant in the admin panel with an OAuth handshake during activation. The third-party system should follow OAuth protocol to authorize.

Question 7
Single choice

An Adobe Commerce Architect needs to create a new customer segment condition to enable admins to specify an Average sales amount' condition for certain segments.

The Architect develops the custom condition under Vendor\Module\Model\Segment\Condition
\AverageSalesAmount with all of its requirements:

During testing, the following error appears:

What should the Architect do to fix the problem?

A.

Option A

B.

Option B

C.

Option C

Question 8
Single choice

While developing a new functionality for a website in developer mode with all cache types enabled, an Adobe Commerce Developer needs to add \Magento\Sales\Model\Service\InvoiceService SinvoiceService as a new dependency to an existing page action controller in Vendor\CustomModule\Controller\Index
\Index . This is accomplished as follows:

After cleaning the f ull_page cache and reloading the page, the developer encounters the following exception:

Recoverable Error: Argument 2 passed to Vendor\CustomModule\Controller\Index\Index::__construct() must be an instance of

\Magento\Sales\Model\Service\InvoiceService [...

] Which action should the Architect recommend to the developer to fix this error?

A.

Clean the block_html cache along with full_page cache.

B.

Add the new \Magento\sales\Model\service\invoiceService Sinvoiceservice dependency at the end of the constructor signature.

C.

Remove the generated Child ClaSS from generated/code/Vendor/CustomModule/Controller/Index/
Index.

Question 9
Single choice

An Adobe Commerce Architect needs to customize the workflow of a monthly installments payment extension. The extension is from a partner who is contracted with the default website Payment Service Provider (PSP), which has its own legacy extension (a module using deprecated payment method).

The installment payment partner manages only initializing a payment, and then hands the capture to be executed by the PSP Once the amount is successfully captured, the PSP notifies the website through a webhook. The goal of the webhook is only to create an "invoice" and save the "capture information" to be

used later for refund requests through the PSP itself.

The Architect needs the most simple solution to capture the requested behavior.

Which solution should the Architect implement?

A.

Add a plugin before the $invoice->capture() and change Its input to prevent the call of the $Payment-
>capture()

B.

Change the can_capture attribute for the payment method under config.xml to be <can_capture>0</
can_capture>

C.

Declare a capture Command with type Magento\Payment\Gateway\Command\NullCommand for the payment method CommandPool in di.xml

Question 10
Single choice

An Architect is investigating a deployment issue with a server that is configured to work under the symlink directory /var/www/current, which lead to the latest released version of the application.

The deployment process performs the following steps:

After the last deployment, the merchant reported that the Adobe Commerce Import/Export functionality to export Customer Main File data is not working. The Architect discovered that the export file is not shown in the list of generated files.

Which change to the deployment process should be performed to solve this issue?

A.

Restart the consumer process during deployment to use the directory with a new application version for export files.

B.

Execute Command config:set export/customr/files_directory /var/releases/{release_nunber} toSet the
new export path.

C.

Doable Crontab before deployment and re-launch after deployment.

Showing 10 of 50 questions · Unlock the full set