SAA-C03 Question 266
Single answerA company runs a web application that experiences variable traffic patterns throughout the day. During peak hours, the application becomes slow due to high CPU utilization on the servers, while during off-peak hours, many servers remain underutilized. How can the company ensure the application performs well during peak times while minimizing costs during off-peak hours?
- A
Use Amazon EC2 Auto Scaling to automatically add or remove instances based on traffic patterns.
- B
Manually scale the number of Amazon EC2 instances up and down based on predicted traffic.
- C
Use Amazon EC2 Spot Instances to handle traffic spikes during peak hours.
- D
Deploy the application on a larger instance type to handle peak traffic.
Show answer and explanation
Correct answer: A
Explanation
Amazon EC2 Auto Scaling is the ideal solution for applications with variable traffic patterns. It ensures the application automatically scales out to handle peak loads and scales in during off-peak times, optimizing both performance and cost-efficiency. This eliminates the need for manual intervention or over-provisioning resources.
- A. Correct.
Correct: Amazon EC2 Auto Scaling automatically adjusts the number of instances in response to traffic patterns, ensuring high availability during peak times and cost optimization during off-peak hours.
- B. Incorrect.
Incorrect: Manually scaling instances is not efficient, especially for variable traffic patterns, as it requires constant monitoring and manual intervention.
- C. Incorrect.
Incorrect: While Spot Instances can reduce costs, they are not reliable for handling unpredictable traffic spikes because they can be terminated by AWS with little notice.
- D. Incorrect.
Incorrect: Switching to a larger instance type might temporarily address performance issues during peak times but results in higher costs during off-peak hours and does not scale dynamically based on traffic.