Intermediate
Kubernetes
Q59 / 100
What is the difference between a "Role" and a "ClusterRole" in RBAC?
Correct! Well done.
Incorrect.
The correct answer is B) A Role grants permissions within a specific namespace, while a ClusterRole grants permissions cluster-wide (or can be used for namespaced resources across all namespaces, or for cluster-scoped resources)
B
Correct Answer
A Role grants permissions within a specific namespace, while a ClusterRole grants permissions cluster-wide (or can be used for namespaced resources across all namespaces, or for cluster-scoped resources)
Explanation
Roles are namespace-scoped, while ClusterRoles are cluster-scoped — they can grant access to cluster-scoped resources (like Nodes) or be reused across multiple namespaces via RoleBindings.
Progress
59/100