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

CKA study material · question 757 of 1000

A NetworkPolicy selects a Pod, lists an ingress rule, and sets policyTypes to ["Ingress"]. What is the Pod's egress isolation?

  1. Unchanged; it remains non-isolated for egress
  2. Isolated, with only the listed ingress peers reachable
  3. Isolated, with all egress denied
  4. Isolated, with egress mirroring the ingress rule
Show the answer

Answer: A. Unchanged; it remains non-isolated for egress

A policy isolates a Pod for a direction only if that direction appears in its policyTypes, so an Ingress-only policy leaves outbound traffic entirely unrestricted.

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

Challenge yourself on this topic → Study as cards