Question 60
At Pinecrest logistics, in a sandbox Kubernetes cluster during a recovery tabletop exercise: Service account sync-bot in namespace fulfillment must receive the existing dispatch-api-pod-reader Role. 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
Review service-account subjects when workloads or bindings are renamed. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n fulfillment create rolebinding dispatch-api-reader-binding --role=dispatch-api-pod-reader --serviceaccount=fulfillment:sync-bot. The relevant mechanism is: A RoleBinding associates the service account subject with a Role inside the binding namespace.
Incorrect Answers
The suggested review tracks a different technical risk: Kustomize renders declarative resource transformations before Kubernetes admission and reconciliation. Here the sustained control must address: A RoleBinding associates the service account subject with a Role inside the binding namespace. Choose “Review service-account subjects when workloads or bindings are renamed”.
This routine guards against another mechanism: The snapshot-status tool inspects backup metadata without modifying the running etcd member or performing a restore. The recurring exposure in the current case is: A RoleBinding associates the service account subject with a Role inside the binding namespace. The matching preventive check is “Review service-account subjects when workloads or bindings are renamed”.
The suggested review tracks a different technical risk: A namespaced Role expresses allowed resource verbs; it has no effect until a RoleBinding associates a subject. Here the sustained control must address: A RoleBinding associates the service account subject with a Role inside the binding namespace. Choose “Review service-account subjects when workloads or bindings are renamed”.