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

Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions
Questions # 11:

An Architect is investigating a merchant's Adobe Commerce production environment where all customer session data is randomly being lost. Customer session data has been configured to be persisted using Redis, as are all caches (except full page cache, which is handled via Varnish).

After an initial review, the Architect is able to replicate the loss of customer session data by flushing the Magento cache storage, either via the Adobe Commerce Admin Panel or running bin/magento cache: flush on the command line. Refreshing all the caches in the Adobe Commerce Admin Panel or running bin/magento cache: clean on the command line does not cause session data to be lost.

What should be the next step?

Options:

A.

Check app/etc/env.php and make sure that the Redis configuration for caches and session data use different database numbers.


B.

Educate the merchant to not flush cache storage and only refresh the caches in future.


C.

Set the Stores > Configuration' option for Store Session Data Separately' to 'Yes' in the Adobe Commerce Admin Panel.


Expert Solution
Questions # 12:

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:

Question # 12

During testing, the queries sometimes return out-of-date information. How should this problem be solved while maintaining performance?

Options:

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


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


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.


Expert Solution
Questions # 13:

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 # 14:

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
Questions # 15:

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
Viewing page 2 out of 2 pages
Viewing questions 11-20 out of questions