New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the Adobe Adobe Commerce AD0-E722 Questions and answers with CertsForce

Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions
Questions # 1:

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

Question # 1

LimitRates.php:

Question # 1

Which step should the Architect perform to solve the issue?

Options:

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())


Expert Solution
Questions # 2:

An Architect agrees to improve company coding standards and discourage using Helper classes in the code by introducing a new check with PHPCS.

The Architect creates the following:

• A new composer package under the AwesomeAgency\CodingStandard\ namespace

• The ruleset. xml file extending the Magento 2 Coding Standard

What should the Architect do to implement the new code rule?

A)

Question # 2

B)

Question # 2

C)

Question # 2

Options:

A.

Option A


B.

Option B


C.

Option C


Expert Solution
Questions # 3:

An Adobe Commerce Architect is asked by a merchant using B2B features to help with a configuration issue.

The Architect creates a test Company Account and wants to create Approval Rules for orders. The Approval Rules tab does not appear in the Company section in the Customer Account Menu when the Architect logs in using the Company Administrator account.

Which two steps must be taken to fix this issue? (Choose two.)

Options:

A.

Set 'Enable B2B Quote’ in the B2B Admin to TRUE


B.

Merchant needs to log out of frontend and then log back in to load new permissions


C.

Set 'Enable Purchase Orders' in the B2B Admin to TRUE


D.

Set 'Enable Purchase Orders' on the Company Record to TRUE


E.

Make sure that the 'Purchase Order' payment method is active


Expert Solution
Questions # 4:

In a custom module, an Architect wants to define a new xml configuration file. The module should be able to read all the xml configuration files declared in the system, merge them together, and use their values in PHP class.

Which two steps should the Architect make to meet this requirement? (Choose two.)

Options:

A.

Inject a "reader" dependency for "Magento\Framework\Config\Data" in di.xml


B.

Write a plugin for \Magento\Framework\Config\Data::get() and read the custom xml files


C.

Create a Data class that implements "\Magento\Framework\Config\Data"


D.

Append the custom xml file name in "Magento\Config\Model\Config\Structure\Reader" in di.xml


E.

Make a Reader class that implements '\Magento\Framework\Config\Reader\Filesystem"


Expert Solution
Questions # 5:

An Architect needs to create an additional regional UK website with its own website currency set to GBP in Adobe Commerce. An existing US website is using USD as a default base and website currency.

After the first week of sales in the new UK website, an administrator notices that all sales totals in Sales Orders report show £0.00.

How should this issue be resolved?

Options:

A.

Configure currency rates for GBP and USD, so they are not empty.


B.

Refresh Lifetime Statistics for "Total Invoiced'.


C.

Make sure that orders are shipped and not left in processing state.


Expert Solution
Questions # 6:

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:

Question # 6

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

Options:

A.

Create a common config service class v«ndor\Pay-ient\Gat«way\conf ig\conf ig under Vendor.Payment and use it as a parent class for all of the

Vendor\Payi»entModule\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 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'


Expert Solution
Questions # 7:

An Adobe Commerce Architect notices that the product price index takes too long to execute. The store is configured with multiple websites and dozens of customer groups.

Which two ways can the Architect shorten the full price index execution time? (Choose two.)

Options:

A.

Set mage_ihdexer_threads_COUNT environment variable to enable parallel mode


B.

Move catalog_Price_index indexer to another custom indexer group


C.

Enable price index customer group merging for products without tier prices


D.

Set Customer Share Customer Accounts Option to Global


E.

Edit customer groups to exclude websites that they are not using


Expert Solution
Questions # 8:

An Adobe Commerce Architect creates a stopword for the Italian locale named stopwordsjtJT.csv and changes the stopword directory to the following: /app/code/Custo«vendor/Elasticsearch/etc/stopwords/

What is the correct approach to change the stopwords directory inside the custom module?

Options:

A.

Add stopwords to the stopwordsDirectory and CustomerVendor_Elasticsearch to the stopword sModule parameter Of the \Magento\Elasticsearch\SearchAdapter\Query\Preprocessor\Stopwords ClflSS Via di.xml


B.

Add a new ClaSS implementing \Magento\Framework\Setup\Patch\PatchInterface to modify the default Value Of elasticsearch\customer\stopwordspath in core.conf ig_data table.


C.

Add stopwords to the stopwordsDirectory parameter of the\Hagento\Elasticsearch\Model\Adapter\Document\DirectoryBuilder ClaSS Via stopwords/it.xml and Adobe Commerce will automatically detect the current module.


Expert Solution
Questions # 9:

An Adobe Commerce Architect notices that queue consumers close TCP connections too often on Adobe Commerce Cloud server leading to delays in processing messages.

The Architect needs to make sure that consumers do not terminate after processing available messages in the queue when CRON job is running these consumers.

How should the Architect meet this requirement?

Options:

A.

Set cohsumers_wait_for_max_MESSAGES variable true in deployment stage.


B.

Increase multiple_process limit to spawn more processes for each consumer


C.

Change max_messages from 10,000 to 1,000 for CRON_CONSUMERS_RUNNER variable.


Expert Solution
Questions # 10:

A merchant notices that product price changes do not update on the storefront.

The index management page in the Adobe Commerce Admin Panel shows the following:

• All indexes are set to 'update by schedule'

• Their status is 'ready'

• There are no items in the backlog

• The indexes were last updated 1 minute ago

A developer verifies that updating and saving product prices adds the relevant product IDs into the catalog_product_price_cl changelog table. Which two steps should the Architect recommend to the developer to resolve this issue? (Choose two.)

Options:

A.

Reduce the frequency of the cron job to 5 minutes so the items have more time to process.


B.

Make sure that no custom or third-party modules modify the changelog and indexing process.


C.

Make sure that the version_id for the price indexer in the mview_state table is not higher than the last entry for the same column in the changelog table and re-synchronize.


D.

Invalidate the catalog_Product_price indexer in the Adobe Commerce Admin Panel so that it is fully reindexed next time the cron runs.


E.

Manually reindex the catalog_product_price index from the command line: bin/magento indexer:reindex catalog_product_price.


Expert Solution
Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions