Skip to content

Scheduling Questions

Practice questions for Scheduling topic in Kubernetes and Cloud Native Associate. 16 questions covering this domain.

16 questions2 easy9 medium5 hard
Q1
medium

A workload must run only on nodes labeled disktype=ssd. What is the simplest built-in mechanism to express that requirement?

Q2
medium

Some nodes are reserved for GPU workloads and should repel regular Pods unless explicitly allowed. Which scheduling feature pair is designed for that?

Q3
medium

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...

Q4
medium

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...

Q5
hard

An operator sets nodeName directly on a Pod even though the spec also includes affinity and anti-affinity. What is the practical result?

Q6
medium

A Pod spec includes both nodeSelector and required node affinity rules. How does the scheduler evaluate placement?

Q7
medium

A scheduler policy needs a numeric comparison such as region-version greater than 3 on node labels. Which placement feature supports Gt and Lt?

Q8
hard

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...

Q9
hard

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?

Q10
easy

A Pod's spec includes nodeName: worker-1. Which Kubernetes component respects this specification?

Q11
hard

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...

Q12
medium

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...

Q13
medium

A Pod declares required node affinity for zone us-east-1a, but no node currently matches that label. What is the expected outcome?

Q14
hard

A node has a NoExecute taint and a running Pod on that node does not tolerate it. Which behavior should the operator expect?

Q15
medium

A Pod was scheduled onto a node that matched requiredDuringSchedulingIgnoredDuringExecution node affinity. Later the node labels change and no longer ...

Q16
easy

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.