nerdexam
Linux_FoundationLinux_Foundation

CKS · Question #27

CKS Question #27: Real Exam Question with Answer & Explanation

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: 1. Create a new PodSecurityPolicy named deny-policy, which prevents the creation of privileged Pods. 2. Create a new ClusterRole name deny-access-role, which uses the newly created PodSecurityPolicy deny-policy. 3. Create a new ServiceAccount named psp-denial-sa in the existing namespace development Finally, create a new ClusterRoleBindind named restrict-access-bind, which binds the newly created ClusterRole deny-access-role to the newly created ServiceAccount psp-denial-sa

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
Full CKS PracticeBrowse All CKS Questions