Question 110
A contractor is granted cluster-admin access to all VKS namespaces simply to inspect logs in one application namespace. The proposed correction is: Create a scoped Role and RoleBinding that permits only the required read operations in the designated namespace. Which result most directly demonstrates that the correction has worked?
Explanation
Correct Answer
The contractor can read the specified Pods while attempts to modify unrelated namespaces are denied. This test measures the effect of: Create a scoped Role and RoleBinding that permits only the required read operations in the designated namespace. It validates remediation of: The RBAC grant exceeds the role's permitted tasks and namespace boundary.
Incorrect Answers
A representative database load test remains within the agreed storage latency and throughput limits. This is not the specific acceptance evidence for the proposed action. The necessary check is: The contractor can read the specified Pods while attempts to modify unrelated namespaces are denied.
An authorized group member lists its project's Deployments while nonmembers remain denied. This would verify a problem involving: Authentication succeeded, but no applicable Kubernetes authorization binding grants the requested namespace permissions. The required evidence here is: The contractor can read the specified Pods while attempts to modify unrelated namespaces are denied.
That observation is relevant to: The Pod's identity does not match the granted workload service account and lacks its intended scope. The present correction must instead establish: The contractor can read the specified Pods while attempts to modify unrelated namespaces are denied.