A system administrator is deploying a custom Virtual Private Cloud (VPC) network to host internal microservices in Google Cloud. The microservices run on Compute Engine virtual machines that do not have external public IP addresses assigned. These instances must be able to reach Google Cloud Storage buckets and BigQuery API endpoints securely without exposing traffic to the public internet. Which configuration option must be enabled on the subnet to meet this requirement?
- Enable Private Google Access on the subnet.Cevap
- BGrant the primitive Editor role to the default Compute Engine service account.
- CConfigure an egress firewall rule with priority 65535 that explicitly grants access to 0.0.0.0/0 on port 443.
- DConfigure VPC Network Peering between the custom subnet CIDR block and Google APIs.
Cevap
Enable Private Google Access on the subnet to allow virtual machines with only internal IP addresses to reach Google Cloud APIs and services.
Enabling Private Google Access on a subnet allows Compute Engine VMs that have only private internal IP addresses to communicate with Google services (such as Cloud Storage and BigQuery) via Google's internal network routes.
Adım Adım Çözüm
Anahtar Kavram
Private Google Access Subnet Configuration
Tahmini Süre:1m 15s