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?
- AVPC firewall rule
- BCloud Armor policy
- CIAM role binding
- DNetwork Policy
Show answerHide 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.