CLF-C02 Question 178
Single answerA company experiences unpredictable traffic spikes on their e-commerce website during sales events. They want to ensure that their application can handle these traffic spikes without manual intervention while minimizing costs. Which AWS service feature can help them achieve this?
- A
Amazon EC2 Auto Scaling
- B
Amazon S3 Storage Classes
- C
AWS CloudFormation
- D
Amazon RDS Read Replicas
Show answer and explanation
Correct answer: A
Explanation
Amazon EC2 Auto Scaling is a core service that provides elasticity by automatically adding or removing EC2 instances based on real-time demand. This ensures that the application can handle unpredictable traffic spikes efficiently while optimizing costs by scaling down during periods of low demand.
- A. Correct.
Amazon EC2 Auto Scaling automatically adjusts the number of EC2 instances based on traffic and demand, providing both elasticity and cost efficiency. This is the correct answer.
- B. Incorrect.
Amazon S3 Storage Classes are used to manage storage costs based on access patterns but are not related to dynamically scaling compute resources for traffic spikes.
- C. Incorrect.
AWS CloudFormation is a service for automating infrastructure as code but does not handle elasticity or traffic scaling directly.
- D. Incorrect.
Amazon RDS Read Replicas are used to improve database read performance but do not provide automatic scaling for compute resources to handle traffic spikes.