AWS Certified Cloud Practitioner — Question 722

A company is running an application that is hosted on Amazon EC2 instances. The usage of the EC2 instances is higher during daytime hours than nighttime hours. The company wants to optimize the number of EC2 instances based on this usage pattern.

Which AWS service or instance purchasing option should the company use to meet these requirements?

Answer options

Correct answer: D

Explanation

AWS Auto Scaling dynamically adjusts the number of EC2 instances in response to changing demand, ensuring optimal performance during daytime peaks and cost savings during nighttime lulls. Spot Instances and Reserved Instances are purchasing models that do not automatically scale instance count based on real-time load. AWS CloudFormation is an infrastructure-as-code service used for resource provisioning rather than dynamic scaling.