AWS Certified Solutions Architect – Associate (SAA-C03) — Question 860
A company wants to use Amazon Elastic Container Service (Amazon ECS) to run its on-premises application in a hybrid environment. The application currently runs on containers on premises.
The company needs a single container solution that can scale in an on-premises, hybrid, or cloud environment. The company must run new application containers in the AWS Cloud and must use a load balancer for HTTP traffic.
Which combination of actions will meet these requirements? (Choose two.)
Answer options
- A. Set up an ECS cluster that uses the AWS Fargate launch type for the cloud application containers. Use an Amazon ECS Anywhere external launch type for the on-premises application containers.
- B. Set up an Application Load Balancer for cloud ECS services.
- C. Set up a Network Load Balancer for cloud ECS services.
- D. Set up an ECS cluster that uses the AWS Fargate launch type. Use Fargate for the cloud application containers and the on-premises application containers.
- E. Set up an ECS cluster that uses the Amazon EC2 launch type for the cloud application containers. Use Amazon ECS Anywhere with an AWS Fargate launch type for the on-premises application containers.
Correct answer: A, B
Explanation
Amazon ECS Anywhere enables the registration of on-premises servers to an ECS cluster using the EXTERNAL launch type, while AWS Fargate is the ideal serverless launch type for running the cloud-based containers. An Application Load Balancer (ALB) is the correct choice for routing and managing HTTP traffic at Layer 7. Other options are incorrect because Fargate cannot run directly on physical on-premises hardware, ECS Anywhere does not support Fargate on-premises, and Network Load Balancers operate at Layer 4 rather than being optimized for HTTP traffic.