Linux_FoundationLinux_Foundation
CKS · Question #45
CKS Question #45: Real Exam Question with Answer & Explanation
Sign in or unlock CKS to reveal the answer and full explanation for question #45. The question stem and answer options stay visible for context.
Submitted by tyler.j· May 5, 2026Minimize Microservice Vulnerabilities
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 Filtering#Default Deny#Namespace Security