Courseiva
Planning and Configuring a Cloud SolutionmediumMultiple ChoiceObjective-mapped

Google ACE Planning and Configuring a Cloud Solution Practice Question

A company has a private VPC with instances that have only internal IP addresses. These instances need to download updates from the internet. Which Google Cloud service should they use to provide outbound internet connectivity?

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

Cloud NAT

Cloud NAT allows private instances to access the internet outbound while preventing inbound connections. Cloud VPN is for hybrid connectivity. Public IP addresses would expose the instances. IAP is for SSH/RDP access.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Cloud NAT

    Why this is correct

    Cloud NAT uses a Cloud Router to provide a managed Network Address Translation service that gives private instances (those with internal IPs only) a secure path to the internet for outbound connections. It maintains stateful sessions so return traffic is allowed, but unsolicited inbound connections are blocked, preserving the private nature of the network.

  • Cloud VPN

    Why it's wrong here

    Cloud VPN establishes an IPsec tunnel from Google Cloud to an on-premises or other remote network, enabling private, encrypted communication between disparate networks. It does not provide any internet egress capability for VM instances; it only routes traffic to the connected peer network, so instances still lack a path to the public internet.

  • Assign public IP addresses to the instances

    Why it's wrong here

    Assigning public IP addresses to instances directly enables outbound internet, but it also exposes each instance to inbound traffic from the internet unless restricted by network firewall rules. This contradicts the requirement to keep instances private and could force you to manage per-instance static public IPs, scaling costs and security overhead.

  • Identity-Aware Proxy (IAP)

    Why it's wrong here

    Identity-Aware Proxy (IAP) is a Google Cloud service that enforces identity-based access control to applications or VMs via OAuth, typically using a secure tunnel for management. It does not function as a general-purpose egress gateway; its tunnel only forwards specific connections to selected resources, not arbitrary outbound traffic from instances to the internet.

Visual reference

Inside (Private) PC-A 10.0.0.1 PC-B 10.0.0.2 NAT Router Outside (Public) 203.0.113.1 Inside Global Server PAT: many private IPs share one public IP via unique port numbers

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 →

How Courseiva writes practice questions · Editorial policy

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.