AWS Certified Solutions Architect – Associate (SAA-C02) — Question 506
A solutions architect needs to design the architecture for an application that a vendor provides as a Docker container image. The container needs 50 GB of storage available for temporary files. The infrastructure must be serverless.
Which solution meets these requirements with the LEAST operational overhead?
Answer options
- A. Create an AWS Lambda function that uses the Docker container image with an Amazon S3 mounted volume that has more than 50 GB of space.
- B. Create an AWS Lambda function that uses the Docker container image with an Amazon Elastic Block Store (Amazon EBS) volume that has more than 50 GB of space.
- C. 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.
- D. Create an Amazon Elastic Container Service (Amazon ECS) cluster that uses the Amazon EC2 launch type with an Amazon Elastic Block Store (Amazon EBS) volume that has more than 50 GB of space. Create a task definition for the container image. Create a service with that task definition.
Correct answer: C
Explanation
Amazon ECS with AWS Fargate offers a fully serverless container execution environment, eliminating the need to manage underlying servers. Integrating Amazon EFS with the Fargate task definition easily provides the required 50 GB of storage for temporary files. AWS Lambda does not support mounting EBS volumes, and using the EC2 launch type for ECS introduces operational overhead because it is not serverless.