A system administrator needs to accommodate 1,000 additional virtual machines within an existing custom-mode VPC primary subnet located in the `us-west1` region. The current subnet uses the primary IP CIDR block . The company's on-premises network uses , so any new address space must not overlap with on-premises routes. Which action should the administrator take to expand the subnet capacity without causing downtime or IP space collisions?
- AExpand the primary IP range of the existing subnet to using the Google Cloud CLI.
- BExpand the primary IP range of the existing subnet to using the Google Cloud CLI.
- Expand the primary IP range of the existing subnet to using the Google Cloud CLI.Cevap
- DSwitch the VPC network from custom mode to auto mode so that Google Cloud automatically resizes the subnet.
Cevap
Expand the primary IP range of the existing subnet to using the Google Cloud CLI.
Expanding the primary range to decreases the prefix length from `/24` to `/22`, provides over 1,000 usable IP addresses, fully encompasses the original range, and avoids overlapping with the on-premises range .
Adım Adım Çözüm
Anahtar Kavram
VPC Subnet Primary CIDR Expansion Rules