GA.I · Google Cloud ACE practice question

A developer runs 'gcloud compute instances create web-1 --zone=us-central1-a' in a brand-new project where billing is linked, but the command fails immediately with an error stating that the Compute Engine API has not been used in the project before or is disabled. What is the direct fix?

Choose one answer
Check answer and explanation

Correct answer: Enable 'compute.googleapis.com' in the project and retry the command.

Explanation

Google Cloud services require their corresponding APIs to be enabled on the project before resources can be provisioned or managed.

Common trap

Google Cloud services require their corresponding APIs to be enabled on the project before resources can be provisioned or managed.

Source: Original unofficial practice; not an official Google Cloud exam item
Checked against the cited text on 2026-11-30.

Report an error in this question