GCP ACE Practice / Study guide / Topics / VPC Networking & Load Balancing

VPC Networking & Load Balancing

What actually gets tested on the Google Cloud Associate Cloud Engineer exam, the traps to know, and 6 free sample questions with full explanations.

VPC firewall rules default-deny ingress and default-allow egress; a missing ingress rule, not a broken application, is the exam's most common explanation for why a connection "fails" in a scenario question. Rules are evaluated by priority, matched on source ranges and target tags, and — like IAM — this is a topic where knowing the default behavior matters more than memorizing every parameter.

VPC Peering (and most hybrid-connectivity setups) breaks or blackholes traffic when the two sides have overlapping IP ranges, so planning non-overlapping RFC 1918 space up front is the correct move whenever a question mentions connecting VPCs or an on-prem network. Cloud NAT is outbound-only — it lets private instances reach the internet without a public IP, but it does not accept inbound connections, which is a frequent wrong-answer trap when a question actually needs inbound access.

On load balancers, match the layer to the need: the global external Application Load Balancer is Layer 7 — one anycast IP worldwide, TLS termination, URL routing, CDN integration, cross-region failover. A passthrough Network Load Balancer is Layer 4, regional, handles arbitrary TCP/UDP, and preserves the original source IP, unlike the HTTP(S)-only ALB. An internal Application Load Balancer gives you the same L7 routing but scoped to private RFC 1918 addresses inside your VPC — the answer whenever a scenario needs HTTP routing that should never be reachable from the public internet.

Exam tips for this topic

Sample questions — VPC Networking & Load Balancing

These 6 questions are drawn from our full bank of 658 to show the style and depth you'll get in the app. Each comes with the full explanation you'd see after answering in a real practice session.

Load balancing

A public website needs a single global anycast IP, HTTPS termination, and routing users to the nearest healthy backend region. Which load balancer?

Why: The global external ALB is Layer 7: one anycast IP worldwide, TLS termination, URL routing, CDN integration, cross-region failover. Network LBs are regional/L4, internal LBs aren't for public traffic, and VPN is connectivity, not load balancing.
Networking

You plan subnets for three regions and future VPC peering with a partner using 10.1.0.0/16. What must you avoid?

Why: VPC peering (and most hybrid connectivity) fails or blackholes with overlapping IP ranges, so plan around the partner's space. RFC 1918 is expected, multiple subnets per region are fine, and /20 is a normal size.
Load balancing

You must load-balance non-HTTP TCP traffic (a custom protocol on port 5000) to VMs in one region, preserving client source IPs. Which choice?

Why: Passthrough Network LB is Layer 4, handles arbitrary TCP/UDP, and passes packets through with the original source IP. The ALB is HTTP(S)-only; CDN caches HTTP content; a serverless NEG is a backend type, not a load balancer.
Networking

Which firewall rule model does a Google Cloud VPC use?

Why: VPC firewall rules are stateful, prioritized (0–65535), and target instances by tags or service accounts; the implied baseline is deny-all ingress, allow-all egress. Subnets don't carry ACLs, and OS firewalls are extra, not the mechanism.
Load balancing

Traffic between your internal microservice tiers (HTTP, private IPs only) should be load-balanced. Which product?

Why: The internal ALB provides L7 load balancing on private RFC 1918 addresses inside your VPC. External LBs expose public endpoints, and Cloud NAT is outbound-only address translation, not inbound balancing.
Networking

Google Cloud DNS is best described as:

Why: Cloud DNS hosts public zones (internet-facing) and private zones (visible to chosen VPCs) with a 100% availability SLA. Domain registration is a separate (partner) function, and it doesn't cache/serve content like a CDN.

Practice this for real

The app has dozens more questions on this and every other topic, with instant scoring, spaced repetition of what you get wrong, and progress tracking across sessions.

Start practicing →

This topic shows up in

Domain 2Planning & Configuring a Cloud Solution Domain 3Deploying & Implementing a Cloud Solution

Other topics

TopicIAM Roles & Permissions TopicService Accounts & Identity TopicBilling, Pricing & Cost Management TopicGoogle Kubernetes Engine (GKE) Topicgcloud CLI Commands TopicChoosing the Right Compute Option TopicCompute Engine Deployment & Operations TopicCloud Monitoring, Logging & Audit Logs TopicChoosing a Database on Google Cloud TopicResource Hierarchy, Projects & APIs TopicCloud Storage: Classes, Access & Security TopicServerless Compute: Cloud Run & App Engine TopicData Protection: Encryption & Secret Manager TopicInfrastructure as Code & Cloud Shell