Recall & Review
beginner
What is a RoleBinding in Kubernetes?
A RoleBinding grants permissions defined in a Role to a user or set of users within a specific namespace.
Click to reveal answer
beginner
How does a ClusterRoleBinding differ from a RoleBinding?
A ClusterRoleBinding grants permissions defined in a ClusterRole to users across the entire cluster, not limited to a namespace.
Click to reveal answer
intermediate
Can a RoleBinding reference a ClusterRole?
Yes, a RoleBinding can reference either a Role or a ClusterRole, but its permissions apply only within the RoleBinding's namespace.
Click to reveal answer
beginner
What is the purpose of RBAC in Kubernetes?
RBAC (Role-Based Access Control) manages who can do what actions on which resources in a Kubernetes cluster.
Click to reveal answer
beginner
What subjects can be bound in RoleBindings and ClusterRoleBindings?
Subjects can be users, groups, or service accounts that receive the permissions defined in the Role or ClusterRole.
Click to reveal answer
What scope does a RoleBinding apply to?
✗ Incorrect
RoleBindings apply permissions only within the namespace they are created in.
Which binding grants cluster-wide permissions?
✗ Incorrect
ClusterRoleBindings grant permissions across the entire Kubernetes cluster.
Can a ClusterRoleBinding bind to a Role?
✗ Incorrect
ClusterRoleBindings only bind to ClusterRoles, not Roles.
Which of these is NOT a valid subject in RoleBindings?
✗ Incorrect
Pods cannot be subjects in RoleBindings; only users, groups, or service accounts can.
What does RBAC stand for?
✗ Incorrect
RBAC stands for Role-Based Access Control.
Explain the difference between RoleBinding and ClusterRoleBinding in Kubernetes.
Think about the scope of permissions and what roles they connect to.
You got /4 concepts.
Describe what subjects are in the context of RoleBindings and ClusterRoleBindings and give examples.
Subjects are who gets the permissions.
You got /3 concepts.