For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeGCP Associate Cloud Engineer (ACE)GCP Associate Cloud Engineer Practice Exam 4Question 03
    Medium1 markMultiple Choice
    Domain 1.1: Setting up cloud projects and accountsDomain 1.1APIsgcloud

    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)

    Answer options:

    A.

    Navigate to APIs & Services > Library in the Cloud Console, search for Compute Engine API, and click Enable.

    B.

    Run the command: gcloud compute api enable

    C.

    Run the command: gcloud services enable compute.googleapis.com

    D.

    Add the 'API Enabler' IAM role to your user account.

    E.

    Create a billing budget alert for the Compute Engine API.

    How to approach this question

    Identify the valid Console and CLI methods for enabling GCP APIs.

    Full Answer

    APIs in GCP can be enabled via the Google Cloud Console by navigating to the API Library, or via the Cloud SDK using the `gcloud services enable [SERVICE_NAME]` command. The service name for Compute Engine is `compute.googleapis.com`.

    Common mistakes

    Guessing incorrect gcloud syntax like `gcloud compute api enable`.
    Question 02All questionsQuestion 04

    Practice the full GCP Associate Cloud Engineer Practice Exam 4

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01You have recently joined a new team and need to set up a new Google Cloud project for a developme...EasyQ02Your company uses Google Workspace. You need to grant a new developer, Alice, the ability to view...MediumQ04Your startup has a strict monthly cloud budget of $500. You want to be notified via email when yo...EasyQ05Your finance team wants to analyze Google Cloud costs using standard SQL and build custom dashboa...MediumQ06You have just installed the Google Cloud SDK on your local workstation. You need to authenticate,...Easy
    View all 50 questions →