Linux_FoundationLinux_Foundation
CKS · Question #52
CKS Question #52: Real Exam Question with Answer & Explanation
Sign in or unlock CKS to reveal the answer and full explanation for question #52. The question stem and answer options stay visible for context.
Submitted by andres_qro· May 4, 2026Cluster Hardening
Question
Create a new default-deny NetworkPolicy named defaultdeny in the namespace testing for all traffic of type Egress. The new NetworkPolicy must deny all Egress traffic in the namespace testing. Apply the newly created default-deny NetworkPolicy to all Pods running in namespace testing.
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
#NetworkPolicy#Egress Control#Default Deny#Kubernetes Security