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 7Question 07
    Medium1 markMultiple Choice
    Domain 1.3: Installing and configuring the CLIgcloudConfigurationsCloud SDK

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

    You work on two different Google Cloud projects: 'dev-project' and 'prod-project'. You frequently switch between them in your local terminal and need to use different default compute zones and authentication accounts for each.

    What is the MOST efficient way to manage this in the Cloud SDK?

    Answer options:

    A.

    Run 'gcloud init' every time you need to switch projects.

    B.

    Use the '--project', '--zone', and '--account' flags on every single gcloud command you run.

    C.

    Create two separate gcloud configurations using 'gcloud config configurations create' and switch between them.

    D.

    Install the Cloud SDK twice in different directories on your workstation.

    How to approach this question

    Understand how gcloud manages state. Look for the feature designed specifically for managing multiple environments.

    Full Answer

    C.Create two separate gcloud configurations using 'gcloud config configurations create' and switch between them.✓ Correct
    The `gcloud config configurations` command group allows you to create multiple named configurations. Each configuration maintains its own set of properties, such as active account, default project, and default compute zone. You can easily switch between them using `gcloud config configurations activate [NAME]`.

    Common mistakes

    Relying on flags for every command, which is valid but not the *most efficient* way as requested by the question.
    Question 06All questionsQuestion 08

    Practice the full GCP Associate Cloud Engineer Practice Exam 7

    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 Cloud S...EasyQ02Your company is migrating to Google Cloud and wants to manage user identities centrally. They cur...MediumQ03You have just created a new Google Cloud project and want to deploy a containerized application u...MediumQ04Your finance team wants to perform complex SQL queries on your Google Cloud billing data to analy...MediumQ05You are managing a development project in Google Cloud. You want to ensure that you are notified ...Easy
    View all 50 questions →