SAP-C02 Question 661
Single answerYour company is migrating a microservices-based application to AWS. The application requires container orchestration and must integrate with AWS services like ALB for traffic routing and IAM for authentication management. The operations team prefers to minimize infrastructure management and focus on deploying containerized workloads. Which solution should you recommend?
- A
Use Amazon ECS on AWS Fargate with an Application Load Balancer (ALB).
- B
Use Amazon EKS with self-managed EC2 instances and an Ingress Controller.
- C
Use Amazon ECS with EC2 launch type and an Application Load Balancer (ALB).
- D
Use AWS Elastic Beanstalk with Docker configurations.
Show answer and explanation
Correct answer: A
Explanation
Amazon ECS on AWS Fargate is the ideal solution for this scenario as it provides serverless container orchestration, removing the need to manage the underlying infrastructure. It integrates with AWS services such as ALB for traffic routing and IAM for authentication, meeting all the application's requirements while aligning with the operations team's desire to focus on application deployment rather than infrastructure management.
- A. Correct.
This is correct because Amazon ECS on AWS Fargate allows you to run containers without managing the underlying infrastructure. It integrates seamlessly with ALB for traffic routing and IAM for authentication, meeting the requirements of the operations team to minimize infrastructure management.
- B. Incorrect.
This is incorrect because managing EC2 instances for Amazon EKS introduces additional infrastructure management overhead, which contradicts the operations team's preference to minimize infrastructure management.
- C. Incorrect.
This is incorrect because using EC2 launch type for Amazon ECS requires managing the underlying EC2 infrastructure, which does not align with the goal of minimizing infrastructure management.
- D. Incorrect.
This is incorrect because while Elastic Beanstalk supports Docker, it is not specifically designed for container orchestration and lacks the granular control and native integrations that ECS on Fargate offers for microservices-based applications.