A developer is deploying containers on an ECS cluster using Fargate with an Ubuntu-based image. The application needs shared persistent data accessible by multiple ECS tasks and remaining available after containers stop. Which solution meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Amazon EFS file system and configure the ECS task definition with mountPoints and efsVolumeConfiguration..
Why this is the answer
Amazon EFS is the correct choice because it provides a scalable, shared file system that multiple Fargate tasks can access concurrently. EFS data persists independently of the tasks, meeting the requirement for data availability after containers stop. The efsVolumeConfiguration in the ECS task definition allows seamless integration. FSx for Windows File Server is designed for Windows-based workloads and is not suitable for an Ubuntu-based container. Docker volumes are ephemeral by default and not designed for persistent, shared storage across multiple Fargate tasks. EBS volumes cannot be directly attached to Fargate tasks; they are designed for EC2 instances.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed