QuestionQ79

VerifiedEnsuring the successful operation of a cloud solution

You have a Dataproc cluster deployed in a single Virtual Private Cloud (VPC) network, within one subnet whose range is 172.16.20.128/25. No private IP addresses remain available in the subnet. You need to add new VMs that can communicate with the cluster, using the fewest possible steps. What should you do?

Explanation

The existing subnet 172.16.20.128/25 only uses the upper half of the 172.16.20.0/24 block. Google Cloud VPC lets you expand a subnet's primary IP range in place (to a larger CIDR that still contains the original range) without disrupting existing resources. Changing the range to 172.16.20.0/24 immediately frees up the 172.16.20.0/25 addresses for new VMs in the same subnet and VPC, letting them communicate directly with the Dataproc cluster with no peering, secondary ranges, or route exchange configuration required — making it the minimal-step solution.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!