Google
ASSOCIATE-CLOUD-ENGINEER · Question #107
Your VMs are running in a subnet that has a subnet mask of 255.255.255.240. The current subnet has no more free IP addresses and you require an additional 10 IP addresses for new VMs. The existing…
The correct answer is A. Use gcloud to expand the IP range of the current subnet. https://cloud.google.com/sdk/gcloud/reference/compute/networks/subnets/expand-ip-range
Submitted by the_admin· Mar 30, 2026Planning and configuring a cloud solution
Question
Your VMs are running in a subnet that has a subnet mask of 255.255.255.240. The current subnet has no more free IP addresses and you require an additional 10 IP addresses for new VMs. The existing and new VMs should all be able to reach each other without additional routes. What should you do?
Options
- AUse gcloud to expand the IP range of the current subnet.
- BDelete the subnet, and recreate it using a wider range of IP addresses.
- CCreate a new project. Use Shared VPC to share the current network with the new project.
- DCreate a new subnet with the same starting IP but a wider range to overwrite the current subnet.
How the community answered
(33 responses)- A85% (28)
- B9% (3)
- C3% (1)
- D3% (1)
Explanation
https://cloud.google.com/sdk/gcloud/reference/compute/networks/subnets/expand-ip-range
Topics
#VPC subnet#IP range expansion#subnet mask#gcloud
Community Discussion
No community discussion yet for this question.