EX280 Security And SCC Practice Question
When configuring an OAuth identity provider of type HTPasswd, which object type must be created to store the username and hashed password pairs?
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
✓
A Secret containing the htpasswd flat-file data
HTPasswd identity providers require a Secret containing the htpasswd file data referenced by the OAuth configuration.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
A ServiceAccount with special token annotations
Why it's wrong here
ServiceAccounts are used for pod authentication and RBAC, not for human user HTPasswd login.
- ✓
A Secret containing the htpasswd flat-file data
Why this is correct
An HTPasswd identity provider references a Secret containing the htpasswd formatted file.
- ✗
A ConfigMap containing plain-text user credentials
Why it's wrong here
Passwords must never be stored in plain text inside ConfigMaps; sensitive data requires a Secret.
- ✗
A custom resource of kind HTPasswdProvider in the openshift-config namespace
Why it's wrong here
HTPasswd is configured inline within the cluster OAuth resource referencing a Secret, not as a standalone custom resource kind.
About these practice questions
One of 509 original EX280 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
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.