GCP ACE · Question 03 · Domain 1.1: Setting up cloud projects and accounts
You are automating the setup of a new Google Cloud project using a bash script. You need to enable the Compute Engine API for the project before your script can create any virtual machines.
Which gcloud command should you use?
Answer options:
gcloud compute apis enable compute.googleapis.com
gcloud services enable compute.googleapis.com
gcloud projects enable-api compute.googleapis.com
gcloud api enable compute.googleapis.com
50 questions · hints · full answers · grading