DOP-C02 Resilient Cloud Solutions Practice Question
A company runs a stateful application on EC2 instances. The application stores session data locally. The instances are behind an ALB with sticky sessions enabled. A scaling event terminates an instance, causing loss of session data. How can the company prevent this while maintaining performance?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use Amazon ElastiCache to store session data
Using ElastiCache for session storage externalizes session data, making it resilient to instance termination.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Use Amazon ElastiCache to store session data
Why this is correct
ElastiCache provides a resilient, high-performance session store.
- ✗
Use a dedicated EC2 instance for sessions
Why it's wrong here
A single instance is a single point of failure.
- ✗
Disable sticky sessions
Why it's wrong here
Disabling sticky sessions does not solve data loss.
- ✗
Increase the sticky session duration
Why it's wrong here
Sticky sessions do not preserve session data after instance termination.
Go deeper
Related to this question
About these practice questions
Courseiva writes every DOP-C02 question from scratch — 251 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DOP-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DOP-C02 exam.