Practice Test 2 | Google Cloud Certified Professional Cloud Network Engineer | Dumps | Mock Test
You have been asked to restrict the communications between pods and services such that you can determine which pods are allowed to communicate with one another in your GKE cluster.
Which of the following can be used to achieve this?
A. Network Policy.
B. Ingress.
C. master authorised networks.
D. firewall rules.
Answer: A
Option A is correct, this is how to restrict pod communications in GKE
Option B is incorrect, ingress is used to expose services externally via a HTTPS Load balancing.
Option C is incorrect, Enable master authorized networks is used to block untrusted non- GCP source IPs from accessing the Kubernetes master through HTTPS
Options D is incorrect, this does not apply to inter-pods communications
https://kubernetes.io/docs/concepts/services-networking/network-policies/ and https://cloud.google.com/kubernetes-engine/docs/how-to/network-policy explains Network Policies more.
Comments are closed, but trackbacks and pingbacks are open.