Question 26
Container OrchestrationIf VPA is configured in "recommendation" mode (updateMode: "Off"), what does it do?
Correct answer: C
Explanation
In recommendation mode, VPA only analyzes container usage and produces suggested CPU and memory requests/limits. With updateMode set to "Off", it does not modify workloads automatically, so the recommendations are generated but not applied.
Why each option is right or wrong
A. It automatically adjusts Pod resource requests/limits based on usage.
B. It scales the number of Pod replicas based on its recommendations.
C. It generates recommendations for resource requests/limits but does not apply them automatically.
In Vertical Pod Autoscaler, the updater behavior is controlled by the VPA `updateMode` field in the `VerticalPodAutoscaler` API; when it is set to `Off`, the controller only computes and stores `status.recommendation` values and does not evict pods or patch workload specs. The relevant Kubernetes VPA API behavior is that recommendations are produced from observed usage, but automatic application is disabled, so CPU and memory request/limit suggestions remain advisory rather than enforced.
D. It adds or removes cluster nodes based on resource recommendations.
E. It disables itself and provides no recommendations.