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 07
    Medium1 markMultiple Choice
    Domain 1.3: Installing and configuring the CLIDomain 1.3gcloudConfiguration

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

    You are working in Cloud Shell and need to deploy resources to a project named 'finance-prod-2023'. Your current active configuration is pointing to 'dev-sandbox-123'.

    Which command should you use to change your default project for the current session without creating a new configuration?

    Answer options:

    A.

    gcloud project set finance-prod-2023

    B.

    gcloud config set project finance-prod-2023

    C.

    gcloud use project finance-prod-2023

    D.

    gcloud init --project=finance-prod-2023

    How to approach this question

    Recall the command to update gcloud configuration properties.

    Full Answer

    B.gcloud config set project finance-prod-2023✓ Correct
    The `gcloud config set project [PROJECT_ID]` command modifies your active configuration to use the specified project ID by default for subsequent commands.

    Common mistakes

    Using `gcloud init` every time a project change is needed, which is inefficient.
    Question 06All questionsQuestion 08

    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...MediumQ03You have created a new GCP project and want to deploy a Compute Engine instance. However, when yo...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...Medium
    View all 50 questions →