Courseiva
User And RBAC ManagementmediumMultiple ChoiceObjective-mapped

EX280 User And RBAC Management Practice Question

A system administrator needs to revoke the 'admin' role from user 'bob' in the 'finance' project without deleting the project or affecting other users. Which command should be used?

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 adm policy remove-role-from-user admin bob -n finance

The 'oc adm policy remove-role-from-user' command removes a specific role from a user within a given namespace.

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 revoke role admin bob --namespace=finance

    Why it's wrong here

    This command syntax is invalid.

  • oc delete user bob -n finance

    Why it's wrong here

    Deleting the user resource deletes the global user account entirely, which is overly destructive.

  • oc remove-user bob --project=finance

    Why it's wrong here

    This command does not exist in the OpenShift CLI.

  • oc adm policy remove-role-from-user admin bob -n finance

    Why this is correct

    This command removes the binding associating the 'admin' role with user 'bob' in the 'finance' namespace.

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.