ExamGecko
Home Home / Adobe / AD0-E722

Adobe AD0-E722 Practice Test - Questions Answers, Page 5

Question list
Search
Search

List of questions

Search

Related questions











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.
A.
Restart the consumer process during deployment to use the directory with a new application version for export files.
Answers
B.
Execute Command config:set export/customr/files_directory /var/releases/{release_nunber} to Set the new export path.
B.
Execute Command config:set export/customr/files_directory /var/releases/{release_nunber} to Set the new export path.
Answers
C.
Doable Crontab before deployment and re-launch after deployment.
C.
Doable Crontab before deployment and re-launch after deployment.
Answers
Suggested answer: B

Explanation:

The issue is that the export file is not shown in the list of generated files. This is because the export path is not set correctly. The solution is to execute the command config:set export/customr/files_directory /var/releases/{release_nunber} to set the new export path.This will ensure that the export file is saved in the correct directory and can be accessed from the Admin Panel.Reference: https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/develop/deploy/staging-production.html?lang=en#deploy-to-staging-and-production1

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?

A.
Add each redirect in the magento/routes.yaml file.
A.
Add each redirect in the magento/routes.yaml file.
Answers
B.
Use VCL snippets to offload the redirect to Fastly.
B.
Use VCL snippets to offload the redirect to Fastly.
Answers
C.
Add each redirect as a URL rewrite via the admin Ul.
C.
Add each redirect as a URL rewrite via the admin Ul.
Answers
Suggested answer: B

Explanation:

Option B is correct because using VCL snippets to offload the redirect to Fastly is the best way to configure the redirects and ensure performance. VCL snippets are custom code segments that can be added to the Fastly configuration to modify the behavior of the caching service. By using VCL snippets, the redirects can be handled at the edge server level, without reaching the Magento application or the database.This reduces the server load and improves the response time for the redirected requests1.

Option A is incorrect because adding each redirect in the magento/routes.yaml file is not a recommended way to configure the redirects. The magento/routes.yaml file is used to define custom routes for Magento Cloud projects, such as mapping domains or subdomains to environments or services.Adding redirects in this file can cause conflicts with the existing routes and affect the routing logic of the project2.

Option C is incorrect because adding each redirect as a URL rewrite via the admin UI is not an optimal way to configure the redirects. The URL rewrite feature in Magento allows creating custom URLs for products, categories, and CMS pages, and redirecting them to their canonical URLs. However, adding a large number of URL rewrites can increase the database size and affect the performance of the Magento application.Moreover, using the admin UI for this task can be tedious and error-prone3.

1: Custom VCL snippets | Adobe Commerce Developer Guide

2: Configure routes | Adobe Commerce Developer Guide

3: URL Rewrites | Adobe Commerce User Guide

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?

A.
Configure currency rates for GBP and USD, so they are not empty.
A.
Configure currency rates for GBP and USD, so they are not empty.
Answers
B.
Refresh Lifetime Statistics for 'Total Invoiced'.
B.
Refresh Lifetime Statistics for 'Total Invoiced'.
Answers
C.
Make sure that orders are shipped and not left in processing state.
C.
Make sure that orders are shipped and not left in processing state.
Answers
Suggested answer: A

Explanation:

The issue here is that the sales totals in Sales Orders report show 0.00 for the new UK website. This is because the currency rates for GBP and USD are not configured, so the system cannot convert the order amounts from GBP to USD. The solution is to configure the currency rates for GBP and USD, so they are not empty.This will allow the system to calculate the sales totals in USD for the report.Reference: https://experienceleague.adobe.com/docs/commerce-admin/stores-sales/site-store/currency/currency-update.html?lang=en1

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.
The fatly credentials in the Production Database are incorrect.
A.
The fatly credentials in the Production Database are incorrect.
Answers
B.
A deployment should have been done on Production to initialize Fatly caching.
B.
A deployment should have been done on Production to initialize Fatly caching.
Answers
C.
The site URLs in the Production Database are the URLs of the Staging Instance and must be updated
C.
The site URLs in the Production Database are the URLs of the Staging Instance and must be updated
Answers
Suggested answer: C

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?

A.
Modify project config.php file, configure 'admin_locales_for_deploy' value, and specify all required locales
A.
Modify project config.php file, configure 'admin_locales_for_deploy' value, and specify all required locales
Answers
B.
Edit project env.php file, configure 'adminJocales_for_build' value, and specify all required locales
B.
Edit project env.php file, configure 'adminJocales_for_build' value, and specify all required locales
Answers
C.
Adjust the tools build script and specify required locales during *setup:static-content:deploy' command
C.
Adjust the tools build script and specify required locales during *setup:static-content:deploy' command
Answers
Suggested answer: C

Explanation:

The issue here is that the site breaks every time the users change interface locale in the Admin Panel. This is because the static content for the different locales is not generated during the deployment process. The solution is to adjust the tools build script and specify required locales during *setup:static-content:deploy' command.This will ensure that the static content for all the needed locales is generated and deployed to the project servers.Reference: https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/develop/deploy/static-content.html?lang=en#deploy-static-view-files1

An Architect is configuring the preload.keys for Redis on an Adobe Commerce on-premise instance.

The Architect discovers that the following cache keys are loaded on each frontend request: EAV_ENTITY_TYPES, GLOBAL_PLUGIN_LIST, DB_IS_UP_TO_DATE, SYSTEM_DEFAULT.

* The id_prefix of the frontend => page_cache is set to 063_.

* The id_pref ix of frontend => default is set to 762_.

* The Architect has enabled and configured Redis L2 caching.

How should the preload.keys be configured?

A)

B)

C)

D)

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
Suggested answer: C

Explanation:

Option C is correct because it configures the preload.keys correctly for Redis L2 caching on an Adobe Commerce on-premise instance. Redis L2 caching is a feature that allows storing the cache data in both Redis and the local file system. This way, the cache data can be loaded faster from the local storage, while Redis acts as a cache invalidation service.To use Redis L2 caching, the backend option for both frontend => page_cache and frontend => default must be set to Magento\Framework\Cache\Backend\RemoteSynchronizedCache1. To enable the preload feature, which reduces the number of requests to Redis, the preload.keys option must be specified with the cache keys that are loaded on each frontend request.However, unlike Redis L1 caching, the preload.keys must include the suffix :hash to indicate that only the hash values of the cache data are stored in Redis2. Therefore, the correct configuration for preload.keys is:

[ '762_EAV_ENTITY_TYPES:hash', '762_GLOBAL_PLUGIN_LIST:hash', '762_DB_IS_UP_TO_DATE:hash', '762_SYSTEM_DEFAULT:hash', ],

Option A is incorrect because it configures the preload.keys incorrectly for Redis L2 caching. It uses the id_prefix of frontend => page_cache (063_) instead of frontend => default (762_) for the cache keys. This will cause a mismatch between the cache keys and the cache data, and result in incorrect or missing cache data.Moreover, it does not include the suffix :hash for the preload.keys, which is required for Redis L2 caching2.

Option B is incorrect because it configures the preload.keys incorrectly for Redis L2 caching.It does not include the suffix :hash for the preload.keys, which is required for Redis L2 caching2. It also uses a wrong cache key (GLOBAL_PLUGIN_LIST) instead of GLOBAL_PLUGIN_LIST.

Option D is incorrect because it configures the preload.keys incorrectly for Redis L2 caching. It uses a wrong id_prefix (162_) instead of frontend => default (762_) for the cache keys. This will cause a mismatch between the cache keys and the cache data, and result in incorrect or missing cache data. It also uses a wrong cache key (EAV_ENTITY_TYPES) instead of EAV_ENTITY_TYPES.

1:Two-level caching | Adobe Commerce Developer Guide

2:Use Redis for default cache | Adobe Commerce Developer Guide

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?

A.
Check app/etc/env.php and make sure that the Redis configuration for caches and session data use different database numbers.
A.
Check app/etc/env.php and make sure that the Redis configuration for caches and session data use different database numbers.
Answers
B.
Educate the merchant to not flush cache storage and only refresh the caches in future.
B.
Educate the merchant to not flush cache storage and only refresh the caches in future.
Answers
C.
Set the Stores > Configuration' option for Store Session Data Separately' to 'Yes' in the Adobe Commerce Admin Panel.
C.
Set the Stores > Configuration' option for Store Session Data Separately' to 'Yes' in the Adobe Commerce Admin Panel.
Answers
Suggested answer: A

Explanation:

The issue here is that the customer session data is randomly being lost when flushing the Magento cache storage. This is because the Redis configuration for caches and session data might be using the same database number, which causes the session data to be deleted along with the caches. The solution is to check the app/etc/env.php file and make sure that the Redis configuration for caches and session data use different database numbers.This will prevent the session data from being affected by the cache operations.Reference: https://experienceleague.adobe.com/docs/commerce-cloud-service/user-guide/develop/deploy/redis.html?lang=en#configure-redis1

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?

A.
Set cohsumers_wait_for_max_MESSAGES variable true in deployment stage.
A.
Set cohsumers_wait_for_max_MESSAGES variable true in deployment stage.
Answers
B.
Increase multiple_process limit to spawn more processes for each consumer
B.
Increase multiple_process limit to spawn more processes for each consumer
Answers
C.
Change max_messages from 10,000 to 1,000 for CRON_CONSUMERS_RUNNER variable.
C.
Change max_messages from 10,000 to 1,000 for CRON_CONSUMERS_RUNNER variable.
Answers
Suggested answer: A

Explanation:

Option A is correct because setting the consumers_wait_for_max_messages variable true in the deployment stage is the best way to meet the requirement. This variable controls whether the queue consumers should wait for a maximum number of messages to process before terminating. If this variable is set to true, the consumers will not terminate after processing the available messages in the queue, but will wait until they reach the max_messages limit or the cron job timeout.This way, the consumers can keep the TCP connections open and avoid delays in processing messages1.

Option B is incorrect because increasing the multiple_process limit to spawn more processes for each consumer will not solve the issue of queue consumers closing TCP connections too often. The multiple_process limit determines how many parallel processes can be run for each consumer. Increasing this limit may improve the throughput of message processing, but it will also consume more server resources and may cause conflicts or errors.Moreover, it will not prevent the consumers from terminating after processing the available messages in the queue2.

Option C is incorrect because changing the max_messages from 10,000 to 1,000 for CRON_CONSUMERS_RUNNER variable will worsen the issue of queue consumers closing TCP connections too often. The max_messages variable defines how many messages each consumer should process before terminating. Decreasing this variable will make the consumers terminate more frequently, which will result in more TCP connections being closed and reopened.This will increase the delays in processing messages3.

1: Configure message queues | Adobe Commerce Developer Guide

2: Configure message queues | Adobe Commerce Developer Guide

3: Configure message queues | Adobe Commerce Developer Guide

Developer mode is the best option for setting up a development environment for testing functionality, not performance, before being passed to the testing team. In developer mode:

Errors are logged and hidden from the user. This ensures that the user does not see any uncaught exceptions or debugging information, but the developers can still access them from the log files.

Cache mode can only be changed from command line. This prevents any accidental or unauthorized changes to the cache settings from the admin panel or other sources.

Static files are created dynamically and then cached. This allows the developers to see the latest changes to the static files without having to run the static content deployment command every time. The static files are also cached for faster loading.

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

A.
Set 'Enable B2B Quote' in the B2B Admin to TRUE
A.
Set 'Enable B2B Quote' in the B2B Admin to TRUE
Answers
B.
Merchant needs to log out of frontend and then log back in to load new permissions
B.
Merchant needs to log out of frontend and then log back in to load new permissions
Answers
C.
Set 'Enable Purchase Orders' in the B2B Admin to TRUE
C.
Set 'Enable Purchase Orders' in the B2B Admin to TRUE
Answers
D.
Set 'Enable Purchase Orders' on the Company Record to TRUE
D.
Set 'Enable Purchase Orders' on the Company Record to TRUE
Answers
E.
Make sure that the 'Purchase Order' payment method is active
E.
Make sure that the 'Purchase Order' payment method is active
Answers
Suggested answer: C, E

Explanation:

The issue here is that 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. This is because the Approval Rules feature requires two settings to be enabled: the Purchase Orders feature and the Purchase Order payment method. The solution is to set 'Enable Purchase Orders' in the B2B Admin to TRUE and make sure that the 'Purchase Order' payment method is active. This will allow the Architect to create and manage Approval Rules for orders.

An Adobe Commerce Architect is setting up a Development environment for an on-premises project that will be used for developers to specifically test functionality, not performance, before being passed to the Testing team.

The Magento application must run with the following requirements:

1. Errors should be logged and hidden from the user

2. Cache mode can only be changed from Command Line

3. Static files should be created dynamically and then cached

Which Application Mode is required to achieve this?

A.
Default Mode
A.
Default Mode
Answers
B.
Production Mode
B.
Production Mode
Answers
C.
Developer Mode
C.
Developer Mode
Answers
Suggested answer: C

Explanation:

Developer mode is the best option for setting up a development environment for testing functionality, not performance, before being passed to the testing team. In developer mode:

Errors are logged and hidden from the user. This ensures that the user does not see any uncaught exceptions or debugging information, but the developers can still access them from the log files.

Cache mode can only be changed from command line. This prevents any accidental or unauthorized changes to the cache settings from the admin panel or other sources.

Static files are created dynamically and then cached. This allows the developers to see the latest changes to the static files without having to run the static content deployment command every time. The static files are also cached for faster loading.


Total 50 questions
Go to page: of 5