Your company uses a custom-mode VPC network called corp-net. You need to create an additional subnet in the same VPC for new workloads that will run in the us-west1 region. The subnet must be named us-west1-web and use the primary IP range 10.2.0.0/20. You are working in Cloud Shell and want to complete the task with a single gcloud command. Which command satisfies the requirement without causing errors?
The command that follows this syntax and meets all stated requirements specifies the target VPC with --network=corp-net, the region with --region=us-west1, and the primary CIDR block with --range=10.2.0.0/20. The other choices are invalid because they either use an incorrect command group, reference a non-existent sub-command, omit the mandatory --region flag, or use an unsupported flag such as --ip-range.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a custom-mode VPC network in GCP?
Open an interactive chat with Bash
How does CIDR notation work for defining IP ranges?
Open an interactive chat with Bash
Why is the `--region` flag mandatory in the `gcloud compute networks subnets create` command?
Open an interactive chat with Bash
What is a VPC network in GCP?
Open an interactive chat with Bash
What is CIDR notation and why is it used in subnetting?
Open an interactive chat with Bash
What is the purpose of the gcloud command in GCP?
Open an interactive chat with Bash
GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .