Google Cloud Professional Cloud Architect — Question 156

Your team needs to create a Google Kubernetes Engine (GKE) cluster to host a newly built application that requires access to third-party services on the internet.
Your company does not allow any Compute Engine instance to have a public IP address on Google Cloud. You need to create a deployment strategy that adheres to these guidelines. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer, A, is appropriate because configuring the GKE cluster as a private cluster with Cloud NAT Gateway allows the cluster to access the internet without exposing any Compute Engine instances to public IPs. Option B does not provide internet access to third-party services, and options C and D do not effectively meet the requirement to avoid public IP addresses while allowing internet access.