Courseiva
Troubleshooting And DiagnosticseasyMultiple ChoiceObjective-mapped

EX280 Troubleshooting And Diagnostics Practice Question

An administrator needs to verify which user account or service account they are currently logged into the OpenShift cluster with. Which command provides this information?

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 whoami

oc whoami returns the username of the currently authenticated user session.

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 whoami

    Why this is correct

    oc whoami outputs the current authenticated user identity.

  • oc user-info

    Why it's wrong here

    'user-info' is not a valid command.

  • oc auth current-user

    Why it's wrong here

    This is not a valid oc command.

  • oc get user --current

    Why it's wrong here

    There is no --current flag for oc get user.

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.