nerdexam
GoogleGoogle

ASSOCIATE-CLOUD-ENGINEER · Question #337

ASSOCIATE-CLOUD-ENGINEER Question #337: Real Exam Question with Answer & Explanation

The correct answer is C: Run gcloud config configurations list followed by gcloud config configurations activate.. As gcloud config configurations list can help check for the existing configurations and activate can help switch to the configuration. gcloud config configurations list - lists existing named configurations gcloud config configurations activate - activates an existing named confi

Submitted by fatima_kr· Mar 30, 2026

Question

Your coworker has helped you set up several configurations for gcloud. You've noticed that you're running commands against the wrong project. Being new to the company, you haven't yet memorized any of the projects. With the fewest steps possible, what's the fastest way to switch to the correct configuration?

Options

  • ARun gcloud configurations list followed by gcloud configurations activate .
  • BRun gcloud config list followed by gcloud config activate.
  • CRun gcloud config configurations list followed by gcloud config configurations activate.
  • DRe-authenticate with the gcloud auth login command and select the correct configurations on

Explanation

As gcloud config configurations list can help check for the existing configurations and activate can help switch to the configuration. gcloud config configurations list - lists existing named configurations gcloud config configurations activate - activates an existing named configuration Obtains access credentials for your user account via a web-based authorization flow. When this command completes successfully, it sets the active account in the current configuration to the account specified. If no configuration exists, it creates a configuration named

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER PracticeBrowse All ASSOCIATE-CLOUD-ENGINEER Questions