EX280 Security And SCC Practice Question
An administrator needs to ensure that a newly created ServiceAccount automatically receives a long-lived API token when created in OpenShift 4.14+. What is the correct procedure?
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
✓
Create a Secret of type kubernetes.io/service-account-token and reference the ServiceAccount name in the secret metadata annotations
In OpenShift 4.14+, bound service account tokens are ephemeral by default. To create a legacy long-lived token, a Secret object must be explicitly created and linked to the service account.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Patch the default cluster authentication profile to revert to automountServiceAccountToken globally
Why it's wrong here
automountServiceAccountToken controls whether the token is mounted into pods, not whether a long-lived secret is generated.
- ✗
Add the annotation serviceaccounts.openshift.io/want-token: "true" to the ServiceAccount metadata
Why it's wrong here
OpenShift does not use this specific annotation to generate legacy tokens automatically.
- ✗
Execute the oc create token command and store the output in a ConfigMap
Why it's wrong here
While oc create token generates short-lived tokens, it does not create a persistent Secret object automatically.
- ✓
Create a Secret of type kubernetes.io/service-account-token and reference the ServiceAccount name in the secret metadata annotations
Why this is correct
Manually creating a Secret of type kubernetes.io/service-account-token with the kubernetes.io/service-account.name annotation generates a permanent token.
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 →
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.