- Home
- All questions
- Question 259
CKA study material · question 259 of 1000
A NetworkPolicy omits policyTypes but contains egress rules. Which types are set?
Show the answer
Answer: D. Both Ingress and Egress
Ingress is always set when policyTypes is omitted, and Egress is added when the policy has egress rules.
Source: Network Policies (Kubernetes) — The NetworkPolicy resource