CK.IV · CKAD practice question

You create a Role named pod-reader in namespace dev that allows get, list, and watch on pods. Which command binds pod-reader to ServiceAccount reader-sa in namespace dev?

Choose one answer
Check answer and explanation

Correct answer: kubectl create rolebinding pod-reader-binding --role=pod-reader --serviceaccount=dev:reader-sa -n dev

Explanation

kubectl create rolebinding binds a Role (or ClusterRole) to a ServiceAccount (:) within a specific namespace.

Common trap

kubectl create rolebinding binds a Role (or ClusterRole) to a ServiceAccount (:) within a specific namespace.

Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.

Report an error in this question