Google Cloud Professional Cloud Network Engineer — Question 245

You are responsible for enabling Private Google Access for the virtual machine (VM) instances in your Virtual Private Cloud (VPC) to access Google APIs. All VM instances have only a private IP address and need to access Cloud Storage. You need to ensure that all VM traffic is routed back to your on-premises data center for traffic scrubbing via your existing Cloud Interconnect connection. However, VM traffic to Google APIs should remain in the VPC. What should you do?

Answer options

Correct answer: D

Explanation

Option D is correct because it effectively removes the default route, directs traffic through the on-premises data center, and sets up Private Google Access correctly via DNS and static routing. The other options either misconfigure DNS settings or do not ensure that API traffic stays within the VPC, which is critical for this scenario.