Question

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

An organization is planning to connect its existing on-premises network, which uses the IP range 10.0.0.0/810.0.0.0/8, to Google Cloud using Cloud VPN. The cloud engineer must design a Virtual Private Cloud (VPC) network that prevents IP address collisions with the on-premises environment and allows precise control over subnet IP address allocations in specific regions. Which VPC network creation mode should the cloud engineer select?

  1. Create a custom-mode VPC network and manually define subnets with non-overlapping CIDR blocks.Answer
  2. B
    Create an auto-mode VPC network so GCP automatically assigns non-overlapping subnets in all regions.
  3. C
    Create a legacy-mode VPC network to allocate a single global IP range for all resources.
  4. D
    Create an auto-mode VPC network and edit the default subnet CIDR ranges after network creation.

Answer

Create a custom-mode VPC network and manually define subnets with non-overlapping CIDR blocks.
Custom-mode VPC networks start with zero automatically created subnets. This grants administrators full control to define custom subnet names, regions, and explicit CIDR ranges that do not collide with on-premises networks or other cloud environments.

Step-by-Step Solution

1
Analyze IP addressing requirements for hybrid connectivity.
Identified existing on-premises space (10.0.0.0/810.0.0.0/8) which overlaps with default GCP auto-mode ranges (10.128.0.0/910.128.0.0/9).
Preventing IP collisions is essential for routing traffic over Cloud VPN.
2
Evaluate VPC network modes (Auto vs. Custom).
Custom-mode VPC networks start with no subnets, giving total flexibility over subnet creation, regional placement, and IP range selection.
Auto-mode creates subnets in all regions automatically using fixed CIDRs, introducing conflict risks.
3
Select the optimal configuration mode.
Choose custom-mode VPC network creation.
It fulfills the requirement for strict control and collision prevention.

Key Concept

Custom-mode VPC networks allow complete control over subnet creation and IP address range allocation, which is necessary for hybrid cloud integrations.
Estimated Time:1m 0s
Rate this question