You must deploy a Kubernetes workload with unknown and variable CPU/memory needs. You need cost-effective recommendations for resource requests/limits and ensure workload availability across conditions. What should you configure?
Choose an answer
Tap an option to check your answer.
Correct answer: Configure the Horizontal Pod Autoscaler for availability, and configure the Vertical Pod Autoscaler recommendations for suggestions..
Why this is the answer
The Horizontal Pod Autoscaler (HPA) adjusts the number of pod replicas based on observed CPU utilization or other custom metrics, directly addressing workload availability by scaling out (or in) as demand changes. The Vertical Pod Autoscaler (VPA) analyzes historical resource usage and provides recommendations for optimal CPU and memory requests/limits for containers. These recommendations help to right-size pods, improving cost-effectiveness by preventing over-provisioning while ensuring sufficient resources. The VPA can also automatically apply these recommendations, though for "suggestions," it typically operates in recommendation mode. The Cluster Autoscaler scales the underlying cluster nodes, not individual pods or their resource configurations, so it's not directly for pod-level resource suggestions. While it contributes to overall availability, it doesn't manage pod replicas or resource requests/limits.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed