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

CKA study material · question 767 of 1000

A NetworkPolicy is applied successfully but traffic it should block still flows. What is the first thing to check?

  1. Whether the Pods have the NET_ADMIN capability
  2. Whether the policy is in the same namespace as the Service
  3. Whether the cluster's network plugin implements NetworkPolicy
  4. Whether kube-proxy is running in nftables mode
Show the answer

Answer: C. Whether the cluster's network plugin implements NetworkPolicy

The API accepts NetworkPolicy objects whether or not anything enforces them; without a plugin that implements the API the policy is inert and traffic is unaffected.

Source: Network Policies (Kubernetes) — Prerequisites

Challenge yourself on this topic → Study as cards