Study. uk . com
  1. Home
  2. All questions
  3. Question 254

CKA study material · question 254 of 1000

Two NetworkPolicies select the same Pod with different ingress rules. What traffic is allowed?

  1. Nothing, because the policies conflict
  2. Only what both policies allow
  3. The union of what both policies allow
  4. Whatever the newer policy allows
Show the answer

Answer: C. The union of what both policies allow

NetworkPolicies are additive and never conflict; the permitted set is the union, so evaluation order is irrelevant.

Source: Network Policies (Kubernetes) — The two sorts of pod isolation

Challenge yourself on this topic → Study as cards