Bird
0
0

You want to optimize costs by automatically scaling your Kubernetes cluster nodes based on pod resource usage. Which combination of tools and settings should you use?

hard📝 Best Practice Q15 of 15
Kubernetes - Production Best Practices
You want to optimize costs by automatically scaling your Kubernetes cluster nodes based on pod resource usage. Which combination of tools and settings should you use?
ACluster Autoscaler with properly set pod resource requests and limits
BManual node scaling with no pod resource limits
CDisable Horizontal Pod Autoscaler and increase node count permanently
DSet pod resource limits to zero and rely on node autoscaling
Step-by-Step Solution
Solution:
  1. Step 1: Understand cluster autoscaling

    Cluster Autoscaler adjusts node count based on pod scheduling needs and resource requests.
  2. Step 2: Importance of pod resource requests and limits

    Proper requests and limits let the autoscaler know actual resource needs to scale nodes efficiently.
  3. Step 3: Evaluate other options

    Manual scaling wastes resources; disabling HPA or zero limits causes inefficiency or errors.
  4. Final Answer:

    Cluster Autoscaler with properly set pod resource requests and limits -> Option A
  5. Quick Check:

    Autoscaler + resource requests = cost savings [OK]
Quick Trick: Use Cluster Autoscaler plus pod requests/limits for best cost control [OK]
Common Mistakes:
  • Relying on manual scaling only
  • Disabling autoscaling features
  • Setting resource limits to zero

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes