Google Cloud Professional Cloud Security Engineer — Question 103

You need to set up a Cloud Interconnect connection between your company’s on-premises data center and VPC host network. You want to make sure that on-premises applications can only access Google APIs over the Cloud Interconnect and not through the public internet. You are required to only use APIs that are supported by VPC Service Controls to mitigate against exfiltration risk to non-supported APIs. How should you configure the network?

Answer options

Correct answer: D

Explanation

The correct answer is D because using restricted.googleapis.com ensures that access to Google APIs is limited to IP addresses that are routable only within Google Cloud, enhancing security. Option A does not specifically restrict API access to the Cloud Interconnect, while option B does not utilize the correct endpoint for restricted access. Option C fails to provide the necessary restrictions provided by the restricted.googleapis.com endpoint.