ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 47 - AD0-E722 discussion

Report
Export

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.
Answers
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.
Answers
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.
Answers
C.
Set the Stores > Configuration' option for Store Session Data Separately' to 'Yes' in the Adobe Commerce Admin Panel.
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

asked 02/10/2024
Ahmed Khan
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first