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

CKA study material · question 256 of 1000

A NetworkPolicy allows an inbound connection. Must a matching rule also permit the reply?

  1. Yes, an explicit egress rule is required
  2. No, reply traffic on an allowed connection is implicitly permitted
  3. Only when the Pod is isolated for egress
  4. Only for TCP; UDP replies need a rule
Show the answer

Answer: B. No, reply traffic on an allowed connection is implicitly permitted

Reply traffic for an allowed connection is permitted implicitly, so the return path needs no rule of its own.

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

Challenge yourself on this topic → Study as cards