A Cloud Engineer needs to inspect the Virtual Private Cloud (VPC) network configurations in a Google Cloud project using the command-line tool. Which of the following commands can be used to view or list VPC network information? (Select TWO.)
- gcloud compute networks describe prod-vpcCevap
- gcloud compute networks listCevap
- Cgcloud compute networks update prod-vpc
- Dgsutil networks describe prod-vpc
Cevap
The commands 'gcloud compute networks describe prod-vpc' and 'gcloud compute networks list' are used to view VPC network details and list project networks.
To inspect VPC networks using the gcloud CLI, 'gcloud compute networks describe' provides detailed parameters of a specific network resource, while 'gcloud compute networks list' outputs a tabulated summary of all networks in the active GCP project.
Adım Adım Çözüm
Anahtar Kavram
Viewing and listing VPC network resources using gcloud CLI