CV0-004 Deployment Practice Question
A cloud engineer is deploying a containerized application on Amazon ECS using the Fargate launch type. The application requires persistent storage for a shared cache that must be accessible by multiple tasks across different Availability Zones. The cache data must survive task restarts. Which storage solution should the engineer use?
⚠ Common exam trap
The trap here is assuming that Amazon EBS can be shared across multiple tasks or that S3 can serve as a low-latency file system for a shared cache.
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 mounted to each task
Amazon EFS provides a shared, durable, and scalable file system that can be mounted by multiple ECS tasks across Availability Zones. It supports the POSIX interface, making it ideal for shared cache storage that requires concurrent access and persistence. Fargate tasks can mount EFS file systems, ensuring the cache data remains available even if tasks are restarted or replaced.
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 FSx for Windows File Server
Why it's wrong here
Amazon FSx for Windows File Server is designed for Windows workloads and uses SMB protocol. The scenario does not specify a Windows environment, and using FSx would add unnecessary cost and complexity. It is also not the optimal choice for a Linux-based containerized application requiring a shared cache.
- ✗
Amazon S3 bucket mounted as a file system using s3fs
Why it's wrong here
Amazon S3 is object storage, not a file system. Using s3fs to mount it as a file system introduces latency and is not recommended for shared cache workloads that require low-latency, high-throughput access. S3 also does not provide POSIX-compliant file locking, which can lead to data corruption in concurrent write scenarios.
- ✗
Amazon EBS volume attached to each task
Why it's wrong here
Amazon EBS volumes are tied to a single Availability Zone and can only be attached to one EC2 instance at a time. With Fargate, you cannot attach EBS volumes directly to tasks. Even if you could, they would not be accessible across multiple Availability Zones, and they would not support concurrent access from multiple tasks.
- ✓
Amazon EFS file system mounted to each task
Why this is correct
Amazon EFS is a shared, elastic file system that can be mounted by multiple ECS tasks across different Availability Zones. It provides persistent storage that survives task restarts. Fargate tasks support EFS mounts, making it suitable for a shared cache that requires concurrent access and durability.
Go deeper
Related to this question
About these practice questions
This CV0-004 question is part of Courseiva's 834-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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official CompTIA exam blueprint
This CV0-004 practice question is part of Courseiva's free CompTIA 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 CV0-004 exam.