GCP Professional Cloud Architect Practice Question

Your security team mandates that no Compute Engine VMs receive external IP addresses. A managed instance group running in subnet "prod-us-central1-a" must fetch operating-system updates from public package repositories several times a day. The solution must block all unsolicited inbound connections from the internet, scale automatically as the group grows, and require minimal ongoing maintenance. Which approach best meets these requirements?

  • Launch a small Linux VM with an external IP in the subnet, configure it with IP forwarding and iptables NAT rules, and set it as the default gateway for the instance group.

  • Create a regional Cloud NAT gateway, attach it to the existing Cloud Router for the VPC, and configure it to serve the prod-us-central1-a subnet.

  • Enable Private Google Access on the subnet so the instances can reach external package repositories without needing public IP addresses.

  • Assign ephemeral external IP addresses to the instances during the update window, then remove the addresses afterward using an automation script.

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