GCP Associate Cloud Engineer Practice Question

Your custom VPC has a regional subnet named prod-subnet with primary range 10.10.0.0/24 in us-central1. The subnet is almost out of addresses, and you must enlarge its primary range to a /20 without stopping any running workloads or creating a new subnet. Which single gcloud command, using only supported flags, accomplishes this expansion?

  • gcloud compute networks subnets expand-ip-range prod-subnet --region=us-central1 --prefix-length=20

  • gcloud compute networks subnets update prod-subnet --region=us-central1 --range=10.10.0.0/20

  • gcloud compute addresses create prod-subnet-range --addresses=10.10.0.0/20 --region=us-central1

  • gcloud compute networks subnets create prod-subnet --range=10.10.0.0/20 --region=us-central1

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