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 5Question 07
    Medium1 markMultiple Choice
    Domain 1.3: Installing and configuring the CLIDomain 1Cloud SDKgcloud

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

    You are working in Cloud Shell and need to execute several commands against a project named 'analytics-prod-992'. Your current default project is set to 'web-dev-123'.

    Which command should you use to change the default project for your current active configuration?

    Answer options:

    A.

    gcloud config set project analytics-prod-992

    B.

    gcloud projects update analytics-prod-992

    C.

    gcloud switch project analytics-prod-992

    D.

    export GCP_PROJECT=analytics-prod-992

    How to approach this question

    Remember that local CLI settings (like default project, zone, region) are managed using the 'gcloud config set' command.

    Full Answer

    A.gcloud config set project analytics-prod-992✓ Correct
    To change the default project in your active Cloud SDK configuration, you use `gcloud config set project [PROJECT_ID]`. This ensures that subsequent gcloud commands will target 'analytics-prod-992' without needing to append the `--project` flag to every command.

    Common mistakes

    Confusing project management commands (`gcloud projects`) with CLI configuration commands (`gcloud config`).
    Question 06All questionsQuestion 08

    Practice the full GCP Associate Cloud Engineer Practice Exam 5

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01You are starting a new initiative and need to create a new Google Cloud project using the command...EasyQ02A developer on your team needs to manage App Engine applications, including deploying new version...MediumQ03You have created a new Google Cloud project. You need to allow a specific group of developers to ...MediumQ04Which statement best describes the relationship between Google Cloud projects and billing accounts?EasyQ05Your company wants to be notified immediately in their Slack channel whenever their monthly Googl...Medium
    View all 50 questions →