Q10 AKS Domain 1 · 20–25% of exam Priority · Real Exam

A workload must run only on nodes with GPUs. Nodes are tainted 'sku=gpu:NoSchedule'. What must the pod spec contain?

  1. A Only a nodeSelector for the GPU label
  2. B Both a toleration for the taint and a nodeSelector or affinity for the GPU nodes (correct answer)
  3. C Only a toleration
  4. D A PriorityClass

Shortcut: A toleration allows the pod onto tainted nodes but does not attract it there. Pair the toleration with nodeSelector or nodeAffinity to ensure it lands on GPU nodes specifically.