Choose two. You want to enforce Kubernetes NetworkPolicy rules at the pod level in a new GKE cluster. Which two steps are required?
Choose an answer
Tap an option to check your answer.
Correct answer: Enable the GKE Network Policy feature when you create the cluster, Create Kubernetes NetworkPolicy resources in the namespaces that require isolation.
Why this is the answer
To enforce Kubernetes NetworkPolicy rules, you must first enable the GKE Network Policy feature during cluster creation. This activates the necessary network policy controller within the GKE cluster. Once enabled, you then define and apply Kubernetes NetworkPolicy resources within the specific namespaces where you want to control pod-to-pod or pod-to-external traffic. These policies specify how groups of pods are allowed to communicate with each other and other network endpoints. VPC firewall rules operate at the VM instance level, not the pod level, so opening VPC firewall ports or attaching network tags to pods would not directly implement pod-level NetworkPolicy enforcement.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed