- Home
- All questions
- Question 258
CKA study material · question 258 of 1000
How is a namespace-wide default-deny for ingress written?
Show the answer
Answer: D. A policy with an empty podSelector and no ingress rules
An empty podSelector selects every Pod in the namespace, and a policy with no rules permits nothing.
Source: Network Policies (Kubernetes) — The NetworkPolicy resource