
Answer-first summary for fast verification
Answer: 1. Create a unique configuration for each project you manage. 2. Switch to the relevant configuration as needed for each Google Cloud project.
Option A is correct because creating separate configurations for each project and switching between them as needed is considered best practice. This approach ensures better organization and separation of settings for each project, minimizing confusion and errors. Options B and D suggest using `gcloud init` to update configurations, which is inefficient for managing multiple projects. Option C's reliance on a default configuration can lead to errors when working across multiple projects. For more details, refer to [Google Cloud SDK documentation](https://cloud.google.com/sdk/gcloud/reference/config/set). Note: `gcloud config set` modifies the active configuration only. Use the `–installation` flag for changes across all configurations.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a member of the Google Cloud operations team for a retail chain's Digital vertical, managing multiple projects is part of your responsibilities. What is the best approach to configure the Google Cloud SDK for efficient management of multiple projects?
A
B
gcloud init to update configuration values when switching to a non-default project.C
D
gcloud init to update configuration values when switching to a non-default project.No comments yet.