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

CKA study material · question 760 of 1000

A NetworkPolicy allows Pod A to open a connection to Pod B on port 8080. What about the responses B sends back?

  1. They are permitted implicitly
  2. They need a matching egress rule on B
  3. They need a matching ingress rule on A
  4. They need both of the above
Show the answer

Answer: A. They are permitted implicitly

Reply traffic for an allowed connection is allowed implicitly, so a single exchange does not need rules written in both directions.

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

Challenge yourself on this topic → Study as cards