APIs

Hello Team,
which is the correct answer, and why ,

You need to start a set of virtual machines to run year-end processing in a new GCP project. How can you enable the Compute API in the fewest number of steps?

  1. Open Cloud Shell, run `gcloud services enable compute`
  2. Navigate to the Compute section of the console.
  3. Open Cloud Shell, configure authentication, run `gcloud services enable compute.googleapis.com`
  4. Do nothing. It is enabled by default.
  5. Open Cloud Shell, configure authentication, select the “defaults” project, run `gcloud enable compute service`
0 2 93
2 REPLIES 2

4. In most of the labs I have observed Compute API enabled by default.

Hi, @fmugambi.

It’s not an effective approach to learn by simply asking others for answers without doing any research or investing time to solve problems on your own. Try to focus on that instead.

Regards,
Mokit

Top Labels in this Space