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 08
    Hard1 markMultiple Choice
    Domain 1.3: Installing and configuring the CLIDomain 1Cloud SDKgcloud

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

    You frequently switch between two different Google Cloud projects: 'dev-env' and 'prod-env'. Each project requires you to use a different Google account for authentication and a different default compute zone.

    Which TWO actions should you take to switch between these environments with the LEAST amount of effort? (Select TWO)

    Answer options:

    A.

    Create separate gcloud configurations using gcloud config configurations create

    B.

    Use gcloud config configurations activate to switch between the environments

    C.

    Run gcloud init every time you need to switch environments

    D.

    Create different OS user accounts on your workstation for each environment

    E.

    Pass the --account, --project, and --zone flags with every single gcloud command

    How to approach this question

    Identify the Cloud SDK feature designed specifically for managing multiple distinct environments (accounts + projects + zones).

    Full Answer

    Create separate gcloud configurations for each environment, Use gcloud config configurations activate to switch between them
    The Cloud SDK supports multiple named configurations. A configuration is a set of properties (like active account, default project, default zone). By creating a configuration for 'dev' and another for 'prod' (`gcloud config configurations create`), you can easily switch all these settings at once using `gcloud config configurations activate [NAME]`.

    Common mistakes

    Thinking you must re-authenticate (`gcloud init` or `gcloud auth login`) every time you switch accounts.
    Question 07All questionsQuestion 09

    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 →