nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #47

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?

The correct answer is D. Use kubectl config use-context and kubectl config view to review the output.. Use kubectl config get-contexts to review the output: shows the clusters and the configurations and based on the output we can identify the inactive configurations. https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-context-and-configuration

Submitted by skyler.x· Mar 30, 2026Ensuring successful operation of a cloud solution

Question

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?

Options

  • AUse gcloud config configurations describe to review the output.
  • BUse gcloud config configurations activate and gcloud config list to review the output.
  • CUse kubectl config get-contexts to review the output.
  • DUse kubectl config use-context and kubectl config view to review the output.

How the community answered

(53 responses)
  • A
    11% (6)
  • B
    6% (3)
  • C
    2% (1)
  • D
    81% (43)

Explanation

Use kubectl config get-contexts to review the output: shows the clusters and the configurations and based on the output we can identify the inactive configurations. https://kubernetes.io/docs/reference/kubectl/cheatsheet/#kubectl-context-and-configuration

Topics

#gcloud configurations#kubectl#kubeconfig#GKE

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice