Question 4 of 10Pro Only

Explain Role-Based Access Control in Kubernetes. What are Roles, ClusterRoles, RoleBindings, and ClusterRoleBindings? How do you implement least-privilege access?

Sample answer preview

Role-Based Access Control in Kubernetes controls who can perform what actions on which resources. RBAC enables fine-grained permission management, ensuring users and service accounts have only the access they need. Kubernetes RBAC uses four main resources that work together.

RBACRoleClusterRoleRoleBindingClusterRoleBindingleast privilege

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more DevOps Engineer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime