EX280 User And RBAC Management Practice Question
A developer needs to know if their pod's service account has permissions to create pods in another namespace named 'target-ns'. Which command can the developer run to check this?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
oc auth can-i create pods -n target-ns
The developer can use 'oc auth can-i create pods --namespace=target-ns' to check their own permissions, or specify their service account token if testing externally.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
oc auth can-i create pods -n target-ns
Why this is correct
This command evaluates the current user's permissions against the target namespace.
- ✗
oc get rolebindings -n target-ns --user=self
Why it's wrong here
This command does not evaluate effective permissions accurately.
- ✗
oc check-permission create pods -n target-ns
Why it's wrong here
'check-permission' is not a valid subcommand of 'oc'.
- ✗
oc describe authorization -n target-ns
Why it's wrong here
Authorization is not a resource type in OpenShift.
About these practice questions
One of 509 original EX280 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Red Hat exam blueprint
This EX280 practice question is part of Courseiva's free Red Hat certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the EX280 exam.