Question 20
A Kubernetes administrator recommends: Use kubectl auth can-i patch deployments -n staging --as=<user> and inspect RoleBinding subjects and verbs. Which situation most directly calls for that operation?
Explanation
Correct Answer
This is the original issue addressed by RBAC denial diagnostics: The effective authorization gap is identified before granting only the required verb and scope.
Incorrect Answers
That separate problem requires another operation: Set automountServiceAccountToken: false in the Pod specification while keeping the necessary workload permissions elsewhere. The Pod runs without an automatically injected API bearer-token file it does not need.
That separate problem requires another operation: Run kubectl uncordon on the worker after validating its kubelet version and readiness. The node becomes eligible for normal Pod placement following completed maintenance.
That separate problem requires another operation: Verify the CSI controller and node plugins and the CSIDriver registration before recreating the claim. Volume operations can reach a registered storage implementation instead of failing at the plugin boundary.