EX280 Security And SCC Practice Question
You need to allow a specific service account to run pods as root. Which command should you use to associate the 'privileged' SCC with the 'default' service account in the 'web-apps' namespace?
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 add-scc-to-user privileged -z default -n web-apps
The 'oc adm policy add-scc-to-user' command is the standard way to grant an SCC to a 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.
- ✗
oc add scc privileged default -n web-apps
Why it's wrong here
This is not the correct syntax for SCC policy management.
- ✓
oc adm policy add-scc-to-user privileged -z default -n web-apps
Why this is correct
This correctly grants the privileged SCC to the default service account in the specified namespace.
- ✗
oc apply scc privileged --user=default -n web-apps
Why it's wrong here
This command does not exist.
- ✗
oc patch scc privileged -p '{"users": ["default"]}'
Why it's wrong here
This would grant the SCC cluster-wide, which is not recommended, and requires specific JSON formatting.
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.