SAP-C02 Design for New Solutions Practice Question
A company is designing a new application that will run on Amazon ECS with Fargate launch type. The application needs to store session state that is shared across multiple tasks. The session data must be highly available and low-latency. Which AWS service should be used to store the session state?
⚠ Common exam trap
Candidates often choose Amazon DynamoDB because it is serverless and highly available, but they overlook that session state requires ultra-low latency that only an in-memory cache like Redis can provide, and DynamoDB's millisecond latency is not sufficient for high-throughput session management.
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 for Redis
Amazon ElastiCache for Redis is the correct choice because it provides an in-memory data store with sub-millisecond latency, which is ideal for storing session state that must be shared across multiple ECS Fargate tasks. Redis supports data structures like hashes and strings that map directly to session data, and it offers built-in replication and automatic failover for high availability. This makes it a purpose-built solution for distributed session management in containerized applications.
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 EFS
Why it's wrong here
EFS is a file system, not designed for low-latency session state access.
- ✓
Amazon ElastiCache for Redis
Why this is correct
Redis is an in-memory data store that provides sub-millisecond latency and supports session management features.
- ✗
Amazon RDS for MySQL
Why it's wrong here
RDS is a relational database with higher latency and overhead for session state.
- ✗
Amazon DynamoDB
Why it's wrong here
DynamoDB is a NoSQL database with single-digit millisecond latency, but in-memory caching like Redis is faster for session state.
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.