Bird
0
0

Which Kubernetes feature helps reduce costs by automatically adjusting the number of pod replicas based on CPU usage?

easy📝 Conceptual Q2 of 15
Kubernetes - Production Best Practices
Which Kubernetes feature helps reduce costs by automatically adjusting the number of pod replicas based on CPU usage?
AHorizontal Pod Autoscaler
BPod Disruption Budget
CNode Affinity
DPersistent Volume Claim
Step-by-Step Solution
Solution:
  1. Step 1: Identify autoscaling features in Kubernetes

    The Horizontal Pod Autoscaler (HPA) adjusts pod replicas based on metrics like CPU usage.
  2. Step 2: Relate HPA to cost optimization

    By scaling pods up or down automatically, HPA prevents over-provisioning and reduces costs.
  3. Final Answer:

    Horizontal Pod Autoscaler -> Option A
  4. Quick Check:

    Autoscaling pods = Horizontal Pod Autoscaler [OK]
Quick Trick: Use HPA to scale pods and save costs [OK]
Common Mistakes:
  • Confusing HPA with Pod Disruption Budget
  • Thinking Node Affinity controls scaling
  • Assuming Persistent Volume Claim affects pod count

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes