🔥 40% Off Crucial Exams Memberships — Deal ends today!

1 hour, 53 minutes remaining!

GCP Professional Cloud Architect Practice Question

You manage a Shared VPC host project that contains a custom-mode network named prod-vpc (10.20.0.0/16). An existing Google Kubernetes Engine Standard cluster in the service project analytics-proj is VPC-native and uses subnet 10.20.10.0/24 in prod-vpc. A new Cloud Run (fully managed) service will be deployed in another service project (svc-proj).

The Cloud Run service must

  • call an internal HTTP endpoint exposed by one of the GKE micro-services without traversing the public internet,
  • keep all traffic between Cloud Run and the GKE workload on Google's private backbone (no public IP addresses on either workload),
  • continue to call external SaaS APIs on the public internet, and
  • minimize ongoing network administration effort and avoid maintaining custom gateway VMs.

Which architecture meets these requirements?

  • Deploy a Compute Engine NAT gateway VM in svc-proj and configure Cloud Run to forward all egress traffic to that VM, which then routes requests to the GKE cluster over the Shared VPC.

  • Expose the GKE micro-service with a Service of type LoadBalancer to obtain an external IPv4 address, restrict its firewall to Cloud Run egress IP ranges, and invoke it directly from Cloud Run without using a connector.

  • Set up Cloud VPN tunnels between svc-proj and analytics-proj, assign a static external IP to Cloud Run using a custom egress feature, and expose the GKE workload through an external passthrough Network Load Balancer.

  • In svc-proj, create a regional Serverless VPC Access connector that uses a /28 secondary range in the shared prod-vpc subnet; configure the Cloud Run service to route only private-range traffic through the connector. Expose the GKE micro-service with an Internal HTTP(S) Load Balancer backed by a container-native NEG. No additional gateways or VMs are required.

GCP Professional Cloud Architect
Managing and provisioning a solution infrastructure
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot