GCP ACE · Question 03 · Domain 1.1: Setting up cloud projects and accounts
You have created a new GCP project and want to deploy a Compute Engine instance. However, when you try to run the deployment command, you receive an error stating that the Compute Engine API is not enabled.
Which TWO methods can you use to enable the Compute Engine API for your project? (Select TWO)
You have created a new GCP project and want to deploy a Compute Engine instance. However, when you try to run the deployment command, you receive an error stating that the Compute Engine API is not enabled.
Which TWO methods can you use to enable the Compute Engine API for your project? (Select TWO)
Answer options:
Navigate to APIs & Services > Library in the Cloud Console, search for Compute Engine API, and click Enable.
Run the command: gcloud compute api enable
Run the command: gcloud services enable compute.googleapis.com
Add the 'API Enabler' IAM role to your user account.
Create a billing budget alert for the Compute Engine API.
How to approach this question
Full Answer
Common mistakes
Practice the full GCP Associate Cloud Engineer Practice Exam 4
50 questions · hints · full answers · grading
Expert