BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe AD0-E722 Exam - Topic 4 Question 38 Discussion

Posted by Lynsey on Mar 20, 2025 at 05:36 PM

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?

Get Premium AD0-E722 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
28 comments · newest first
DO
Dorian 11 months ago
Option C seems like a solid fix, worth a try!
JU
Julieta 11 months ago
I think educating the merchant is a good idea, but it won't fix the root problem.
JE
Jettie 11 months ago
Sounds like a Redis config issue, definitely check env.php.
LE
Leandro 11 months ago
I feel like option A makes the most sense since it directly addresses the configuration issue that could lead to session loss.
ER
Ernest 12 months ago
I disagree, flushing cache is sometimes necessary for updates.
DE
Delpha 12 months ago
Wait, flushing the cache loses session data? That's surprising!
KE
Kenny 1 year ago
I practiced a similar question where changing session settings in the admin panel helped, but I can't recall if that was the best solution here.
SO
Soledad 1 year ago
I'm not entirely sure, but I think educating the merchant about cache flushing might not be enough if the underlying configuration is wrong.
FL
Florencia 1 year ago
I remember reading that using the same Redis database for both cache and session data can cause issues, so checking the env.php file sounds like a good first step.
EL
Elouise 1 year ago
Setting the 'Store Session Data Separately' option could be worth a try, but I'm not sure if that's the best approach here. I'd want to verify the Redis configuration first before going that route.
JU
Jules 1 year ago
Educating the merchant not to flush the cache storage seems like a good temporary fix, but it doesn't really address the root cause. I'd want to dig deeper and find a more permanent solution.
AN
Anastacia 1 year ago
Ah, I think I've got it. The key is to check the Redis configuration and make sure the caches and session data are using different database numbers. That should help isolate the issue.
GL
Glendora 1 year ago
Hmm, this seems like a tricky one. I'll need to carefully review the details and think through the potential causes and solutions.SarahSmith: Okay, let's see. Flushing the cache causes the session data to be lost, but refreshing the caches doesn't. That's an interesting clue. I wonder if the Redis configuration could be the issue.MichaelJohnson: Ah, I think I've got it. The key is to check the Redis configuration and make sure the caches and session data are using different database numbers. That should help isolate the issue.EmilyRichards: Educating the merchant not to flush the cache storage seems like a good temporary fix, but it doesn't really address the root cause. I'd want to dig deeper and find a more permanent solution.JamesWilson: Setting the 'Store Session Data Separately' option could be worth a try, but I'm not sure if that's the best approach here. I'd want to verify the Redis configuration first before going that route.
MA
Maryanne 1 year ago
Okay, let's see. Flushing the cache causes the session data to be lost, but refreshing the caches doesn't. That's an interesting clue. I wonder if the Redis configuration could be the issue.
SH
Shawn 1 year ago
Hmm, this seems like a tricky one. I'll need to carefully review the details and think through the potential causes and solutions.
CH
Charolette 2 years ago
Well, I guess the merchant just really likes a good ol' cache flush! Seriously though, this sounds like a tricky one. I'd definitely check the Redis config first before trying anything else.
DO
Dortha 2 years ago
↳ replying to Charolette
Yeah, definitely worth checking the Redis config first. That could be the root cause of the session data loss.
LA
Larae 2 years ago
↳ replying to Charolette
C) Set the Stores > Configuration' option for Store Session Data Separately' to 'Yes' in the Adobe Commerce Admin Panel.
ZO
Zoila 2 years ago
↳ replying to Charolette
A) Check app/etc/env.php and make sure that the Redis configuration for caches and session data use different database numbers.
TA
Taryn 2 years ago
Setting the 'Store Session Data Separately' option might be a good idea, but it feels like a band-aid. We should really get to the bottom of why the session data is being lost when the cache is flushed.
LA
Lavina 2 years ago
I'd go with educating the merchant first. If they're randomly flushing the cache, that's likely the root cause. Changing the configuration should be a last resort.
SY
Sylvie 2 years ago
Hmm, the key seems to be ensuring the Redis configuration for caches and session data use different database numbers. Flushing the cache shouldn't be causing session data loss, so this is likely the issue.
AN
Anthony 1 year ago
↳ replying to Sylvie
C) Set the Stores > Configuration' option for Store Session Data Separately' to 'Yes' in the Adobe Commerce Admin Panel.
EL
Elbert 2 years ago
↳ replying to Sylvie
B) Educate the merchant to not flush cache storage and only refresh the caches in future.
SH
Shaquana 2 years ago
↳ replying to Sylvie
A) Check app/etc/env.php and make sure that the Redis configuration for caches and session data use different database numbers.
PE
Peggie 2 years ago
I think option A makes sense. It's crucial to have the caches and session data stored separately to avoid any issues with data loss.
CA
Carin 2 years ago
I agree with Tina. It's important to ensure the Redis configuration is correct to prevent further loss of customer session data.
TI
Tina 2 years ago
I think the next step should be to check app/etc/env.php and make sure Redis configuration for caches and session data use different database numbers.
0/2000 characters

Save Cancel