AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A company is using containers to deploy a web application that experiences variable traffic with periodic spikes. They want to ensure that the application automatically adjusts the number of active containers based on current demand to maintain performance and optimize costs. Which service should they use to meet these requirements?
Provisioning multiple Amazon EC2 instances and placing them behind an Elastic Load Balancer
Launching an Amazon EKS cluster with manually scaled worker nodes
Using Amazon ECS with AWS Fargate and enabling Auto Scaling
Deploying AWS Lambda functions to handle the web request processing
Amazon ECS with Fargate and Auto Scaling enables automating the scaling of containers without the need to manage the underlying server infrastructure. When traffic to the web application increases, ECS Auto Scaling adds more containers to handle the load, and when traffic decreases, it removes unnecessary containers to reduce costs. Amazon ECS on EC2 would also allow for scaling, but would require additional management of EC2 instances. AWS Lambda is not suitable for container orchestration. Amazon EKS does provide orchestration for Kubernetes but wasn't specified as a requirement, making ECS with Fargate and Auto Scaling the best direct answer to requirements stated.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Amazon ECS and how does it work?
Open an interactive chat with Bash
What is AWS Fargate, and how does it integrate with ECS?