CK.IV · CKAD practice question
Which command creates a ClusterRole named cluster-auditor that allows read-only get and list on persistentvolumes?
Check answer and explanation
Correct answer: kubectl create clusterrole cluster-auditor --verb=get,list --resource=persistentvolumes
Explanation
kubectl create clusterrole creates a cluster-scoped RBAC role with the specified --verb and --resource rules.
Common trap
kubectl create clusterrole creates a cluster-scoped RBAC role with the specified --verb and --resource rules.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.