SOA-C02 Question 59
Single answerYou are managing an e-commerce application hosted on AWS, and during sales events, the application experiences unpredictable traffic spikes. To handle these spikes, you need to create an Auto Scaling plan that ensures application reliability while optimizing costs. Which of the following configurations will best achieve this goal?
- A
Set up a Target Tracking scaling policy that adjusts capacity to maintain a specific average CPU utilization.
- B
Configure a Scheduled Scaling policy to increase capacity during known sales event hours and decrease it afterward.
- C
Implement a Predictive Scaling policy to forecast traffic patterns and scale capacity accordingly.
- D
Use a Manual Scaling policy to manually adjust the desired capacity based on traffic monitoring.
Show answer and explanation
Correct answer: C
Explanation
Predictive Scaling is ideal for handling unpredictable traffic spikes because it uses historical data and machine learning models to anticipate demand and scale resources proactively. This ensures application reliability while optimizing costs, as scaling is performed in advance of demand rather than reactively or manually.
- A. Incorrect.
Target Tracking scaling policies are effective for maintaining specific metrics, such as CPU utilization, during steady workloads, but they are not the best choice for unpredictable traffic spikes.
- B. Incorrect.
Scheduled Scaling works well when traffic patterns are consistent and predictable, but it cannot handle unpredictable spikes effectively.
- C. Correct.
Predictive Scaling is the most suitable option for handling unpredictable traffic spikes as it uses machine learning to analyze historical data and forecast future traffic, automatically adjusting the capacity in advance.
- D. Incorrect.
Manual Scaling requires constant monitoring and manual intervention, which is inefficient and less reliable during sudden traffic spikes.