
Answer-first summary for fast verification
Answer: Configure the Horizontal Pod Autoscaler for availability, and configure the Vertical Pod Autoscaler recommendations for suggestions.
The correct answer is B. Configuring the Horizontal Pod Autoscaler (HPA) for availability ensures that the number of pods can scale dynamically based on current CPU utilization or other select metrics, thus maintaining the application's availability. The Vertical Pod Autoscaler (VPA) can provide recommendations for CPU and memory reservations, which helps in right-sizing the pods according to actual usage patterns. This approach is cost-effective and ensures that the workload can handle varying resource demands effectively, following Google-recommended practices.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your manager requests you to deploy a workload to a Kubernetes cluster, but you are uncertain about the workload's resource requirements or how these requirements may change based on usage patterns, external dependencies, or other factors. You need a solution that provides cost-effective recommendations for CPU and memory requirements and ensures the workload operates consistently under any condition. Following Google-recommended practices, how would you configure the Horizontal Pod Autoscaler (HPA) and Vertical Pod Autoscaler (VPA) to meet these requirements?
A
Configure the Horizontal Pod Autoscaler for availability, and configure the cluster autoscaler for suggestions.
B
Configure the Horizontal Pod Autoscaler for availability, and configure the Vertical Pod Autoscaler recommendations for suggestions.
C
Configure the Vertical Pod Autoscaler recommendations for availability, and configure the Cluster autoscaler for suggestions.
D
Configure the Vertical Pod Autoscaler recommendations for availability, and configure the Horizontal Pod Autoscaler for suggestions.
No comments yet.