Medium1 markMultiple Choice
GCP ACE · Question 29 · Domain 3.5: Deploying and implementing networking resources
You are creating a new Virtual Private Cloud (VPC) network for your organization. You want complete control over the IP address ranges used in every region, and you do not want GCP to automatically create any subnets for you.
Which gcloud command should you use to create the VPC?
You are creating a new Virtual Private Cloud (VPC) network for your organization. You want complete control over the IP address ranges used in every region, and you do not want GCP to automatically create any subnets for you.
Which gcloud command should you use to create the VPC?
Answer options:
A.
gcloud compute networks create my-vpc --subnet-mode=auto
B.
gcloud compute networks create my-vpc --subnet-mode=custom
C.
gcloud compute vpc create my-vpc --type=manual
D.
gcloud compute networks create my-vpc --no-subnets
How to approach this question
Identify the VPC creation mode that provides manual control over subnets.
Full Answer
B.gcloud compute networks create my-vpc --subnet-mode=custom✓ Correct
When creating a VPC network, you can choose between 'auto' mode (which creates a subnet in every GCP region automatically) and 'custom' mode. Custom mode creates an empty network, giving you full control to create subnets only in the regions you need, with the specific IP CIDR ranges you define.
Common mistakes
Using auto mode, which can lead to overlapping IP ranges if you connect to on-premises networks later.
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