AWS Certified Solutions Architect Associate SAA-C03 Practice Question
You manage a stateless web application that runs on Amazon EC2 instances. To handle unpredictable traffic spikes, you must automatically launch additional EC2 instances when average CPU utilization exceeds 70 % and terminate instances when utilization falls below 30 %, while maintaining at least two instances across multiple Availability Zones. Which AWS service should you use to meet this requirement?
Amazon EC2 Auto Scaling lets you define scaling policies (based on Amazon CloudWatch metrics) that automatically add EC2 instances when demand rises and remove them when demand falls, ensuring the application always has the right amount of compute capacity while minimizing cost.
AWS Auto Scaling is a broader service that builds scaling plans for multiple resource types but still relies on Amazon EC2 Auto Scaling to scale individual EC2 Auto Scaling groups, so choosing it alone would not directly satisfy the requirement.
AWS Elastic Beanstalk can manage Auto Scaling on your behalf, but the question asks specifically for the underlying service that performs the scaling of EC2 instances.
Amazon EC2 Spot Fleet lets you launch Spot Instances across instance pools at the lowest price but does not, by itself, provide policy-based scaling for on-demand EC2 capacity.
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 are the benefits of using Amazon EC2 Auto Scaling?
Open an interactive chat with Bash
How does EC2 Auto Scaling determine when to add or remove instances?
Open an interactive chat with Bash
Can Amazon EC2 Auto Scaling work with other AWS services?