Courseiva
User And RBAC ManagementmediumMultiple ChoiceObjective-mapped

EX280 User And RBAC Management Practice Question

A security audit requires identifying all users who have direct cluster-admin privileges assigned via individual user bindings rather than groups. How can an administrator inspect the cluster-admin ClusterRoleBinding subjects?

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 clusterrolebinding cluster-admin -o jsonpath='{.subjects[*]}'

Inspecting the 'cluster-admin' ClusterRoleBinding object using jsonpath or yaml output displays all subjects (users, groups, service accounts).

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 describe clusterrolebinding cluster-admin --users-only

    Why it's wrong here

    The '--users-only' flag is invalid for describe.

  • oc get users --filter='cluster-admin'

    Why it's wrong here

    The 'oc get users' command does not support filtering by role.

  • oc adm policy list-cluster-admins

    Why it's wrong here

    This subcommand does not exist.

  • oc get clusterrolebinding cluster-admin -o jsonpath='{.subjects[*]}'

    Why this is correct

    This command prints all subjects bound to the cluster-admin cluster role, allowing filtering for kind: User.

About these practice questions

Courseiva writes every EX280 question from scratch — 509 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.