Scheduling Questions
Practice questions for Scheduling topic in Kubernetes and Cloud Native Associate. 16 questions covering this domain.
A workload must run only on nodes labeled disktype=ssd. What is the simplest built-in mechanism to express that requirement?
Some nodes are reserved for GPU workloads and should repel regular Pods unless explicitly allowed. Which scheduling feature pair is designed for that?
A team has a machine learning workload that requires GPU resources. They want Pods to be scheduled only on nodes that have GPUs available. Which Kuber...
An operator has tainted a group of nodes with `dedicated=ml:NoSchedule`. A new ML workload Pod is deployed but remains Pending. What is the most likel...
An operator sets nodeName directly on a Pod even though the spec also includes affinity and anti-affinity. What is the practical result?
A Pod spec includes both nodeSelector and required node affinity rules. How does the scheduler evaluate placement?
A scheduler policy needs a numeric comparison such as region-version greater than 3 on node labels. Which placement feature supports Gt and Lt?
A cluster admin wants labels that a kubelet should not be able to self-assign when attracting workloads. Which prefix is designed for that with NodeRe...
A Pod is bound directly to a node using `nodeName`, and that node has a `NoExecute` taint the Pod does not tolerate. What is the expected result?
A Pod's spec includes nodeName: worker-1. Which Kubernetes component respects this specification?
A Pod has a nodeSelector `disktype: ssd`. Two nodes exist: node-1 has label `disktype: ssd`, node-2 has no disktype label. The scheduler places the Po...
A Pod is assigned to a node but its containers fail to start because the image pull secret is missing in the node's docker config. The kubelet logs sh...
A Pod declares required node affinity for zone us-east-1a, but no node currently matches that label. What is the expected outcome?
A node has a NoExecute taint and a running Pod on that node does not tolerate it. Which behavior should the operator expect?
A Pod was scheduled onto a node that matched requiredDuringSchedulingIgnoredDuringExecution node affinity. Later the node labels change and no longer ...
A node has a NoSchedule taint and a new Pod does not tolerate it. What happens?
Sign in to see all 16 questions
Create a free account to browse the questions included with the free plan.