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

1 hour, 53 minutes remaining!

GCP Associate Cloud Engineer Practice Question

Your company's VPC network is named prod-vpc. All VM instances that should use the on-premises connection have the network tag priv-egress. The on-premises CIDR block is 10.50.0.0/16 and is reachable through an existing Cloud VPN tunnel called corp-tunnel in region us-central1. You need to ensure that traffic from tagged VMs to 10.50.0.0/16 takes this VPN path and not the default internet route. Which gcloud command meets the requirement?

  • gcloud compute routes create corp-onprem-route --network prod-vpc --destination-range 10.50.0.0/16 --next-hop-gateway default-internet-gateway --priority 900 --tags priv-egress

  • gcloud compute routes create corp-onprem-route --network prod-vpc --destination-range 10.50.0.0/16 --next-hop-vpn-tunnel corp-tunnel --next-hop-vpn-tunnel-region us-central1 --priority 900 --tags priv-egress

  • gcloud compute routes create corp-onprem-route --network prod-vpc --destination-range 10.50.0.0/16 --next-hop-vpn-tunnel corp-tunnel --priority 1100 --tags priv-egress

  • gcloud compute routes create corp-onprem-route --network prod-vpc --destination-range 10.50.0.0/16 --next-hop-instance nat-gce --next-hop-zone us-central1-a --priority 900

GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
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