SOA-C02 Reliability and Business Continuity Practice Question
A company runs a critical web application on Amazon EC2 instances in an Auto Scaling group behind an Application Load Balancer (ALB). The application uses session stickiness (sticky sessions) to maintain user sessions. The SysOps administrator notices that when instances are replaced during a scale-in or failure event, users lose their session data. The administrator needs to preserve session data across instance failures without losing stickiness benefits. What should the administrator do?
⚠ Common exam trap
The trap is that candidates may think they need to keep stickiness active, but the correct solution is to remove stickiness and store session data externally. Stickiness only provides routing affinity, not data persistence, and with external storage, any instance can serve any session.
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
✓
Disable sticky sessions on the ALB and configure the application to store session data in an external session store like Amazon ElastiCache for Redis.
It eliminates the dependency on stickiness by storing session data externally in Amazon ElastiCache for Redis. This way, if an instance fails or is scaled in, any other instance can retrieve the session data from the shared cache, preserving the user session. Disabling sticky sessions is necessary because with external storage, stickiness is no longer needed and can cause uneven load distribution.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Disable sticky sessions on the ALB and configure the application to store session data in an external session store like Amazon ElastiCache for Redis.
Why this is correct
Disabling sticky sessions and moving session state to an external service like ElastiCache for Redis decouples user session data from individual EC2 instance lifecycles. When an ALB routes requests to any healthy instance, the instance can retrieve the session from Redis, so a failed or terminated instance does not lose state. Because ElastiCache replicates across AZs, sessions also survive single-cache-node failures, making the app tier effectively stateless and highly resilient.
- ✗
Increase the stickiness duration to a very high value so that sessions are not lost during brief interruptions.
Why it's wrong here
Increasing the stickiness duration only affects how long the ALB's session cookie keeps routing a user to the same target instance. It does nothing to persist the session data independently of that instance; if the instance crashes, is deregistered, or fails its health checks, the ALB must send the user to another instance, but the session data stored locally on the dead instance is permanently gone. This option also worsens load distribution because long-lived affinity can pin too many users to a single instance.
- ✗
Change the Auto Scaling group to use a larger instance type to handle more sessions per instance, reducing the likelihood of session loss.
Why it's wrong here
Moving to a larger instance type simply adds more local capacity for in-memory session state, meaning the instance can hold more sessions before running low on memory. It does not add any redundancy: every session is still stored exclusively on the instance that served it, so any failure of that instance—whether from a hardware fault, OS panic, or AZ outage—immediately deletes all active sessions. A larger instance also increases the blast radius because more users are affected when that single instance goes down.
- ✗
Configure the Auto Scaling group to use a larger minimum size and a lower maximum, so instances are less likely to be terminated.
Why it's wrong here
Raising the minimum and lowering the maximum in the Auto Scaling group reduces how often scale-in events terminate instances, but it cannot prevent an instance from failing due to underlying hardware, a health check failure, or a spot interruption. The session data remains on each instance's local filesystem or memory, so the loss of any single instance still destroys the sessions it carried. Moreover, this configuration caps elasticity and introduces underutilization during demand spikes, while still offering no data-level durability.
Go deeper
Related to this question
About these practice questions
Courseiva writes every SOA-C02 question from scratch — 247 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 SOA-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 SOA-C02 exam.