GoogleGoogle Professional Cloud Network Engineer (PCNE) Certification·EN·Updated 22 Aug 2026
VM instances have only private IPs and need Cloud Storage access. All VM traffic must be routed back to on‑prem via Cloud Interconnect for scrubbing, but VM traffic to Google APIs should remain in the VPC. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Delete the default route in the VPC and configure your on‑prem router to advertise 0.0.0.0/0 via BGP. Create a private Cloud DNS zone for googleapis.com with a CNAME for *.googleapis.com to private.googleapis.com and an A record for private.googleapis.com pointing to 199.36.153.8/30. Create a static route for 199.36.153.8/30 with the default internet gateway as next hop..
Why this is the answer
The correct solution ensures all non-Google API traffic is routed through on-prem, while Google API traffic remains within Google Cloud. Deleting the default VPC route and advertising 0.0.0.0/0 from on-prem via BGP forces all internet-bound traffic (except explicitly routed Google API traffic) back to on-prem for scrubbing. Using Private Google Access via private.googleapis.com (199.36.153.8/30) and a corresponding static route with the default internet gateway as the next hop allows VMs with only private IPs to reach Google APIs directly within Google's network, bypassing on-prem. The other options are incorrect because they either use restricted.googleapis.com (which is for VMs with external IPs), use a public Cloud DNS zone, or incorrectly prioritize routes, failing to meet the requirement for all non-Google API traffic to go through on-prem.