You installed Cloud SDK and want future CLI commands to default to managing the existing GKE cluster named "dev." What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Run: gcloud config set container/cluster dev..
Why this is the answer
The gcloud config set command is used to set properties in the gcloud configuration. By setting container/cluster to dev, you are specifying that future gcloud container commands should default to operating on the GKE cluster named "dev" unless explicitly overridden. This streamlines your workflow by eliminating the need to specify the cluster name repeatedly. gcloud container clusters update dev is incorrect because this command is used to modify an existing cluster, not to set a default for future commands. Creating files like gke.default or defaults.json in ~/.gcloud is also incorrect; gcloud configuration is managed through the gcloud config command, not by manually creating such files.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed