A company runs a Docker-based application in its local data center. The application stores persistent data in a host volume and containers use that persistent data. The company wants to migrate to a fully managed service so it does not manage servers or storage infrastructure. Which solution meets these requirements?
Choose an answer
Tap an option to check your answer.
Correct answer: Use Amazon Elastic Container Service (Amazon ECS) with an AWS Fargate launch type. Create an Amazon Elastic File System (Amazon EFS) volume and mount the EFS volume as persistent storage in the containers..
Why this is the answer
The correct solution uses Amazon ECS with AWS Fargate for a fully managed, serverless container orchestration experience, eliminating the need to manage servers. Amazon EFS provides a fully managed, scalable, shared file system that can be mounted by multiple Fargate tasks, fulfilling the persistent storage requirement for Docker containers without managing storage infrastructure. The first incorrect option, Amazon EKS with self-managed nodes and EBS, requires managing EC2 instances and EBS volumes, which contradicts the "fully managed service" requirement. EBS is also block storage, typically limited to a single EC2 instance, making it unsuitable for shared container persistence across multiple Fargate tasks. The third incorrect option uses Amazon S3, which is object storage, not a file system. While S3 can store data, it cannot be directly mounted as a persistent volume in containers in the same way a file system like EFS can, and requires application-level integration. The fourth incorrect option uses Amazon ECS with an EC2 launch type, which means you still manage the underlying EC2 instances, failing the "fully managed service" requirement.
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