Question

Difficulty: MediumPlanning Virtual Private Cloud (VPC) Networks and Subnets

A company is planning a Virtual Private Cloud (VPC) network in Google Cloud to host a multi-tenant Google Kubernetes Engine (GKE) cluster environment. The cloud network will connect directly to an existing on-premises data center using the IPv4 CIDR range 172.16.0.0/12172.16.0.0/12. The design requires dedicated primary IP ranges for node instances and secondary IP ranges for Pods and Services, with the ability to expand subnet capacity in the future without network disruption.

Which TWO network planning practices should the cloud architect follow to meet these requirements? (Select TWO.)

  1. Provision the VPC network in custom mode to explicitly manage subnets and ensure primary and secondary IP ranges do not overlap with 172.16.0.0/12172.16.0.0/12.Answer
  2. Reserve contiguous, unallocated IP address space adjacent to each primary subnet CIDR block to allow seamless subnet expansion in the future.Answer
  3. C
    Provision the VPC network in auto mode so Google Cloud automatically creates and resizes subnets across all regions as GKE workloads grow.
  4. D
    Reuse the on-premises 172.16.0.0/12172.16.0.0/12 CIDR block for secondary GKE Pod alias ranges and rely on Cloud Router NAT to resolve address collisions.

Answer

The network architect should provision the VPC network in custom mode with non-overlapping ranges relative to the on-premises network, and reserve contiguous adjacent IP address space next to each primary subnet block to facilitate future CIDR expansion.
Custom-mode VPC networks provide complete control over IP range planning, ensuring that primary and secondary ranges do not conflict with connected on-premises networks (such as 172.16.0.0/12172.16.0.0/12). Additionally, reserving contiguous IP space next to existing subnets allows administrators to expand subnet primary ranges in-place without causing CIDR overlap errors.

Step-by-Step Solution

1
Analyze VPC mode requirements for enterprise hybrid integration.
Auto-mode VPCs allocate fixed subnets in 10.128.0.0/910.128.0.0/9 across all GCP regions, which can lead to IP conflicts and lack custom secondary range management. Custom-mode VPC must be selected.
Custom-mode VPCs provide full control over subnet creation, regional deployment, and non-overlapping IP assignment.
2
Evaluate subnet expansion requirements and constraints.
Expanding a primary subnet range in GCP requires modifying the netmask to a broader contiguous prefix (e.g., from /24/24 to /23/23).
If adjacent IP addresses are already assigned to another subnet, in-place CIDR expansion will fail due to overlapping range errors.

Key Concept

VPC Subnet Planning and Expansion Rules
Rate this question