Soru

Zorluk: OrtaPlanning Virtual Private Cloud (VPC) Networks and Subnets

An enterprise organization is planning a Google Cloud Virtual Private Cloud (VPC) network architecture to connect an on-premises data center using the IPv4 range 10.100.0.0/1610.100.0.0/16 to GCP via Cloud VPN. The cloud deployment will span two regions (`us-central1` and `europe-west1`) and will host Google Kubernetes Engine (GKE) clusters. Which TWO network design practices should the cloud engineer follow to prevent IP address collisions and maintain flexible network expansion? (Select TWO.)

  1. Create a Custom mode VPC network instead of an Auto mode VPC network to manually define non-overlapping subnet CIDR blocks.Cevap
  2. B
    Use an Auto mode VPC network so that Google Cloud automatically manages IP range expansion without manual subnetwork routing tables.
  3. Ensure secondary IP ranges allocated for GKE pods and services do not overlap with any on-premises CIDR ranges.Cevap
  4. D
    Assign a primary subnet range of 10.100.10.0/2410.100.10.0/24 in `us-central1` and rely on Cloud Router BGP to automatically resolve overlapping addresses.

Cevap

The cloud engineer must create a Custom mode VPC network to explicitly control subnet allocation and ensure that GKE secondary IP ranges do not overlap with on-premises CIDRs.
The correct responses identify key VPC planning requirements for hybrid enterprise networks. Using Custom mode VPC networks ensures that subnets are only created where needed with user-defined CIDR blocks, preventing automated creation of overlapping ranges. Additionally, accounting for GKE secondary IP ranges (used for Pods and Services) is necessary because these IP ranges must remain unique across both the GCP VPC and connected on-premises networks to avoid routing collisions.

Adım Adım Çözüm

1
Evaluate VPC mode selection for hybrid enterprise deployment
Auto mode VPCs automatically provision subnets across all regions using predefined ranges, which increases collision risk with on-premises CIDRs. Custom mode allows precise IP planning.
Enterprise hybrid setups require strict management of IP address space to prevent route advertisement collisions over Cloud VPN.
2
Analyze GKE network requirements for secondary IP ranges
GKE VPC-native clusters require secondary IPv4 ranges for Pods and Services. These ranges are routable within the network.
If secondary IP ranges overlap with on-premises IP space, hybrid traffic to/from on-premises systems or pods will fail due to conflicting routes.

Anahtar Kavram

VPC Network Planning and Hybrid Subnet Allocation
Bu soruyu puanla