Google Cloud Associate Cloud Engineer — Question 314

You have created a new project in Google Cloud through the gcloud command line interface (CLI) and linked a billing account. You need to create a new Compute
Engine instance using the CLI. You need to perform the prerequisite steps. What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because enabling the compute googleapis.com API is necessary for using Compute Engine services. Options A and B, while potentially beneficial, are not required prerequisites for creating a Compute Engine instance. Option D involves IAM permissions but does not directly relate to the prerequisite of enabling the necessary API.