AWS Certified Solutions Architect Associate SAA-C03 Practice Question
A company has a web application running on an EC2 instance that experiences variable loads, with occasional unpredictable surges in traffic. The application's compute layer must adapt to these changing demands to maintain performance while optimizing costs. Which of the following solutions would best address the company's need?
Increase the size of the EC2 instance to accommodate the highest anticipated traffic surge.
Deploy an additional EC2 instance configured the same as the current one to handle the extra load.
Implement Auto Scaling with a mix of On-Demand and Spot Instances to dynamically adjust capacity.
Place the EC2 instance behind an Application Load Balancer without enabling Auto Scaling.
Implementing Auto Scaling with a mix of On-Demand and Spot Instances best meets the company's need for a solution that adapts to variable loads while optimizing costs. Auto Scaling allows the application to handle unpredictable surges in traffic by automatically adjusting the amount of compute capacity, known as horizontal scaling. Using a mix of On-Demand and Spot Instances leverages cost savings from the Spot Market while maintaining the reliability of On-Demand Instances. A single EC2 instance adjusted for peak traffic does not efficiently handle variable loads as it would lead to overprovisioning during low-traffic periods. Vertical scaling can be effective for predictable workloads but is less flexible and can lead to downtime during scaling operations. Using an Application Load Balancer without Auto Scaling does not address the requirement for the compute layer to adapt to changing demands.
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 Auto Scaling in AWS?
Open an interactive chat with Bash
What are On-Demand and Spot Instances in AWS?
Open an interactive chat with Bash
How does horizontal scaling differ from vertical scaling?