SAP-C02 Design for New Solutions Practice Question
A company is deploying a containerized application on Amazon ECS with Fargate. The application needs to store session state data that must be highly available and low latency. The data is accessed frequently and can be recreated if lost. Which storage solution should the solutions architect recommend?
⚠ Common exam trap
A common mix-up: candidates choose Amazon DynamoDB (Option A) because it is a fully managed, highly available NoSQL database, but they overlook the specific requirement for 'low latency' and 'frequently accessed' data, which in-memory caching like Redis is designed to satisfy, not a disk-based database like DynamoDB.
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
✓
Store session state in Amazon ElastiCache for Redis.
Amazon ElastiCache for Redis is the ideal choice for storing session state data in a containerized ECS with Fargate environment because it provides in-memory caching with sub-millisecond latency, high availability through replication and automatic failover, and supports data persistence. Since the session data can be recreated if lost, the ephemeral nature of Redis is acceptable, and its low-latency access pattern perfectly matches the frequent read/write requirements of session state.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Store session state in Amazon DynamoDB.
Why it's wrong here
DynamoDB is durable and suitable, but for session state that can be lost, ElastiCache is more cost-effective and lower latency.
- ✗
Store session state in Amazon S3.
Why it's wrong here
S3 has higher latency and is not ideal for frequent access session state.
- ✓
Store session state in Amazon ElastiCache for Redis.
Why this is correct
ElastiCache for Redis provides ultra-low latency in-memory storage, ideal for session state that can be recreated.
- ✗
Store session state in Amazon EFS.
Why it's wrong here
EFS is for file storage and has higher latency than in-memory.
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.