CLF-C02 Question 48
Single answerA company has been running an application on an Amazon EC2 instance with a t2.large instance type. After monitoring the instance usage, they notice that the CPU utilization consistently remains below 10%, and memory usage is also low. What should the company do to optimize costs while ensuring the application continues to run effectively?
- A
Switch to a smaller instance type, such as t2.micro, to save costs.
- B
Move the application to an Amazon S3 bucket to lower costs.
- C
Upgrade the instance to a more powerful instance type to handle potential traffic spikes.
- D
Enable Auto Scaling to automatically adjust the instance size based on traffic patterns.
Show answer and explanation
Correct answer: A
Explanation
Rightsizing is the process of analyzing resource usage and selecting the most appropriate instance type to reduce costs while maintaining performance. In this scenario, the application is consistently underutilizing resources, so switching to a smaller instance type is the most appropriate and cost-efficient solution.
- A. Correct.
This is the correct answer. Rightsizing involves selecting the most cost-effective instance type that meets the application's resource requirements. Since the application is underutilizing resources, switching to a smaller instance type is an effective cost-saving measure.
- B. Incorrect.
This is incorrect. Amazon S3 is a storage service and cannot run an application designed for EC2. Migrating the application to S3 would not meet the application's requirements.
- C. Incorrect.
This is incorrect. Upgrading to a more powerful instance type would increase costs unnecessarily since the current instance is underutilized.
- D. Incorrect.
This is incorrect. While Auto Scaling is useful for handling variable workloads, it is not a cost-effective solution for a consistently underutilized instance.