You are using multiple configurations for gcloud. You want to review the configured Kubernetes Engine cluster of an inactive configuration using the fewest possible steps. What should you do?
A. Use gcloud config configurations describe to review the output.
B. Use gcloud config configurations activate and gcloud config list to review the output.
C. Use kubectl config get-contexts to review the output.
D. Use kubectl config use-context and kubectl config view to review the output.
Answer : A
✅ Explanation
-When using multiple gcloud configurations, each configuration has its own settings, including the Kubernetes cluster and credentials.
-If you want to review the configured GKE cluster of an inactive configuration (without activating it), you can use:
bash
Copy
Edit
gcloud config configurations describe CONFIG_NAME
-This command shows the details of the specified (even inactive) configuration, including:
project
zone/region
cluster settings
other relevant properties
-This is the most direct and efficient way (fewest steps) to inspect the configuration without switching or modifying the active one.