- Home
- All questions
- Question 791
CKA study material · question 791 of 1000
How is a default-deny ingress policy for a namespace written?
Show the answer
Answer: A. A policy with an empty podSelector and no ingress rules
Selecting all Pods while allowing no ingress isolates every Pod in the namespace, including those no other policy mentions.
Source: Network Policies (Kubernetes) — Default policies › Default deny all ingress traffic