AWS Certified Solutions Architect – Associate (SAA-C03) — Question 727
A company built an application with Docker containers and needs to run the application in the AWS Cloud. The company wants to use a managed service to host the application.
The solution must scale in and out appropriately according to demand on the individual container services. The solution also must not result in additional operational overhead or infrastructure to manage.
Which solutions will meet these requirements? (Choose two.)
Answer options
- A. Use Amazon Elastic Container Service (Amazon ECS) with AWS Fargate.
- B. Use Amazon Elastic Kubernetes Service (Amazon EKS) with AWS Fargate.
- C. Provision an Amazon API Gateway API. Connect the API to AWS Lambda to run the containers.
- D. Use Amazon Elastic Container Service (Amazon ECS) with Amazon EC2 worker nodes.
- E. Use Amazon Elastic Kubernetes Service (Amazon EKS) with Amazon EC2 worker nodes.
Correct answer: A, B
Explanation
AWS Fargate is a serverless compute engine for containers that works with both Amazon ECS and Amazon EKS, eliminating the operational overhead of provisioning, configuring, and scaling virtual machines. Using ECS or EKS with EC2 worker nodes introduces additional infrastructure management and operational overhead, which violates the requirements. Running Docker containers directly on AWS Lambda via API Gateway is not the standard managed container hosting solution designed for dynamic service-level scaling in this scenario.