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 2Question 06
    Medium1 markMultiple Choice
    Domain 1.3: Installing and configuring the CLIgcloudCLIInitialization

    GCP ACE · Question 06 · Domain 1.3: Installing and configuring the CLI

    You have just installed the Google Cloud SDK on your local machine. You want to authenticate, set your default project to 'my-company-prod', and set your default compute zone to 'us-central1-a' in a single interactive process.

    Which command should you run?

    Answer options:

    A.

    gcloud auth login

    B.

    gcloud config set project my-company-prod

    C.

    gcloud init

    D.

    gcloud setup

    How to approach this question

    Identify the command used for initial, interactive setup of the Cloud SDK.

    Full Answer

    C.gcloud init✓ Correct
    `gcloud init` performs several setup tasks: it authorizes the SDK to access GCP using your user account, sets up a default configuration, and prompts you to select a default project and default Compute Engine zone/region.

    Common mistakes

    Selecting `gcloud auth login`, which skips the project and zone configuration steps.
    Question 05All questionsQuestion 07

    Practice the full GCP Associate Cloud Engineer Practice Exam 2

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01Your company is migrating to Google Cloud and needs to establish a resource hierarchy. You have t...EasyQ02You are managing access to a GCP project. You need to grant 15 developers the ability to view Com...MediumQ03You have created a new GCP project using the Cloud Console. You want to deploy a Cloud Function u...EasyQ04Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if yo...EasyQ05Your finance team wants to perform complex SQL analysis on your GCP billing data to understand co...Medium
    View all 50 questions →