Skip to main content

AD0-E722 Real Exam Questions

Adobe Commerce Architect Master

50 questions available · Page 1 of 5

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

A client is migrating to Adobe Commerce Cloud and has approximately 800 existing redirects that must be implemented. The number of redirects cannot be reduced because all redirects are specific, and do not match any pattern.

How should the redirects be configured to ensure performance?

  1. A

    Add each redirect in the magento/routes.yaml file.

  2. B

    Use VCL snippets to offload the redirect to Fastly.

  3. C

    Add each redirect as a URL rewrite via the admin Ul.

Show answer and explanation

Correct answer: B

Question 2 Single choice

An Architect needs to integrate an Adobe Commerce store with a new Shipping Carrier. Cart data is sent to the Shipping Carrier's API to retrieve the price and display to the customer. After the feature isimplemented on the store, the API hits its quota and returns the error "Too many requests". The Shipping Carrier warns the store about sending too many requests with the same content to the API.

In the carrier model, what should the Architect change to fix the problem?

  1. A

    ln_doShipmentRequest()f call canCollectRates() before sending request to the API.

  2. B

    Override getResponse, save the response to a variable, check if the response exists, then return.

  3. C

    Implement_setCachedQuotes() and_getCachedQuotes(), return the data if the request matches.

Show answer and explanation

Correct answer: C

Question 3 Multiple choice

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:

1. All indexes are set to 'update by schedule'
2. Their status is 'ready'
3. There are no items in the backlog
4. 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.)

  1. A

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

  2. B

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

  3. 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.

  4. D

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

  5. E

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

Show answer and explanation

Correct answers: B, C

Question 4 Single choice

An existing Adobe Commerce website is moving to a headless implementation.

The existing website features an "All Brands'' page, as well as individual pages for each brand. All brand-related pages are cached in Varnish using tags in the same manner as products and categories.

Two new GraphQL queries have been created to make this information available to the frontend for the new headless implementation:

During testing, the queries sometimes return out-of-date information.

How should this problem be solved while maintaining performance?

  1. A

    Specify a @cacgecacheable(cacheable: false) directive for each GraphQL query, making sure that the data returned is not cached, and is up to date

  2. B

    Specify a $cache(cacheidentity: Path\\To\\identityclass) directive for each GraphQL query, corresponding to a class that adds cache tags for relevant brands and associated products

  3. C

    Each GraphQL query's resolver class should inject \Magento\GraphQlcache\Model\cacheableQuery and call setcachevalidity(true) on it as part of the resolver's resolve function.

Show answer and explanation

Correct answer: B

Question 5 Single choice

An Adobe Commerce Architect is reviewing API-functional test code. Some tests send errors to indicate that the customer address does not exist. The test codes show the following:

Which step should the Architect take to fix the test errors?

  1. A

    Change the annotation to Use@magentoApiDataFixture Magento/Customer/_files/ instead Or
    dmagentoDataFixture Magento/Customer/_files/customer_one_address.php

  2. B

    Set the annotation to USe AmagentoPersistDataFixture Magento/Cu5tomer/_f iles/ custcwer_one_address.php instead Of @magentoDataFixture Magento/Customer/_f iles/
    customer_one_address.php

  3. C

    Update the annotation to Specify addreSSjd
    iagentoDataFixture Magento/Customer/_files/
    customer_one_address.php with:{Maddress_id":"$address.id$"}

Show answer and explanation

Correct answer: B

Question 6 Single choice

An Adobe Commerce Architect needs to log the result of a ServiceClass:: getData method execution after
all plugins have executed. The method is public, and there are a few plugins declared for this method.
Among those plugins are after and around types, and all have sortOrder specified.

Which solution should be used to meet this requirement?

  1. A

    Declare a new plugin with the sortOrder value lower than the lowest declared plugin sortOrder and implement aroundGetData method.

  2. B

    Declare a new plugin with the sortOrder value higher than the highest declared plugin sortOrder and implement afterGetData method.

  3. C

    Declare a new plugin with the sortOrder value higher than the highest declared plugin sortOrder and implement aroundGetData method.

Show answer and explanation

Correct answer: B

Question 7 Multiple choice

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

  1. A

    Set mage_ihdexer_threads_COUNT environment variable to enable parallel mode

  2. B

    Move catalog_Price_index indexer to another custom indexer group

  3. C

    Enable price index customer group merging for products without tier prices

  4. D

    Set Customer Share Customer Accounts Option to Global

  5. E

    Edit customer groups to exclude websites that they are not using

Show answer and explanation

Correct answers: A, C

Question 8 Single choice

A company wants to build an Adobe Commerce website to sell their products to customers in their country.
The taxes in their country are highly complex and require customization to Adobe Commerce. An Architect

is trying to solve this problem by creating a custom tax calculator that will handle the calculation of taxes for all orders in Adobe Commerce.

Following best practices, how should the Architect add the taxes for all orders?

  1. A

    Add a new observer to the event sales.quote.collecLtotals.before'' and add the custom tax to the quote

  2. B

    Write a before plugin to \Magento\Quote\Model\QuoteManagement::placeOrder() and add the custom
    tax to the quote

  3. C

    Declare a new total collector in "etc/sales.xmr in a custom module

Show answer and explanation

Correct answer: C

Question 9 Single choice

An Adobe Commerce Architect is supporting deployment and building tools for on-premises Adobe Commerce projects. The tool is executing build scripts on a centralized server and using an SSH connection to deploy to project servers.

A client reports that users cannot work with Admin Panel because the site breaks every time they change interface locale.

Considering maintainability, which solution should the Architect implement?

  1. A

    Modify project config.php file, configure 'admin_locales_for_deploy' value, and specify all required locales

  2. B

    Edit project env.php file, configure 'adminJocales_for_build' value, and specify all required locales

  3. C

    Adjust the tools build script and specify required locales during *setup:static-content:deploy' command

Show answer and explanation

Correct answer: C

Question 10 Single choice

An Adobe Commerce Architect is planning to create a new action that will add gift registry items to the customer's quote.

What should the Architect do to guarantee that private content blocks are updated?

  1. A

    Mark the controller by setting no-cache HTTP headers

  2. B

    Invalidate the status of gift registry indexers

  3. C

    Specify a new action in a sections.xml configuration file

Show answer and explanation

Correct answer: C