Linux_Foundation
CKS · Question #27
Context: A PodSecurityPolicy shall prevent the creation of privileged Pods in a specific namespace. Task: 1. Create a new PodSecurityPolicy named deny-policy, which prevents the creation of privileged
Sign in or unlock CKS to reveal the answer and full explanation for question #27. The question stem and answer options stay visible for context.
Submitted by yousef_jo· May 5, 2026Cluster Hardening
Question
Context:
A PodSecurityPolicy shall prevent the creation of privileged Pods in a specific namespace.
Task:
- Create a new PodSecurityPolicy named deny-policy, which prevents the creation of privileged Pods.
- Create a new ClusterRole name deny-access-role, which uses the newly created PodSecurityPolicy deny-policy.
- Create a new ServiceAccount named psp-denial-sa in the existing namespace development
Unlock CKS to see the answer
You've previewed enough free CKS questions. Unlock CKS for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#PodSecurityPolicy (PSP)#RBAC#Privileged Containers#Admission Control