Courseiva
Security And SCCmediumMultiple ChoiceObjective-mapped

EX280 Security And SCC Practice Question

An administrator is configuring an OAuth identity provider and needs to map claims from an external provider to OpenShift usernames. Which field in the OAuth configuration specifies the claim to use as the username?

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

mappingMethod and attributes.username

When configuring identity providers like OpenID in the OAuth resource, the mapping is defined using attributes such as username for claims.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • metadata.annotations['oauth.openshift.io/username-claim']

    Why it's wrong here

    OAuth provider settings are configured in the spec of the cluster OAuth resource, not via metadata annotations.

  • mappingMethod and attributes.username

    Why this is correct

    The attributes.username field specifies which token claim maps to the OpenShift username.

  • spec.identityProviders.providerConfig.userField

    Why it's wrong here

    This is not the correct path structure for OpenShift OAuth identity provider configuration.

  • status.providerStatus.usernameMapping

    Why it's wrong here

    Status fields are read-only and maintained by operators.

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.