- A
Instance with external IP
Can be configured as a NAT gateway for other private VMs.
- B
Cloud Router
Why wrong: Used for BGP routing, not NAT.
- C
Private Google Access
Why wrong: Only provides access to Google APIs, not the internet.
- D
Cloud NAT
Managed NAT service for private VMs.
- E
Cloud VPN
Why wrong: Used for connecting to on-prem networks, not direct internet.
Quick Answer
The answer is Cloud NAT. This service provides outbound internet connectivity for private VMs by performing source network address translation (SNAT), mapping the private IPs of your instances to a single public IP address managed by Google Cloud, without requiring any external IP on the VMs themselves. On the Google Professional Cloud Network Engineer exam, this concept tests your understanding of how to enable internet access for resources in a VPC while maintaining security and avoiding public exposure. A common trap is selecting an instance with an external IP acting as a NAT gateway, but that option is invalid here because the question explicitly states the VMs have no external IPs—Cloud NAT is the only service that meets that constraint. Remember the memory tip: “No public IP? Use Cloud NAT to SNAT.”
PCNE Practice Question: Designing, planning, and prototyping a GCP network
This PCNE practice question tests your understanding of designing, planning, and prototyping a gcp network. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Which TWO services can be used to provide outbound connectivity to the internet for private VMs in a VPC? (Assume VMs have no external IPs.)
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
Instance with external IP
Option A is correct because an instance with an external IP can provide outbound connectivity for private VMs if it is configured as a NAT gateway or proxy. However, the question specifies that VMs have no external IPs, so this option is technically incorrect in the context of the question's constraint. The intended correct answer for outbound connectivity without external IPs is Cloud NAT, which allows private VMs to access the internet using source network address translation (SNAT) without assigning external IPs to individual VMs.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Instance with external IP
- ✗
Cloud Router
- ✗
Private Google Access
Why it's wrong here
Only provides access to Google APIs, not the internet.
- ✓
Cloud NAT
Why this is correct
Managed NAT service for private VMs.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Cloud VPN
Why it's wrong here
Used for connecting to on-prem networks, not direct internet.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse Private Google Access (which only works for Google services) with general internet access, or assume Cloud Router or Cloud VPN can provide NAT-like functionality, when in fact only Cloud NAT (or a custom NAT instance) can provide outbound internet connectivity for private VMs without external IPs.
Detailed technical explanation
How to think about this question
Cloud NAT uses source network address translation (SNAT) to map private IP addresses of VMs to a single external IP address (or a pool) for outbound traffic, while preserving port ranges for connection tracking. It operates at the VPC level and supports both static and dynamic port allocation, with a default timeout of 30 seconds for TCP connections. In practice, Cloud NAT is essential for private clusters (e.g., GKE private nodes) that need to download updates or access external APIs without exposing individual VM IPs.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Designing, planning, and prototyping a GCP network — study guide chapter
Learn the concepts, then practise the questions
- →
Designing, planning, and prototyping a GCP network practice questions
Targeted practice on this topic area only
- →
All PCNE questions
497 questions across all exam domains
- →
Google Professional Cloud Network Engineer study guide
Full concept coverage aligned to exam objectives
- →
PCNE practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PCNE practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Designing, planning, and prototyping a GCP network practice questions
Practise PCNE questions linked to Designing, planning, and prototyping a GCP network.
Implementing hybrid interconnectivity practice questions
Practise PCNE questions linked to Implementing hybrid interconnectivity.
Configuring network services practice questions
Practise PCNE questions linked to Configuring network services.
Implementing network security practice questions
Practise PCNE questions linked to Implementing network security.
Implementing a Virtual Private Cloud practice questions
Practise PCNE questions linked to Implementing a Virtual Private Cloud.
PCNE fundamentals practice questions
Practise PCNE questions linked to PCNE fundamentals.
PCNE scenario practice questions
Practise PCNE questions linked to PCNE scenario.
PCNE troubleshooting practice questions
Practise PCNE questions linked to PCNE troubleshooting.
Practice this exam
Start a free PCNE practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this PCNE question test?
Designing, planning, and prototyping a GCP network — This question tests Designing, planning, and prototyping a GCP network — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Instance with external IP — Option A is correct because an instance with an external IP can provide outbound connectivity for private VMs if it is configured as a NAT gateway or proxy. However, the question specifies that VMs have no external IPs, so this option is technically incorrect in the context of the question's constraint. The intended correct answer for outbound connectivity without external IPs is Cloud NAT, which allows private VMs to access the internet using source network address translation (SNAT) without assigning external IPs to individual VMs.
What should I do if I get this PCNE question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
2 more ways this is tested on PCNE
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A developer wants to deploy a single Compute Engine instance that needs to initiate outbound connections to the internet, but should not have a public IP address. Which GCP networking feature must be configured?
easy- ✓ A.Cloud NAT on the subnet or VPC
- B.Configure a private Google access for the subnet
- C.Assign a static external IP address to the instance
- D.Set up an internal HTTP(S) load balancer
Why A: Cloud NAT (Network Address Translation) allows private Compute Engine instances to initiate outbound connections to the internet without assigning them public IP addresses. It translates the instance's private IP to a Cloud NAT external IP address for outbound traffic, while unsolicited inbound connections from the internet are blocked. This is the correct solution because the requirement explicitly states no public IP on the instance, yet outbound internet access is needed.
Variation 2. A startup wants to minimize costs for their development VPC. They have a few VMs that need occasional internet access for updates. What is the most cost-effective approach?
easy- A.Use Private Google Access
- ✓ B.Use Cloud NAT with a static IP
- C.Use a VPN to an on-prem network for internet
- D.Assign external IPs to each VM
Why B: Cloud NAT with a static IP is the most cost-effective approach because it allows multiple VMs to share a single static IP address for outbound internet access, eliminating the need for individual external IPs. This reduces costs since external IP addresses incur charges, and Cloud NAT provides managed, scalable outbound connectivity without requiring a VPN or dedicated gateway.
Last reviewed: Jun 24, 2026
This PCNE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCNE exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.