Courseiva
User And RBAC ManagementeasyMultiple ChoiceObjective-mapped

EX280 User And RBAC Management Practice Question

Which command is used to list all users who currently have the 'cluster-admin' role assigned via ClusterRoleBindings?

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 get clusterrolebindings cluster-admin -o jsonpath='{.subjects}'

The 'oc adm policy who-can' command inspects who can perform actions or who is bound to a specific role.

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 get users --role=cluster-admin

    Why it's wrong here

    The 'oc get users' command does not accept a role filter flag.

  • oc adm who-is cluster-admin

    Why it's wrong here

    'who-is' is not a valid OpenShift CLI subcommand.

  • oc describe clusterrole cluster-admin

    Why it's wrong here

    Describing the ClusterRole shows its rules, not the subjects bound to it via bindings.

  • oc get clusterrolebindings cluster-admin -o jsonpath='{.subjects}'

    Why this is correct

    Inspecting the subjects of the cluster-admin ClusterRoleBinding reveals all users and groups with cluster-admin access.

About these practice questions

This EX280 question is part of Courseiva's 509-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.