KCNA · Question #153
Which mechanism can be used to automatically adjust the amount of resources for an application?
The correct answer is A. Horizontal Pod Autoscaler (HPA). The Horizontal Pod Autoscaler (HPA) automatically scales the number of Pod replicas up or down based on observed metrics such as CPU utilization or custom metrics, adjusting the total compute resources available to an application. VPA (D) adjusts resource requests/limits per…
Question
Which mechanism can be used to automatically adjust the amount of resources for an application?
Options
- AHorizontal Pod Autoscaler (HPA)
- BKubernetes Event-driven Autoscaling (KEDA)
- CCluster Autoscaler
- DVertical Pod Autoscaler (VPA)
How the community answered
(17 responses)- A94% (16)
- D6% (1)
Explanation
The Horizontal Pod Autoscaler (HPA) automatically scales the number of Pod replicas up or down based on observed metrics such as CPU utilization or custom metrics, adjusting the total compute resources available to an application. VPA (D) adjusts resource requests/limits per individual pod (vertical scaling) rather than scaling replica count. KEDA (B) is event-driven and targets specific event sources like message queues. Cluster Autoscaler (C) adds or removes cluster nodes, not application-level resources directly. HPA is the standard answer for automatically adjusting application resource capacity by scaling replicas.
Topics
Community Discussion
No community discussion yet for this question.