Security Architecture

A compromised pod in a Kubernetes cluster with default networking connected to database pods in another namespace. Which orchestrator control BEST prevents this lateral movement?

Show the answer

Correct answerD. Default-deny network policies allowing only required pod-to-pod flows

AWhy not this: Image signing checks image origin before deployment and does not restrict a running pod's connections.

BWhy not this: A node management firewall does not filter pod-to-pod traffic across namespaces.

CWhy not this: RBAC controls who can call the API, not whether one pod can reach another over the network.

DWhy this is right: Network policies with default deny limit pod traffic by namespace and label, blocking the lateral path.

By default pods can talk to each other freely, and network policies restrict pod-to-pod traffic to allowed flows. RBAC is tempting but governs access to the Kubernetes API, not traffic between pods.