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?
Using Amazon ECS with AWS Fargate and enabling Auto Scaling
Launching an Amazon EKS cluster with manually scaled worker nodes
Provisioning multiple Amazon EC2 instances and placing them behind an Elastic Load Balancer
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.
How does Auto Scaling work in Amazon ECS with Fargate?
Open an interactive chat with Bash
What are the benefits of using Fargate vs. EC2 in ECS?
Open an interactive chat with Bash
Why is AWS Lambda unsuitable for container orchestration in this scenario?