Disable ads (and more) with a membership for a one time $4.99 payment
What is the command to list subnets in Google Cloud?
Custom monitoring metric
Enable binary logging
`gcloud functions deploy`
`gcloud compute networks subnets list`
The correct answer is: `gcloud compute networks subnets list`
The `gcloud compute networks subnets list` command is the correct option because it is specifically used to list subnets in Google Cloud. Option A, Custom monitoring metric, is used for monitoring specific metrics within Google Cloud. Option B, Enable binary logging, is used for enabling the collection and storage of binary logs in Google Cloud. Option C, `gcloud cloud functions deploy`, is used for deploying a Google Cloud Function, not listing subnets. Therefore, option D is the best choice for listing subnets in Google Cloud.