Google Cloud Professional Cloud Architect — Question 249
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?
Answer options
- 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.
Correct answer: A
Explanation
The correct answer is A because Google Cloud Shell provides a pre-configured environment with gcloud already installed, allowing you to access Google Cloud services from any device without manual setup. Option B requires maintaining a Compute Engine instance, which adds complexity and cost. Option C involves repetitive installations and updates on multiple workstations, which is inefficient. Option D, while simplifying installation, still requires setup on each workstation.