Bird
0
0

Given a VPA configured with updatePolicy: "Auto", what happens when pod memory usage increases beyond the requested amount?

medium📝 Predict Output Q4 of 15
Kubernetes - Resource Management
Given a VPA configured with updatePolicy: "Auto", what happens when pod memory usage increases beyond the requested amount?
AVPA increases the number of pod replicas
BVPA deletes the pod without replacement
CVPA sends an alert but does not change pod resources
DVPA automatically updates the pod's resource requests and restarts the pod
Step-by-Step Solution
Solution:
  1. Step 1: Understand updatePolicy Auto

    When updatePolicy is set to Auto, VPA automatically adjusts resource requests and restarts pods to apply changes.
  2. Step 2: Exclude other behaviors

    VPA does not scale pod count or just alert; it modifies resource requests and restarts pods.
  3. Final Answer:

    VPA automatically updates the pod's resource requests and restarts the pod -> Option D
  4. Quick Check:

    Auto updatePolicy means automatic resource update and pod restart = B [OK]
Quick Trick: Auto policy updates resources and restarts pods [OK]
Common Mistakes:
  • Confusing VPA with Horizontal Pod Autoscaler
  • Thinking VPA only alerts without action

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes