Question 100
At Northstar finance, in an isolated training cluster during a scheduled maintenance rehearsal: The worker worker-a needs the scheduling label workload=restricted used by an approved nodeSelector. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?
Explanation
Correct Answer
Reserve and govern security-sensitive scheduling labels through controlled change procedures. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl label node worker-a workload=restricted --overwrite. The relevant mechanism is: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction.
Incorrect Answers
That safeguard is relevant to: Uncordon clears the Node's unschedulable status; it does not guarantee any particular Pod will be placed there. The current failure instead follows from: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Its prevention measure is “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.
This routine guards against another mechanism: Cordon marks a Node unschedulable to new Pods but does not drain running workloads. The recurring exposure in the current case is: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. The matching preventive check is “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.
The suggested review tracks a different technical risk: Nodes are cluster-scoped and their access rules belong in a ClusterRole rather than a namespaced Role. Here the sustained control must address: Node labels are discoverable metadata matched by selectors; a node label alone does not create a workload restriction. Choose “Reserve and govern security-sensitive scheduling labels through controlled change procedures”.