Google PCNE: GKE, Containers and Application Networking — Study Guide

Part of the Google Professional Cloud Network Engineer — Study Guide. Practice with verified answers in the Google exam hub, or take timed practice tests on ExamRoll.io.

Overview

Google Kubernetes Engine (GKE) integrates tightly with Google Cloud networking. Designing for reliability and security requires understanding VPC-native IP addressing, private control planes, egress, north–south and east–west traffic, policy enforcement, and multi-cluster constructs. This section provides design guidance, operational reasoning, and common failure modes for containers and application networking on Google Cloud.

GKE IP architecture and private clusters

VPC-native clusters

Private clusters, control plane access, and node egress

Scaling and IP troubleshooting

Ingress, Gateway API, Services, and policies

Services and load balancers

Client restriction and health checks

Network policies and dataplane v2

Failure modes and trade-offs

Multi-cluster, service mesh, and identity

Multi-cluster services and fleet networking

Service mesh, east–west, and observability

Workload identity, secrets, and least privilege

Resilience and secure platform design considerations

Practical Problem Scenario

Contoso Retail operates two private GKE regional clusters in us-east1 and europe-west1. Requirements: no external IPs on nodes, secure ingress limited to corporate CIDRs, global availability for a storefront service, image pulls without internet exposure, and cross-cluster failover for the API tier. They previously hit Pod IP exhaustion during a surge.

Approach

  1. Design VPC-native subnets with generous secondary ranges.

    • Rationale: Allocate a /17 Pod range and /21 Service range per region to cover 100 nodes × 200 Pods/node and 1,500 services with 20–30% headroom. This prevents recurrence of Pod IP exhaustion and avoids re-IP during growth.
  2. Create private clusters with private control plane endpoints.

    • Rationale: Limits control plane exposure to the VPC. Operators connect via a bastion on a management subnet. This reduces the attack surface compared to public endpoints with Authorized Networks.
  3. Enable Cloud NAT and Private Google Access on node subnets.

    • Rationale: Nodes have no external IPs but still need to pull images from Artifact Registry and reach OS/package mirrors. PGA ensures Google API access without public source IPs; Cloud NAT handles non-Google egress as needed.
  4. Implement global HTTP(S) ingress using Gateway API with Pod NEGs.

    • Rationale: A single global anycast VIP reduces latency for worldwide users. GKE Pod NEGs send health checks directly to Pods and improve failure detection. Gateway API provides a clean separation between infra Gateways and app-owned Routes.
  5. Restrict client access and permit health checks.

    • Rationale: Attach a Cloud Armor policy to allow only corporate CIDRs, with a default deny and preview mode to evaluate new blocks safely. Additionally, ensure VPC firewall rules permit Google health check source ranges to backend NEGs so health checks remain green.
  6. Apply NetworkPolicy with GKE Dataplane V2.

    • Rationale: Default-deny ingress and egress per namespace; allow only frontend-to-backend and backend-to-database ports. Dataplane V2 enforces policies efficiently with eBPF, shrinking blast radius for compromised Pods.
  7. Enable Multi-Cluster Services across the fleet.

    • Rationale: Export the API service in both regions and publish a single DNS. Clients automatically fail over to healthy endpoints across clusters. Because both clusters are in the same VPC with regional subnets, cross-region traffic stays private and incurs minimal overhead.
  8. Adopt a service mesh for east–west security and observability.

    • Rationale: Enforce mTLS between services, add retry/timeout budgets, and get per-route metrics and traces. Mesh-level policy complements NetworkPolicy: NetworkPolicy gates L3/L4 reachability; mesh authenticates and authorizes service identities at L7.
  9. Harden workload identities and secrets.

    • Rationale: Map KSAs to narrowly scoped GSAs via Workload Identity; grant only necessary roles such as storage.objectViewer for report fetchers. Deliver credentials through Secret Manager CSI to avoid static secrets in manifests.
  10. Implement capacity and logging guardrails.

    • Rationale: Set max-pods-per-node thoughtfully to balance IP usage. Monitor secondary range utilization and VPC Flow Logs. Create an explicit high-priority deny-all firewall rule with logging on the application tag to surface unintended client traffic while preserving allowed paths.

This design yields private-by-default clusters with controlled north–south access, resilient multi-cluster failover, principled least-privilege identity, and a dataplane that scales without recurring IP exhaustion.


Routing · All domains · Network Observability

Practice these questions → · Timed practice on ExamRoll.io →

Pass the whole exam — not just this question

You found this answer. Get every verified question and explanation in one place, and save hours of prep. Free to start.

Pass your exam →

Browse Google →

Related guides

All-in-one access

One subscription. Every exam.

Every plan unlocks unlimited answer search, practice tests, AI explanations, and the full resource library — in 20+ languages.

Monthly
24.87
Just €0.83/day
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

Best value
12 months
179.87
Just €0.49/daySave 40%
Everything included:
  • Unlimited answer search
  • Unlimited practice tests
  • AI-powered explanations
  • Full resource library
  • 20+ languages
  • Weekly content updates
  • Rewards & referrals
  • Priority support
Start free trial

No credit card required*

✓ Free plan included · ✓ Cancel anytime · ✓ All plans unlock the full product