Skip to content
PCA Practice
SQ25

A team using GKE needs to enforce that pods in the "payments" namespace cannot communicate with pods in the "analytics" namespace. Which Kubernetes resource is most appropriate?

  1. AVPC firewall rule
  2. BCloud Armor policy
  3. CIAM role binding
  4. DNetwork Policy
Show answer

Answer: D

Kubernetes Network Policies control pod-to-pod traffic at the namespace and label level. IAM and Cloud Armor operate at different layers. VPC firewalls can't distinguish Kubernetes namespaces.

← SQ24Practice this topicSQ26 →