You are managing several projects on Google Cloud and need to interact on a daily basis with BigQuery, Bigtable, and Kubernetes Engine using the gcloud CL tool. You are travelling a lot and work on different workstations during the week. You want to avoid having to manage the gcloud CLI manually. What should you do?
A. Use Google Cloud Shell in the Google Cloud Console to interact with Google Cloud.
B. Create a Compute Engine instance and install gcloud on the instance. Connect to this instance via SSH to always use the same gcloud installation when interacting with Google Cloud.
C. Install gcloud on all of your workstations. Run the command gcloud components auto-update on each workstation
D. Use a package manager to install gcloud on your workstations instead of installing it manually.
Disclaimer
This is a practice question. There is no guarantee of coming this question in the certification exam.
Answer
A
Explanation
A. Use Google Cloud Shell in the Google Cloud Console to interact with Google Cloud.
(Straight forward.)
B. Create a Compute Engine instance and install gcloud on the instance. Connect to this instance via SSH to always use the same gcloud installation when interacting with Google Cloud.
C. Install gcloud on all of your workstations. Run the command gcloud components auto-update on each workstation.
D. Use a package manager to install gcloud on your workstations instead of installing it manually.