Medium1 markMultiple Choice
GCP ACE · Question 39 · Domain 4.5: Managing networking resources
You have a custom-mode VPC with a subnet in 'us-west1' using the CIDR range 10.0.0.0/24. You are running out of IP addresses in this subnet and need to expand it to 10.0.0.0/20.
What is the impact of running the gcloud compute networks subnets expand-ip-range command?
You have a custom-mode VPC with a subnet in 'us-west1' using the CIDR range 10.0.0.0/24. You are running out of IP addresses in this subnet and need to expand it to 10.0.0.0/20.
What is the impact of running the gcloud compute networks subnets expand-ip-range command?
Answer options:
A.
All VMs in the subnet will be rebooted to receive new IP addresses.
B.
The subnet is expanded immediately without any downtime for existing VMs.
C.
You must delete and recreate the subnet with the new CIDR range.
D.
The operation will fail because you cannot change a /24 to a /20.
How to approach this question
Understand the operational impact of expanding a VPC subnet in GCP.
Full Answer
B.The subnet is expanded immediately without any downtime for existing VMs.✓ Correct
The subnet is expanded immediately without any downtime for existing VMs.
In Google Cloud, you can expand the IP range of an existing subnet (e.g., from /24 to /20) without any downtime. Existing VMs retain their current IP addresses and do not need to be restarted. The new IP addresses simply become available for new resources.
Common mistakes
Assuming network changes require downtime or VM recreation, which is common in traditional on-premises networking.
Practice the full GCP Associate Cloud Engineer Practice Exam 4
50 questions · hints · full answers · grading
More questions from this exam
Q01You have recently joined a new team and need to set up a new Google Cloud project for a developme...EasyQ02Your company uses Google Workspace. You need to grant a new developer, Alice, the ability to view...MediumQ03You have created a new GCP project and want to deploy a Compute Engine instance. However, when yo...MediumQ04Your startup has a strict monthly cloud budget of $500. You want to be notified via email when yo...EasyQ05Your finance team wants to analyze Google Cloud costs using standard SQL and build custom dashboa...Medium
Expert