Bird
0
0

An EC2 instance shows 15% CPU utilization for 55 minutes and spikes to 85% CPU for 5 minutes each hour. What is the best right-sizing recommendation?

medium📝 Predict Output Q4 of 15
AWS - Cost Optimization
An EC2 instance shows 15% CPU utilization for 55 minutes and spikes to 85% CPU for 5 minutes each hour. What is the best right-sizing recommendation?
AChoose a larger instance to handle peak CPU usage
BDownsize the instance to save costs since average CPU is low
CSwitch to a spot instance to reduce costs during low usage
DTerminate the instance and use serverless instead
Step-by-Step Solution
Solution:
  1. Step 1: Analyze CPU usage pattern

    CPU is low most of the time but spikes significantly for short periods.
  2. Step 2: Consider performance impact

    Downsizing risks performance degradation during spikes.
  3. Step 3: Right-sizing decision

    Choosing a larger instance ensures capacity for peak loads.
  4. Final Answer:

    Choose a larger instance to handle peak CPU usage -> Option A
  5. Quick Check:

    Right-size for peak demand to avoid throttling [OK]
Quick Trick: Right-size for peak usage, not just average [OK]
Common Mistakes:
  • Downsizing based only on average CPU usage
  • Ignoring short CPU spikes that affect performance
  • Assuming spot instances solve performance issues

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes