
Explanation:
The correct method involves two commands: gcloud config configurations list to list all existing named configurations and gcloud config configurations activate to switch to the desired configuration. This approach is efficient and directly addresses the requirement with minimal steps. Other options either use incorrect commands or mix commands in a way that does not achieve the desired outcome. For more details, refer to the Google Cloud SDK documentation on configurations list and configurations activate.
Ultimate access to all questions.
No comments yet.
You manage three gcloud configurations for development, test, and production projects. What is the most efficient method to list all configurations and switch to a new one?
A
To list configurations - gcloud config list
To activate a configuration - gcloud config activate.
B
To list configurations - gcloud configurations list
To activate a configuration - gcloud configurations activate.
C
To list configurations - gcloud configurations list
To activate a configuration - gcloud config activate.
D
To list configurations - gcloud config configurations list
To activate a configuration - gcloud config configurations activate.