nerdexam
Linux_Foundation

CKS · Question #55

Deploy the test resource (should be DENIED).

kubectl apply -f /home/candidate/vulnerable.yaml Expected: admission error/denied message. If it already exists: kubectl delete -f /home/candidate/vulnerable.yaml kubectl apply -f /home/candidate/vulnerable.yaml

Submitted by parkjh· May 5, 2026Cluster Hardening

Question

Deploy the test resource (should be DENIED).

Explanation

kubectl apply -f /home/candidate/vulnerable.yaml Expected: admission error/denied message. If it already exists: kubectl delete -f /home/candidate/vulnerable.yaml kubectl apply -f /home/candidate/vulnerable.yaml

Topics

#Admission Control#RBAC#Policy Enforcement#Deployment Security

Community Discussion

No community discussion yet for this question.

Full CKS Practice