Table of Contents
Question
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?
A. Spot Instances
B. Reserved Instances
C. AWS CloudFormation
D. AWS Auto Scaling
Answer
B. Reserved Instances
Explanation
Based on the provided information, the best answer is (B) Reserved Instances.
The company wants to optimize the number of EC2 instances based on usage pattern, which means they want to reduce the number of instances during non-peak hours (nighttime) and increase the number during peak hours (daytime). Reserved Instances provide a cost-effective way to achieve this goal.
Reserved Instances are a type of EC2 instance purchasing option that allows customers to reserve a block of instances at a fixed price for a period of time (one or three years). By using Reserved Instances, the company can save up to 75% on the hourly or monthly instance usage costs compared to On-Demand instances.
During non-peak hours, the company can use On-Demand instances or Spot Instances to reduce costs. On-Demand instances are billed at the standard hourly rate, while Spot Instances are billed at a discounted rate that can fluctuate based on demand.
AWS Auto Scaling and AWS CloudFormation are also AWS services that can be used to optimize EC2 instances, but they are not directly related to usage pattern optimization. AWS Auto Scaling is a service that automatically adjusts the number of instances based on CPU utilization or other scalability metrics, while AWS CloudFormation is a service that allows customers to define and deploy templates for AWS resources, including EC2 instances.
Therefore, the best answer is (B) Reserved Instances.
Amazon AWS Certified Cloud Practitioner CLF-C02 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Cloud Practitioner CLF-C02 exam and earn Amazon AWS Certified Cloud Practitioner CLF-C02 certification.