A vendor provides an application as a Docker container image that requires 50 GB of storage for temporary files. The infrastructure must be serverless. Which solution meets the requirements with the least operational overhead?
Choose an answer
Tap an option to check your answer.
Correct answer: Create an Amazon Elastic Container Service (Amazon ECS) cluster that uses the AWS Fargate launch type. Create a task definition for the container image with an Amazon Elastic File System (Amazon EFS) volume. Create a service with that task definition..
Why this is the answer
The correct solution uses Amazon ECS with AWS Fargate and Amazon EFS. AWS Fargate provides a serverless compute engine for containers, aligning with the serverless requirement and minimizing operational overhead by eliminating the need to manage EC2 instances. Amazon EFS offers scalable, shared file storage that can easily meet the 50 GB requirement for temporary files and can be mounted directly to Fargate tasks. Incorrect options: Lambda functions have a limited ephemeral storage (up to 10 GB) and cannot directly mount S3 as a file system for temporary files, making it unsuitable for the 50 GB requirement. Lambda functions cannot directly mount EBS volumes. EBS volumes are block storage attached to EC2 instances, not directly to Lambda. Using Amazon EC2 launch type for ECS would require managing EC2 instances, which violates the serverless requirement and increases operational overhead.
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