Professional Cloud Security Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Last updated
An enterprise is deploying confidential workloads onto Compute Engine instances within a custom VPC subnet that has no external IP addresses and no default internet gateway route. The security team has defined a VPC Service Controls (VPC-SC) perimeter protecting services such as Cloud Storage and BigQuery.
To enforce strict perimeter boundaries and prevent data exfiltration, the architecture must satisfy these criteria:
Which network and DNS configuration should the security engineer implement?
Enable Private Google Access on the subnet, create a Cloud DNS private zone for googleapis.com with a CNAME record directing *.googleapis.com to restricted.googleapis.com, and map restricted.googleapis.com to 199.36.153.4/30.
Configure Private Services Access with a VPC Network Peering connection to Google services and deploy a Cloud NAT gateway with Endpoint-Independent Mapping.
Deploy a Serverless VPC Access connector in a dedicated /28 subnet and configure custom egress firewall rules blocking destination port 443 for default gateway routes.
Enable Private Google Access on the subnet, create a Cloud DNS private zone for googleapis.com with a CNAME record directing *.googleapis.com to private.googleapis.com, and map private.googleapis.com to 199.36.153.8/30.
Enable Private Google Access on the subnet, create a Cloud DNS private zone for googleapis.com with a CNAME record directing *.googleapis.com to restricted.googleapis.com, and map restricted.googleapis.com to 199.36.153.4/30.
The restricted.googleapis.com virtual IP (VIP) address range (199.36.153.4/30 for IPv4) is a specialized Google Cloud endpoint designed specifically to integrate with VPC Service Controls. When workloads route API traffic to this VIP, Google Cloud only accepts API calls directed to services that support VPC Service Controls perimeters.
restricted.googleapis.com automatically drops or rejects requests targeting Google services that do not support VPC Service Controls. This prevents workloads from exfiltrating data via unvetted, non-perimeter-protected APIs.googleapis.com with a wildcard CNAME to restricted.googleapis.com ensures that all VM API calls natively resolve to 199.36.153.4/30.Routing to restricted.googleapis.com is the Google Cloud best practice for environments governed by VPC Service Controls. It ensures that traffic cannot bypass perimeter security boundaries while keeping network traffic entirely private.
Configure Private Services Access with a VPC Network Peering connection to Google services and deploy a Cloud NAT gateway with Endpoint-Independent Mapping.
Deploy a Serverless VPC Access connector in a dedicated /28 subnet and configure custom egress firewall rules blocking destination port 443 for default gateway routes.
Enable Private Google Access on the subnet, create a Cloud DNS private zone for googleapis.com with a CNAME record directing *.googleapis.com to private.googleapis.com, and map private.googleapis.com to 199.36.153.8/30.