Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Network Engineer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
https://docs.cloud.google.com/sdk/gcloud/reference/compute/routes/create " --next-hop-address=NEXT_HOP_ADDRESS Specifies the IP address of an instance that should handle matching packets. The instance must have IP forwarding enabled ... --next-hop-gateway=NEXT_HOP_GATEWAY Specifies the gateway that should handle matching packets. Currently, the only acceptable value is default-internet-gateway which is a gateway operated by Google Compute Engine. ... --next-hop-vpn-tunnel=NEXT_HOP_VPN_TUNNEL The target VPN tunnel that will receive forwarded traffic. ... --next-hop-vpn-tunnel-region=NEXT_HOP_VPN_TUNNEL_REGION The region of the next hop vpn tunnel. If not specified, you might be prompted to select a region (interactive mode only). " Since --next-hop-address can only forward to an instance (not a Cloud VPN gateway), B is eliminated. Since -- next-hop-gateway can only refer to the default Internet gateway, A is eliminated. C is the only valid choice left.
The name and region of the Cloud VPN tunnel are used when defining the static route via the gcloud command to ensure the traffic uses the correct tunnel.
I will go with C