DOP-C02 Question 65
Single answerYou are tasked with deploying a containerized application on AWS. The application requires seamless integration with AWS services, scaling based on traffic, and minimal operational overhead. Which deployment methodology would be the most suitable for this scenario?
- A
Deploy the application on Amazon EC2 instances using a custom AMI to manage the containers.
- B
Use AWS Lambda to run the containerized application in a serverless environment.
- C
Deploy the application using Amazon Elastic Kubernetes Service (Amazon EKS) for precise control over container orchestration.
- D
Use Amazon Elastic Container Service (Amazon ECS) with Fargate to manage the containers without provisioning infrastructure.
Show answer and explanation
Correct answer: D
Explanation
Amazon ECS with Fargate is a serverless, fully managed solution for running containerized applications. It eliminates the need to manage servers or clusters of Amazon EC2 instances, automatically scales based on defined parameters, and integrates natively with other AWS services. These features make it an ideal choice for scenarios requiring minimal operational overhead while ensuring scalability and seamless integration with AWS.
- A. Incorrect.
Deploying on Amazon EC2 requires managing instances, scaling, and patching, which introduces significant operational overhead. This option is not the most suitable for minimizing operational effort.
- B. Incorrect.
While AWS Lambda supports container images, it is primarily designed for event-driven applications and functions, not for running full-fledged containerized applications requiring scaling based on traffic.
- C. Incorrect.
Amazon EKS offers precise control over container orchestration but requires significant effort to manage the Kubernetes control plane and nodes. This does not align with the goal of minimal operational overhead.
- D. Correct.
Amazon ECS with Fargate is a serverless container orchestration solution that abstracts the need to manage infrastructure, scales based on traffic, and integrates seamlessly with AWS services, making it the most suitable choice.