Question 10
At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: The target namespace fulfillment is missing, and the team needs an owner label supply before workload creation. Work only within the stated target and verify before declaring success. Which Kubernetes behavior best explains the required change or diagnosis?
Explanation
Correct Answer
A Namespace supplies a scope for namespaced resources while its metadata labels support policy and inventory selectors. This explains the stated condition. The corresponding action is: Run kubectl create namespace fulfillment and then kubectl label namespace fulfillment owner=supply --overwrite. The direct acceptance evidence is: Run kubectl get namespace fulfillment --show-labels and confirm the namespace and owner label exist.
Incorrect Answers
The offered statement is true for this other mechanism: A namespaced Role expresses allowed resource verbs; it has no effect until a RoleBinding associates a subject. It does not explain the facts described here, which follow from: A Namespace supplies a scope for namespaced resources while its metadata labels support policy and inventory selectors.
This principle describes a separate cause: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. The reported condition is governed by: A Namespace supplies a scope for namespaced resources while its metadata labels support policy and inventory selectors. The two mechanisms should not be conflated.
A NoSchedule taint repels Pods without a matching toleration but does not automatically evict already running Pods. That explanation applies to a different technical failure. Here the controlling principle is: A Namespace supplies a scope for namespaced resources while its metadata labels support policy and inventory selectors.