AD0-E722 practice question 4 of 10

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

Full set: 50 questions
Answer options
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 Correct answer
B: Asynchronous email notifications admin panel setting (stores > settings > configuration > sales > sales Emails > General settings > Asynchronous) can be enabled Correct answer
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 –host"- --dbnanie""" --username"<checkout db username)" --password"""
D: The website deploy mode can be set to siege by executing the 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
Correct Answer:
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
Explanation

During a high-traffic event with numerous simultaneous orders, the primary goal is to reduce the processing time for each order placement request. Both asynchronous indexing and asynchronous email notifications achieve this by offloading tasks from the main checkout thread to background processes managed by cron. Asynchronous Indexing (A): When an order is placed, data in related admin grids (like the Orders grid) needs to be updated. By setting grid indexing to asynchronous, this update is deferred to a background job, reducing database contention and freeing up resources, which speeds up the synchronous order-saving process. Asynchronous Email Notifications (B): Sending transactional emails (e.g., order confirmation) can introduce latency in the checkout process. Enabling this setting queues the emails to be sent by a cron job later, providing a faster response to the customer and completing the checkout more quickly.

Why Incorrect

C. The Split Database feature was deprecated in Adobe Commerce 2.4.0 and removed in 2.4.2. It is also a major architectural change, not a simple setting to optimize during a live event.
D. Adobe Commerce does not have a siege deployment mode. The standard modes are default, developer, and production.
E. A "Multithreaded checkout processing" setting does not exist in the Adobe Commerce admin panel. Concurrency is managed at the PHP-FPM and web server level, not via an application setting. ---

References

1. Asynchronous Email Notifications:

Adobe Commerce Developer Documentation, Sales emails configuration, "Asynchronous sending". This section states, "To speed up the checkout process, you can configure sales emails to be sent asynchronously."

Source: Adobe Commerce Developer Documentation > Configuration Guide > Sales > Sales Emails.

2. Asynchronous Indexing:

Adobe Commerce Developer Documentation, Grid configuration, "Asynchronous indexing". The documentation explains, "To avoid locks and decrease the time to save entities... you can set indexing to be asynchronous... This moves indexing operations to the background..." While the example often uses products, this applies to sales grids as well, reducing save time during order placement.

Source: Adobe Commerce Developer Documentation > Configuration Guide > Advanced > Developer.

3. Split Database Deprecation:

Adobe Commerce 2.4.0 Release Notes, Deprecations, "Split database". The notes explicitly state, "Split database functionality has been deprecated in this release." It was subsequently removed in version 2.4.2.

Source: Adobe Commerce 2.4.0 Release Notes > Deprecations.

4. Application Modes:

Adobe Commerce Developer Documentation, Application modes. This page details the available modes (default, developer, production) and their purposes. The siege mode is not listed as a valid option.

Source: Adobe Commerce Developer Documentation > Configuration Guide > Application modes.

Scroll to Top