You need to grant read-only access to all namespaces in the cluster to a group of developers who authenticate via an OIDC provider. What RBAC configuration is most operationally efficient?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Create a ClusterRole with read-only permissions and a ClusterRoleBinding mapping that ClusterRole to the group name

Using a ClusterRole and a ClusterRoleBinding is the most efficient way to grant cluster-wide or cross-namespace access. By binding the ClusterRole to the developers' Group name, an...

Real Exam ScenarioKubernetes Administration

You need to grant read-only access to all namespaces in the cluster to a group of developers who authenticate via an OIDC provider. What RBAC configuration is most operationally efficient?

✓ Correct Answer & ExplanationKubernetes Administration

Correct Answer

Create a ClusterRole with read-only permissions and a ClusterRoleBinding mapping that ClusterRole to the group name

Why This Answer Is Correct

Using a ClusterRole and a ClusterRoleBinding is the most efficient way to grant cluster-wide or cross-namespace access. By binding the ClusterRole to the developers' Group name, any developer belonging to that group automatically inherits the permissions.

📚 What This Question Tests

This question evaluates your knowledge of Kubernetes Administration — a core concept tested in cloud certification exams. Understanding Kubernetes Administration is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.