Bird
0
0

What is the main purpose of a Horizontal Pod Autoscaler (HPA) in Kubernetes?

easy📝 Conceptual Q11 of 15
Kubernetes - Resource Management
What is the main purpose of a Horizontal Pod Autoscaler (HPA) in Kubernetes?
AManually increase pod count when needed
BAutomatically adjust the number of pods based on resource usage
CScale the number of nodes in the cluster
DBackup pod data automatically
Step-by-Step Solution
Solution:
  1. Step 1: Understand HPA functionality

    HPA monitors resource usage like CPU or memory and adjusts pod count automatically.
  2. Step 2: Differentiate from other scaling types

    HPA scales pods, not nodes or manual actions, and does not handle backups.
  3. Final Answer:

    Automatically adjust the number of pods based on resource usage -> Option B
  4. Quick Check:

    HPA = automatic pod scaling [OK]
Quick Trick: HPA changes pod count automatically by resource use [OK]
Common Mistakes:
  • Confusing HPA with manual scaling
  • Thinking HPA scales nodes instead of pods
  • Assuming HPA handles backups

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes