GCP ACE · Question 29 · Domain 3.5: Deploying and implementing networking resources
You have created a custom-mode Virtual Private Cloud (VPC) network named 'my-vpc'. You now need to create a subnet named 'frontend-subnet' in the europe-west1 region with the IP range 10.0.1.0/24.
Which gcloud command should you use?
Answer options:
gcloud compute subnets create frontend-subnet --vpc=my-vpc --region=europe-west1 --cidr=10.0.1.0/24
gcloud compute networks subnets create frontend-subnet --network=my-vpc --region=europe-west1 --range=10.0.1.0/24
gcloud vpc subnets create frontend-subnet --network=my-vpc --region=europe-west1 --range=10.0.1.0/24
gcloud compute networks create frontend-subnet --type=subnet --network=my-vpc --region=europe-west1
50 questions · hints · full answers · grading