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

1 hour, 52 minutes remaining!

GCP Professional Cloud Architect Practice Question

Your company uses a global external HTTP(S) load balancer whose back-end instances will be created from an instance template. The VMs must run in the existing custom VPC "retail-prod" and the regional subnet "frontend-us" (10.10.20.0/24, us-central1). Only these connections should reach the VMs:

  • TCP 80 from 35.191.0.0/16 and 130.211.0.0/22 (the load balancer)
  • TCP 22 from 192.168.10.0/24 (on-prem admin subnet) All other inbound traffic must remain blocked automatically, even when new instances are auto-scaled. Which design meets the requirements while minimizing ongoing firewall maintenance?
  • Use the default VPC and rely on a startup script in the instance template to configure iptables to open ports 80 and 22; do not create any new Google Cloud firewall rules.

  • Define two ingress firewall rules in "retail-prod": one allowing tcp:80 from 35.191.0.0/16 and 130.211.0.0/22, and one allowing tcp:22 from 192.168.10.0/24. Both rules target instances with the network tag "frontend". In the instance template, specify network "retail-prod", subnet "frontend-us", and add the "frontend" tag so every VM automatically receives the correct access.

  • Attach the instances to "retail-prod/frontend-us" and configure Cloud NAT for egress. Skip all custom firewall rules because Cloud NAT blocks unsolicited inbound traffic by default.

  • Create two firewall rules that allow tcp:80 and tcp:22 from 0.0.0.0/0 to the subnet "frontend-us". Depend on each VM's operating-system firewall to reject unwanted sources.

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