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

CKA study material · question 756 of 1000

A namespace contains no NetworkPolicy objects at all. What traffic may its Pods send and receive?

  1. Only traffic within the namespace
  2. Only traffic to and from the cluster DNS Service
  3. None, until a policy explicitly allows it
  4. All inbound and outbound traffic
Show the answer

Answer: D. All inbound and outbound traffic

A Pod is non-isolated in both directions until some NetworkPolicy selects it; deny-by-default applies only once a policy applies to that Pod for that direction.

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

Challenge yourself on this topic → Study as cards