Q: 6
Which of the following container storage types loses data after a restart?
Options
Discussion
Don’t think D is right. C is the one that loses data when the container restarts, since ephemeral storage isn’t meant to persist. Not 100% sure since wording can be tricky, but leaning C here.
Why not D? Seen similar wording on official study guide and sometimes block storage is volatile depending on provision.
C is correct. Ephemeral storage means data won't survive a container restart, it gets wiped out every time. The others (object, persistent, block) all keep data across restarts as far as containers go. Pretty confident here, but let me know if I'm missing something.
B , persistent volume sounds like it wouldn’t survive a restart so I’d pick that over C.
I don't think it's C. B (Persistent volume) should be the one since the word "persistent" can be misleading and trip up people who haven't dealt with container storage nuances. Let me know if you see it differently.
B tbh, since persistent volumes are usually used for storage that sticks around. Pretty sure that's the one that loses data if not configured right on restarts. Correct me if I'm off here.
D , block storage might seem volatile if not configured persistent but it's not wiped just on restart.
Don’t think it’s B, that’s a common trap. Persistent volume actually keeps data through container restarts. Only C (ephemeral) gets wiped when the container stops or restarts. Seen similar on practice questions, pretty sure about this-disagree?
Yeah, it's definitely C. Ephemeral storage drops everything when you restart the container.
Option C Not totally sure since persistent volume sounds confusing, but ephemeral usually wipes out with a container restart, not the others.
Be respectful. No spam.