Compare / Private Google Access vs Cloud NAT
Private Google Access vs Cloud NAT
Both let resources without external IP addresses reach things outside the VPC. Private Google Access reaches Google APIs and services only. Cloud NAT gives outbound access to the internet at large.
In 14 practice questions across 6 practice banks
Your company uses a multi-VPC architecture to isolate its production, development, and testing environments. Following a recent security mandate, you need to ensure that all Compute Engine VMs across multiple production VPCs can access Google APIs, such as Cloud Storage and Cloud SQL, without having any route pointing to the internet gateway to comply with security policies. Your solution must also be scalable and easy to manage across all VPCs. What should you do?
-
Cloud NAT still needs the default internet route and is an egress path to the public internet, contrary to the policy.
-
VPC Service Controls is a perimeter for data exfiltration protection, not a connectivity mechanism for reaching APIs.
-
private.googleapis.com (199.36.153.8/30) still routes via the default internet gateway, which the policy forbids.
-
a PSC endpoint for Google APIs provides an internal next hop to Google services, no internet gateway route needed.
Pick an answer to see why each option is right or wrong.
Try 20 questions freeAt a glance
| Private Google Access | Cloud NAT | |
|---|---|---|
| Reaches | Google APIs and services | Internet destinations (and Google APIs over public IPs) |
| Direction | Outbound to Google | Outbound only; replies allowed, unsolicited inbound is not |
| Configured on | The subnet | A Cloud Router, per region |
| Extra cost | No separate charge for the feature | Gateway and data processing charges |
| Typical use | VMs with no external IP calling Cloud Storage or BigQuery | VMs with no external IP downloading packages or calling external APIs |
Choose Private Google Access when
- Private VMs only need Google APIs such as Cloud Storage or BigQuery.
- You want to avoid sending that traffic through an internet gateway.
Choose Cloud NAT when
- Private VMs must reach the public internet, for updates or third-party APIs.
- You need stable outbound IP addresses that partners can allowlist.
Exam tip
"No external IP" plus "access Google APIs" is Private Google Access. Add "download from the internet" and Cloud NAT is needed too.
Practice banks covering this comparison
Counts match names or aliases from both sides of the comparison in question text or answer options, including incorrect options. They do not measure how often a decision appears on the official exam.
More comparisons
- BigQuery vs Bigtable
- Dataflow vs Dataproc
- Spanner vs Cloud SQL
- Cloud Run vs GKE
- Cloud Composer vs Workflows
- Firestore vs Bigtable
- Cloud SQL for PostgreSQL vs AlloyDB
- Shared VPC vs VPC Network Peering
- Cloud VPN vs Cloud Interconnect
- Cloud Storage classes: Standard, Nearline, Coldline or Archive?
- Cloud Run functions vs Cloud Run services
- Cloud Armor vs VPC firewall rules
- Memorystore vs Firestore
- Looker vs Looker Studio
- Pub/Sub vs Cloud Tasks
- App Engine vs Cloud Run
- Google-managed keys vs Customer-managed keys (CMEK)
- Identity-Aware Proxy vs VPN
- Compute Engine vs GKE
- Spanner vs Bigtable
- BigQuery vs Cloud SQL
- Firestore vs Cloud SQL
- Dataproc vs BigQuery
- GKE Autopilot vs Standard: which mode to choose?
- Vertex AI vs BigQuery ML
- VPC Service Controls vs IAM