Soru

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

A solutions architect is planning a multi-region network layout for an enterprise application across two custom-mode Virtual Private Cloud (VPC) networks named `vpc-analytics` and `vpc-services`. The organization plans to establish VPC Network Peering between `vpc-analytics` and `vpc-services` so instances in both networks can communicate using internal IP addresses. Which network planning requirement must be met before creating the VPC Network Peering connection?

  1. The primary and secondary IP ranges of subnets in both VPC networks must not overlap.Cevap
  2. B
    Both VPC networks must first be converted from custom-mode to auto-mode VPC networks.
  3. C
    Subnets in both VPC networks must be created within the same Google Cloud region.
  4. D
    Firewall rules from both networks must be combined into a single legacy network configuration.

Cevap

The primary and secondary IP ranges of subnets in both VPC networks must not overlap.
VPC Network Peering enables private RFC 1918 connectivity between two VPC networks. A fundamental constraint of GCP VPC Network Peering is that no subnets (including primary and secondary IP ranges) can overlap between the peered networks.

Adım Adım Çözüm

1
Analyze VPC Network Peering requirements
Identify that VPC Peering connects two VPC networks using internal IP routing.
Internal IP routing between peered networks requires unique IP ranges so packets can be routed unambiguously without IP conflicts.
2
Evaluate subnet range constraints for peered VPCs
Confirm that neither primary CIDR blocks nor secondary CIDR blocks (used for GKE or alias IPs) can overlap across the peered networks.
If any primary or secondary IP ranges overlap between the two VPCs, GCP prevents the creation or establishment of the peering connection.

Anahtar Kavram

VPC Network Peering IP Non-Overlap Requirement
Tahmini Süre:1m 30s
Bu soruyu puanla