Complete the code to list all Compute Engine instances in the current project.
gcloud compute instances [1]The list command shows all Compute Engine instances in your project.
Complete the code to set the default project for gcloud commands.
gcloud config [1] project my-project-idThe set command updates the configuration, here setting the default project.
Fix the error in the command to create a new Compute Engine instance named 'web-server'.
gcloud compute instances create [1] --zone=us-central1-aThe instance name must use hyphens for separation, so 'web-server' is correct.
Fill both blanks to create a firewall rule named 'allow-http' that allows TCP traffic on port 80.
gcloud compute firewall-rules create [1] --allow [2]
The firewall rule name is 'allow-http' and it allows TCP traffic on port 80, so '--allow tcp:80' is correct.
Fill all three blanks to list all storage buckets in the project 'my-project' with JSON output format.
gcloud [1] [2] list --project=[3] --format=json
To list storage buckets, use 'gcloud storage buckets list' with the project flag and JSON output format.