CK.IV · CKAD practice question
Which command lists all RoleBindings and ClusterRoleBindings in a cluster to audit who has access to a given Role or ClusterRole?
Check answer and explanation
Correct answer: kubectl get rolebindings,clusterrolebindings -A
Explanation
kubectl get rolebindings,clusterrolebindings -A lists all namespaced RoleBindings and cluster-wide ClusterRoleBindings across all namespaces.
Common trap
kubectl get rolebindings,clusterrolebindings -A lists all namespaced RoleBindings and cluster-wide ClusterRoleBindings across all namespaces.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.