SAP-C02 Practice Question: Accelerate Workload Migration and Modernization
A company is migrating a stateful application to AWS. The application maintains session state in memory on the application server. Which AWS service should be used to store session state for high availability?
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
✓
Amazon ElastiCache
Mazon ElastiCache because it is a managed in-memory caching service that can store session state with low latency and high availability across multiple nodes. Option A (Amazon RDS) is a relational database that uses disk-based storage, making it slower for session state. Option B (Amazon S3) is object storage with higher latency, unsuitable for real-time session data. Option D (Amazon EBS) is block storage attached to a single EC2 instance, not providing shared access for high availability.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Amazon RDS
Why it's wrong here
RDS is a relational database, not optimized for session state.
- ✗
Amazon S3
Why it's wrong here
S3 has higher latency and is not suitable for frequent session reads/writes.
- ✓
Amazon ElastiCache
Why this is correct
ElastiCache (Memcached or Redis) is purpose-built for session state.
- ✗
Amazon EBS
Why it's wrong here
EBS is block storage attached to a single instance, not shared.
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
One of 1,660 original SAP-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.