Kubernetes - SchedulingHow does Kubernetes decide which pods to preempt when multiple lower priority pods exist?AIt preempts pods with the highest resource usage firstBIt preempts pods randomlyCIt preempts pods with the lowest priority and least disruption firstDIt preempts pods based on creation timestamp onlyCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand preemption selection criteriaKubernetes chooses pods with lowest priority and minimal disruption to preempt first.Step 2: Eliminate incorrect optionsRandom preemption or based solely on resource usage or creation time is not how Kubernetes works.Final Answer:It preempts pods with the lowest priority and least disruption first -> Option CQuick Check:Preemption favors lowest priority and minimal disruption [OK]Quick Trick: Preempt lowest priority pods causing least disruption first [OK]Common Mistakes:Assuming random preemptionPreempting highest resource pods firstUsing creation time alone for preemption
Master "Scheduling" in Kubernetes9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kubernetes Quizzes Health Checks and Probes - HTTP probe configuration - Quiz 15hard Ingress - Ingress controllers (Nginx, Traefik) - Quiz 10hard Ingress - Ingress controllers (Nginx, Traefik) - Quiz 12easy Networking - DNS in Kubernetes (CoreDNS) - Quiz 10hard Networking - Why Kubernetes networking matters - Quiz 7medium Networking - Ingress and egress rules - Quiz 10hard Scheduling - Node affinity and anti-affinity - Quiz 10hard Scheduling - DaemonSets for per-node workloads - Quiz 12easy Secrets - Why Secrets manage sensitive data - Quiz 14medium Secrets - External secret management integration - Quiz 3easy