Courseiva
easyMultiple ChoiceObjective-mapped

Google ACE Practice Question: Verify that a Compute Engine VM in `us-central1`…

You need to verify that a Compute Engine VM in `us-central1` can reach an on-premises server at IP `10.1.2.3` over a Cloud VPN connection. The VPN tunnel appears UP but you're unsure if routing is correct. Which GCP tool can test this connectivity?

⚠ Common exam trap

Many candidates assume a live ping from the VM (Option A) is the simplest test, but the question specifically asks for a tool to verify if routing is correct, not just connectivity — and Connectivity Tests provides a detailed path analysis without requiring VM access or generating live traffic.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use Network Intelligence Center Connectivity Tests to analyze the path from the VM to the on-premises IP.

B is correct because Network Intelligence Center Connectivity Tests can analyze the path from a specific source (the Compute Engine VM) to a destination (the on-premises server IP 10.1.2.3) across hybrid connectivity like Cloud VPN. It validates routing, firewall rules, and tunnel health without requiring you to SSH into the VM or run live traffic, making it ideal for diagnosing routing issues when the VPN tunnel is UP but connectivity is uncertain.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • SSH into the VM and run `ping 10.1.2.3` to test connectivity.

    Why it's wrong here

    SSH into the VM and running `ping 10.1.2.3` tests whether ICMP echo requests reach the on-premises IP and whether replies return, but ICMP may be disabled by on-premises firewalls or by the VM’s own OS firewall even when TCP/UDP application traffic would succeed. Furthermore, a ping failure gives no information about which component is at fault: the VPC firewall, the Cloud VPN tunnel, the on-premises router, or the destination host's security settings. Connectivity Tests are more powerful because they simulate the exact protocol and port you care about (e.g., TCP 443) and trace every hop to reveal where the packet is dropped.

  • Use Network Intelligence Center Connectivity Tests to analyze the path from the VM to the on-premises IP.

    Why this is correct

    Connectivity Tests in Network Intelligence Center perform a simulated hop-by-hop analysis of a packet’s path from a VM to an on-premises IP, dynamically evaluating all applicable VPC firewall rules, routes, Cloud VPN tunnels, and Cloud Interconnect VLAN attachments. This allows the test to pinpoint the exact rule or route that is blocking traffic, such as an egress firewall rule denying traffic to the on-premises CIDR or a missing BGP route advertisement. Unlike simple reachability checks, Connectivity Tests do not require actual traffic or agent installations, making them safe and non-invasive for production troubleshooting.

  • Review Cloud VPN tunnel metrics in Cloud Monitoring for packet loss.

    Why it's wrong here

    The Cloud VPN tunnel metrics in Cloud Monitoring, such as `sent_packets`, `received_packets`, and `tunnel_status`, indicate whether the tunnel is up and whether data is flowing over it. However, these metrics provide only aggregate tunnel health and do not tell you whether traffic to a specific on-premises IP (10.1.2.3) is routed correctly, whether BGP is advertising the exact prefix, or whether firewall rules on either side permit the packet. A tunnel can appear healthy with no packet loss while still failing to deliver traffic to the intended destination due to misconfigured routes, overlapping CIDRs, or policy-based routing gaps.

  • Run `gcloud compute routes list` to verify the route to 10.1.2.3 exists.

    Why it's wrong here

    Running `gcloud compute routes list` only shows the static and dynamically learned routes that exist in your VPC network, and it confirms whether a route to 10.1.2.3 is present. However, the command does not validate that the route is actually being used by the VM, nor does it inspect the on-premises side of the connection—such as VPN gateway policies, BGP peer status, or on-premises firewall rules. A route can exist in the route table and still be ineffective because the next hop is unhealthy, the tunnel is down, or a firewall rule blocks the traffic before it reaches the route.

About these practice questions

Courseiva writes every ACE question from scratch — 769 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.