Google ACE Configuring Access and Security Practice Question
An engineer is configuring a Cloud NAT to allow private Compute Engine instances to access the internet. After creating the Cloud Router and NAT gateway, the instances still cannot connect to the internet. What is the most likely missing configuration?
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
✓
The VPC does not have a default route (0.0.0.0/0) to the default internet gateway.
Cloud NAT requires that the subnet has Private Google Access enabled for certain Google APIs, but for general internet access, the instances must have a default route to the internet gateway (0.0.0.0/0 next hop to default internet gateway). If this route is missing, traffic won't be sent to NAT. The other options are possible but less common.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
The VPC does not have a default route (0.0.0.0/0) to the default internet gateway.
Why this is correct
For Cloud NAT to work, the VPC network must contain a default route (0.0.0.0/0) whose next hop is the default internet gateway. This route is what causes outbound packets from instances to be sent to the gateway, where Cloud NAT performs the source IP translation. Without this route, packets destined for the internet have no valid next hop and are dropped, so the instances cannot reach the internet at all—Cloud NAT alone does not create routing logic.
- ✗
The firewall rules do not allow egress traffic.
Why it's wrong here
In a default GCP VPC, there is an ingress allow-all and egress allow-all firewall rule, so outbound traffic is permitted unless an explicit deny rule with higher priority overrides it. Since no deny egress rule is mentioned, the lack of outbound connectivity is not due to firewall restrictions. Even if restrictive firewall rules existed, they would still need to allow traffic to traverse the NAT; but because the question points to a routing problem, firewall is not the primary cause here.
- ✗
The Cloud Router is in a different region.
Why it's wrong here
Cloud NAT is a regional resource, meaning it only applies to instances in the same region as the Cloud Router and NAT configuration. If the Cloud Router is in a different region, instances in the intended region simply would not have Cloud NAT available, but they would still have internet access via their default route if one exists. In this scenario, the instances are described as private and unable to reach the internet, which points to the network having no default route at all, not a regional mismatch.
- ✗
The instances are not assigned a network tag used by the NAT.
Why it's wrong here
Cloud NAT does not select instances by network tags; it applies to all instances in the region of the NAT gateway, regardless of tags. Tags are used for firewall rule targeting and are not a condition for NAT membership. Therefore, even if instances lack a specific tag, they would still be eligible for NAT if a default route and Cloud NAT are configured. The misconception that tags are required arises from confusing Cloud NAT with firewall rules, but NAT is region-wide.
Visual reference
Go deeper
Related to this question
Learn chapter
Google Cloud Platform Overview
Key term
Cloud Router
A cloud router is a virtual networking device in a cloud environment that manages traffic between different virtual networks and connects them to on-premises networks using dynamic routing protocols.
Key term
Subnet
A subnet is a logical subdivision of an IP network, created by partitioning a larger network address space using subnet masks.
About these practice questions
One of 769 original ACE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This ACE 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 ACE exam.