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

CKA study material · question 253 of 1000

A NetworkPolicy restricts inbound traffic to a set of Pods. What is the effect on their outbound traffic?

  1. It is allowed only to the same namespace
  2. It is blocked entirely
  3. It is restricted to the same peers
  4. It is unaffected, because the directions are declared independently
Show the answer

Answer: D. It is unaffected, because the directions are declared independently

Ingress and egress isolation are declared independently, so restricting inbound leaves outbound open.

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

Challenge yourself on this topic → Study as cards