ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 186 - Associate Cloud Engineer discussion

Report
Export

You are assigned to maintain a Google Kubernetes Engine (GKE) cluster named dev that was deployed on Google Cloud. You want to manage the GKE configuration using the command line interface (CLI). You have just downloaded and installed the Cloud SDK. You want to ensure that future CLI commands by default address this specific cluster. What should you do?

A.
Use the command gcloud config set container/cluster dev.
Answers
A.
Use the command gcloud config set container/cluster dev.
B.
Use the command gcloud container clusters update dev.
Answers
B.
Use the command gcloud container clusters update dev.
C.
Create a file called gke.default in the ~/.gcloud folder that contains the cluster name.
Answers
C.
Create a file called gke.default in the ~/.gcloud folder that contains the cluster name.
D.
Create a file called defaults.json in the ~/.gcloud folder that contains the cluster name.
Answers
D.
Create a file called defaults.json in the ~/.gcloud folder that contains the cluster name.
Suggested answer: A

Explanation:

To set a default cluster for gcloud commands, run the following command: gcloud config set container/cluster CLUSTER_NAME https://cloud.google.com/kubernetes-engine/docs/how-to/managing-clusters?hl=en

asked 18/09/2024
William Sorensen
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first