GCP Associate Cloud Engineer Practice Question

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?

  • gcloud compute networks subnets create us-west1-web --network=corp-net --region=us-west1 --range=10.2.0.0/20

  • gcloud compute subnetworks create us-west1-web --network=corp-net --ip-range=10.2.0.0/20

  • gcloud compute networks subnets add us-west1-web --network=corp-net --ip-range=10.2.0.0/20 --region=us-west1

  • gcloud compute networks create subnet us-west1-web --region us-west1 --range 10.2.0.0/20 --network corp-net

GCP Associate Cloud Engineer
Ensuring successful operation of a cloud solution
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot