EX280 Security And SCC Practice Question
A pod fails to start in a restricted namespace because it attempts to bind to a privileged host port (port 80). The administrator wants to create a custom SCC that permits binding to privileged ports only for this specific application workload, without granting full root privileges. Which custom SCC configuration field should be explicitly set?
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
✓
allowHostPorts: true
Allowing pods to bind to privileged ports (< 1024) is controlled by setting allowHostPorts to true or defining allowedHostPorts in a custom SCC.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
allowHostPorts: true
Why this is correct
Setting allowHostPorts to true allows pods to bind to ports on the host node, including privileged ports.
- ✗
runAsUser.type: RunAsAny
Why it's wrong here
This controls the user ID execution strategy, not host port binding permissions.
- ✗
allowPrivilegedContainer: true
Why it's wrong here
This field allows containers to run in privileged mode, which is overly permissive just for host port binding.
- ✗
privileged: true
Why it's wrong here
Setting privileged to true grants unrestricted access, which bypasses all security constraints and exposes the host kernel unnecessarily.
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.