SAP-C02 Design for New Solutions Practice Question
A company is running a containerized application on Amazon ECS with Fargate launch type. The application needs to store persistent data that must be shared across multiple containers in the same task. Which storage option should the company use?
⚠ Common exam trap
Many exam-takers confuse Amazon EBS with a shared storage solution, but EBS volumes are zonal and single-instance attachable, making them incompatible with multi-container sharing in Fargate, whereas EFS is the only AWS-native, shared, persistent file system that works seamlessly with Fargate.
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 EFS file system
Amazon EFS provides a shared, persistent, and scalable NFS file system that can be mounted concurrently by multiple containers within the same ECS task using Fargate. EFS supports the NFSv4.1 protocol, enabling simultaneous read/write access from multiple containers, which meets the requirement for shared persistent storage across containers in the same task.
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 S3 bucket mounted using s3fs
Why it's wrong here
s3fs is a FUSE client that translates file operations into S3 API calls, giving no POSIX consistency or shared writable semantics for containers in the same task. It is tempting because S3 is durable and effectively unlimited, which suits static asset serving rather than concurrent shared persistent storage.
- ✗
Amazon FSx for Lustre
Why it's wrong here
FSx for Lustre cannot be mounted by Fargate tasks, which lack the required host-level client and networking; it attaches to EC2, EKS and on-premises clients instead. It is tempting because Lustre delivers high-throughput shared POSIX storage, which suits HPC and machine learning training on EC2.
- ✗
Amazon EBS volume
Why it's wrong here
EBS volumes attach to a single EC2 instance and cannot be mounted by Fargate tasks, which have no exposed host block device. It is tempting because EBS provides durable, low-latency block storage, which suits EC2-hosted containers or single-instance databases needing persistent disks.
- ✓
Amazon EFS file system
Why this is correct
EFS is the only shared, elastic file system mountable concurrently by multiple Fargate containers within a task, satisfying the cross-container persistence constraint. Fargate task ephemeral storage is per-task and not shareable, while EBS volumes cannot attach to Fargate tasks.
Go deeper
Related to this question
About these practice questions
One of 984 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.