Bird
0
0

How does Kubernetes decide which pods to preempt when multiple lower priority pods exist?

hard📝 Application Q9 of 15
Kubernetes - Scheduling
How does Kubernetes decide which pods to preempt when multiple lower priority pods exist?
AIt preempts pods with the highest resource usage first
BIt preempts pods randomly
CIt preempts pods with the lowest priority and least disruption first
DIt preempts pods based on creation timestamp only
Step-by-Step Solution
Solution:
  1. Step 1: Understand preemption selection criteria

    Kubernetes chooses pods with lowest priority and minimal disruption to preempt first.
  2. Step 2: Eliminate incorrect options

    Random preemption or based solely on resource usage or creation time is not how Kubernetes works.
  3. Final Answer:

    It preempts pods with the lowest priority and least disruption first -> Option C
  4. Quick Check:

    Preemption favors lowest priority and minimal disruption [OK]
Quick Trick: Preempt lowest priority pods causing least disruption first [OK]
Common Mistakes:
  • Assuming random preemption
  • Preempting highest resource pods first
  • Using creation time alone for preemption

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes