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

CKA study material · question 252 of 1000

When does a Pod become isolated for egress?

  1. As soon as any NetworkPolicy exists in the namespace
  2. When it has no egress rules of its own
  3. When the cluster enables NetworkPolicy support
  4. When a NetworkPolicy selects it and lists Egress in policyTypes
Show the answer

Answer: D. When a NetworkPolicy selects it and lists Egress in policyTypes

A Pod is isolated for a direction only when some policy selects it and names that direction in policyTypes.

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

Challenge yourself on this topic → Study as cards