SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
A company is migrating a web application to AWS and wants to use a multi-tier architecture with an Auto Scaling group of EC2 instances behind an Application Load Balancer. The company needs to store session state for the application. Which TWO approaches should the company use to store session state in a scalable and highly available manner? (Choose TWO.)
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 DynamoDB with on-demand capacity.
Options A and D are correct because ElastiCache for Redis and DynamoDB are both highly available and scalable solutions for session state. Option B is wrong because instance store is ephemeral and data is lost if the instance stops or terminates. Option C is wrong because EBS snapshots are point-in-time backups and cannot be used for real-time session state sharing. Option E is wrong because RDS is a relational database not optimized for session state storage.
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 DynamoDB with on-demand capacity.
Why this is correct
DynamoDB is a fully managed NoSQL database with high availability.
- ✗
Use an EC2 instance store for each instance.
Why it's wrong here
Instance store is ephemeral and not shared.
- ✗
Use Amazon EBS snapshots shared across instances.
Why it's wrong here
EBS cannot be shared across instances.
- ✓
Use Amazon ElastiCache for Redis with replication.
Why this is correct
ElastiCache for Redis is a scalable, highly available in-memory store.
- ✗
Use Amazon RDS for MySQL with Multi-AZ.
Why it's wrong here
RDS is not designed for session state storage.
Quick reference
AWS S3 Storage Class Comparison
| Storage Class | Min Duration | Retrieval | Use Case |
|---|---|---|---|
| S3 Standard | None | Immediate | Frequently accessed data |
| S3 Standard-IA | 30 days | Immediate | Infrequent access, rapid retrieval |
| S3 One Zone-IA | 30 days | Immediate | Non-critical infrequent data |
| S3 Intelligent-Tiering | None | Immediate–hours | Unknown or changing access patterns |
| S3 Glacier Instant | 90 days | Milliseconds | Archive with instant retrieval |
| S3 Glacier Flexible | 90 days | Minutes–hours | Archive, flexible retrieval |
| S3 Glacier Deep Archive | 180 days | Hours | Long-term compliance archive |
Go deeper
Related to this question
About these practice questions
This SAP-C02 question is part of Courseiva's 1,660-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 SAP-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 SAP-C02 exam.