AWS Certified Cloud Practitioner — Question 367
An ecommerce company has been monitoring usage of its online store that is hosted on a fleet of Amazon EC2 instances. Surges in traffic occur every weekend day at the same time and last for approximately 4 hours.
Which AWS service should the company use to ensure that there are enough instances to meet the surges in demand?
Answer options
- A. AWS Lambda
- B. Amazon EventBridge (Amazon CloudWatch Events)
- C. Elastic Load Balancing (ELB)
- D. Amazon EC2 Auto Scaling
Correct answer: D
Explanation
Amazon EC2 Auto Scaling is the ideal service for this scenario as it can launch or terminate EC2 instances automatically based on schedule-based or demand-based scaling policies. Elastic Load Balancing (ELB) only distributes incoming traffic among existing instances but cannot provision new ones. AWS Lambda and Amazon EventBridge do not natively manage the scaling of EC2 fleets.