Courseiva
Design for New SolutionsmediumMultiple SelectObjective-mapped

SAP-C02 Design for New Solutions Practice Question

A company is designing a new web application that will be deployed on Amazon ECS with Fargate. They need to store session state for the application. Which TWO services can they use for this purpose?

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 (option D) is commonly used for session state due to its low latency and in-memory data store capabilities. Amazon DynamoDB (option E) is also suitable for session state as it provides low-latency, scalable, and fully managed NoSQL database. Option A (Amazon EFS) is a file storage service, not ideal for session state. Option B (Amazon RDS) is a relational database, which can be used but is not optimal for high-performance session state. Option C (Amazon S3) is an object store with higher latency, making it unsuitable for real-time session management.

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 file storage, not designed for session state.

  • Amazon RDS

    Why it's wrong here

    RDS is relational database, not optimized for session state.

  • Amazon S3

    Why it's wrong here

    S3 is object store, high latency for session state.

  • Amazon ElastiCache for Redis

    Why this is correct

    Redis is commonly used for session state.

  • Amazon DynamoDB

    Why this is correct

    DynamoDB can be used for session state with low latency.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

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 →

How Courseiva writes practice questions · Editorial policy

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.