“CPU utilization is low, so I’d think going one size smaller would cut costs.”
“Buying Reserved Instances is also a way to optimize costs, so I don’t see why it’s wrong.”
AWS Certified Cloud Practitioner (exam code CLF-C02, CLF below) often asks you to read metrics (CPU and memory utilization) and choose the action that follows the idea of rightsizing. The deciding point is not only making the size smaller but also reviewing the instance family (a type with a different ratio of CPU to memory).
This article is Question 17 of a series that explains CLF practice questions one at a time. The author wrote the questions to match the scope of the exam; they are not actual exam questions. Choose your answer first, then read the explanation.
Question
A company runs an internal application on a general purpose instance. After checking three months of metrics in Amazon CloudWatch, it found that CPU utilization was always below 10%, but memory utilization was always above 85%. Which action follows the idea of rightsizing?
- A. Buy a 3-year Reserved Instance for the current instance type
- B. Change to a compute optimized instance
- C. Change to a size one step smaller, staying with general purpose instances
- D. Change to a memory optimized instance with fewer vCPUs
Once you have chosen your answer, open the section below.
Show the answer (click to open)
Answer: D
CPU is spare and memory is short, so a size with fewer vCPUs in a memory optimized instance family, which has more memory per vCPU, is the fit. Rightsizing means choosing both the family and the size again to match actual usage.
The answer is D
The correct answer is D.
- The current instance has spare CPU and is likely to run short of memory
- Memory optimized instances are a family with more memory per vCPU, so they fit this usage
Let’s look at the options one at a time.
Explanation of each option
A: Reserved Instances fix the configuration (incorrect)

The left of the diagram is the current instance. The frame is the capacity and the fill is the amount in use; CPU is below 10% and memory is above 85%.
With Reserved Instances, you decide on a configuration such as the instance family and Region, commit to 1 or 3 years of use, and receive a discount. You pay even if you do not use it. The unit price goes down, but it locks in, for a long time, a configuration with spare CPU and not enough memory. This is a way of buying, not a review of sizing.
B: Compute optimized is the opposite (incorrect)

Compute optimized instances are a family with many vCPUs per unit of memory, suited to compute-heavy workloads. Here, usage has spare CPU and not enough memory. As shown in the diagram, CPU would have even more spare and memory would run short. It is the opposite of what the usage calls for.
C: Going smaller reduces memory too (incorrect)

If you choose a size one step smaller in the same general purpose family, vCPUs and memory decrease together. The spare CPU shrinks, but memory is already above 85%. As shown in the diagram, the amount in use would exceed the capacity and memory would run short. Shrinking based only on the size leads to this kind of failure.
D: Memory optimized with fewer vCPUs (correct)

Memory optimized instances are a family with more memory per vCPU. If you choose a size with fewer vCPUs in that family, you can, as shown in the diagram, reduce the spare CPU while securing the memory you need.
Rightsizing means choosing the instance family and size again to match actual usage. Review the family, not only the size. That is the deciding point here.
Differences among instance families
Here is a summary of the three instance families in this question, with their CPU-to-memory ratios and the workloads they suit.
| Family | CPU and memory | Suited workloads |
|---|---|---|
| General purpose | Balanced | Web servers, code repositories, and so on |
| Compute optimized | Many vCPUs per unit of memory | Compute-heavy workloads such as batch processing, media transcoding, and HPC |
| Memory optimized | A lot of memory per vCPU | Processing large datasets in memory |
Rightsizing looks at both the family and the size. AWS Compute Optimizer also recommends instance types that fit, based on metrics. However, to analyze memory utilization, you must install the CloudWatch agent.
Key points
- Spare CPU and short memory → memory optimized, with a size with fewer vCPUs
- A smaller size in the same family also reduces memory
- Reserved Instances are a way to buy at a discount, not a review of sizing
- Rightsizing = look at both family and size
The course articles explain the idea of rightsizing and the differences among EC2 instance families in detail.
- Lecture 2, Part 3: Cloud economics
- Lecture 4, Part 2: Amazon EC2
You can read all 14 lectures of AWS Cloud Practitioner Exam Prep in order from its series page.
The CLF-C02 Practice Questions series (100 questions)
All 100 questions with a reading guide: CLF-C02 Practice Questions
In this group (Questions 7–18: Well-Architected, AWS CAF, and migration):
- Question 7: The six pillars of Well-Architected (reliability and performance efficiency)
- Question 8: Design principles of the reliability pillar (automatic recovery and horizontal scaling)
- Question 9: Design principles of the sustainability pillar (maximizing utilization and managed services)
- Question 10: Phases of the AWS CAF transformation journey (Envision, Align, Launch, Scale)
- Question 11: AWS CAF perspectives (configuration and patch management belong to Operations)
- Question 12: A business case for migration (Migration Evaluator)
- Question 13: AWS CAF perspectives (role and organizational change belong to People)
- Question 14: Moving servers to EC2 as they are (AWS Transform MGN)
- Question 15: Migrating files (AWS DataSync)
- Question 16: The 7 Rs of migration (repurchase: switching to SaaS)
- Question 17: Rightsizing (CPU to spare, memory running short) (this article)
- Question 18: Shared responsibility model (AWS Lambda and Amazon RDS)
This series is the English edition of 【CLF-C02 試験対策問題】, originally written in Japanese.


コメント