SAA-C03 Question 471
Select 3A company is running a web application on Amazon EC2 instances behind an Application Load Balancer. The traffic to the application fluctuates significantly throughout the day, with spikes in usage during certain hours. The company wants to ensure that the application remains highly available while minimizing costs. Which combination of actions should you recommend to meet these requirements?
- A
Configure an Auto Scaling group with dynamic scaling policies based on CPU utilization.
- B
Enable EC2 Hibernate to reuse instance memory during traffic spikes.
- C
Set up an Auto Scaling group with scheduled scaling to handle predictable traffic patterns.
- D
Manually launch and terminate EC2 instances to match traffic demand.
- E
Use Spot Instances in the Auto Scaling group to reduce costs.
Show answer and explanation
Correct answers: A, C, E
Explanation
To handle fluctuating traffic while minimizing costs, you should leverage Auto Scaling with both dynamic and scheduled scaling policies. Dynamic scaling ensures the system responds to real-time traffic changes, while scheduled scaling optimizes for predictable traffic patterns. Additionally, introducing Spot Instances into the Auto Scaling group reduces costs without compromising scalability or availability. EC2 Hibernate and manual management are not suitable strategies for this scenario.
- A. Correct.
Correct. Configuring an Auto Scaling group with dynamic scaling policies ensures that instances are automatically added or removed based on real-time metrics such as CPU utilization, which aligns with the fluctuating traffic patterns.
- B. Incorrect.
Incorrect. EC2 Hibernate is not designed to handle fluctuating traffic levels. It is primarily used for preserving memory and application state during instance restarts.
- C. Correct.
Correct. Scheduled scaling allows the Auto Scaling group to adjust capacity based on predictable traffic patterns, such as known daily spikes, which can further optimize performance and costs.
- D. Incorrect.
Incorrect. Manually managing instances is not efficient, scalable, or cost-effective, especially for fluctuating traffic. Automation through Auto Scaling is the preferred approach.
- E. Correct.
Correct. Using Spot Instances in the Auto Scaling group can significantly reduce costs while still maintaining the ability to scale out during high-demand periods.