KCSA Kubernetes Security Fundamentals Practice Question
When configuring Pod Security Standards on a namespace, which THREE security restrictions are enforced by the 'restricted' profile that are NOT enforced by the 'baseline' profile? (Choose THREE)
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
✓
Restricting volume types to a safe subset (e.g., configMap, secret, emptyDir).
The restricted profile adds requirements such as running as a non-root user, preventing escalation of privileges, and restricting allowed volume types.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Restricting volume types to a safe subset (e.g., configMap, secret, emptyDir).
Why this is correct
Restricted limits volume types significantly more than baseline to prevent host access.
- ✓
Disallowing escalation of privilege (allowPrivilegeEscalation: false).
Why this is correct
Restricted enforces no privilege escalation, while baseline permits it.
- ✓
Requiring containers to run as a non-root user (runAsNonRoot: true).
Why this is correct
The restricted profile mandates non-root execution, whereas baseline allows root.
- ✗
Disallowing privileged containers.
Why it's wrong here
Privileged containers are prohibited by both baseline and restricted profiles.
- ✗
Prohibiting hostPort usage entirely.
Why it's wrong here
Both baseline and restricted profiles disallow hostPort by default (or restrict them).
About these practice questions
Courseiva writes every KCSA question from scratch — 320 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 CNCF / Linux Foundation exam blueprint
This KCSA practice question is part of Courseiva's free CNCF / Linux Foundation 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 KCSA exam.