Medium1 markMultiple Choice
GCP ACE · Question 38 · Domain 4.5: Managing networking resources
Your custom-mode VPC has a subnet in 'us-east1' with the CIDR range 10.0.0.0/24. You have run out of IP addresses in this subnet and need to add more capacity. You want to do this without recreating the subnet or disrupting existing VMs.
What should you do?
Your custom-mode VPC has a subnet in 'us-east1' with the CIDR range 10.0.0.0/24. You have run out of IP addresses in this subnet and need to add more capacity. You want to do this without recreating the subnet or disrupting existing VMs.
What should you do?
Answer options:
A.
Create a new subnet in 'us-east1' and migrate half the VMs to it.
B.
Expand the subnet's primary IP range to 10.0.0.0/23 using the Cloud Console or gcloud.
C.
Change the VPC routing mode from Regional to Global.
D.
Add a secondary IP range to the subnet.
How to approach this question
Know that GCP subnets can be expanded dynamically.
Full Answer
B.Expand the subnet's primary IP range to 10.0.0.0/23 using the Cloud Console or gcloud.✓ Correct
Expand the subnet's primary IP range to 10.0.0.0/23 using the Cloud Console or gcloud.
In Google Cloud, you can expand the IP range of an existing subnet without downtime. You simply update the subnet with a new, larger CIDR block (e.g., changing a /24 to a /23). The new range must encompass the old range.
Common mistakes
Thinking subnets are immutable and must be recreated, which is true in some other clouds but not GCP.
Practice the full GCP Associate Cloud Engineer Practice Exam 2
50 questions · hints · full answers · grading
More questions from this exam
Q01Your company is migrating to Google Cloud and needs to establish a resource hierarchy. You have t...EasyQ02You are managing access to a GCP project. You need to grant 15 developers the ability to view Com...MediumQ03You have created a new GCP project using the Cloud Console. You want to deploy a Cloud Function u...EasyQ04Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if yo...EasyQ05Your finance team wants to perform complex SQL analysis on your GCP billing data to understand co...Medium
Expert