Easy1 markMultiple Choice
Domain 1.3: Installing and configuring the CLIDomain 1Cloud SDKCloud Storagegsutil

GCP ACE · Question 09 · Domain 1.3: Installing and configuring the CLI

You need to write a bash script that uploads local log files to a Google Cloud Storage bucket every night.

Which command-line tool included in the Google Cloud SDK should you use?

Answer options:

A.

gcloud

B.

gsutil

C.

bq

D.

cbt

How to approach this question

Identify the specific CLI tool within the Cloud SDK dedicated to Cloud Storage operations.

Full Answer

B.gsutil✓ Correct
The Google Cloud SDK includes several command-line tools. `gsutil` is the primary tool used to manage Cloud Storage buckets and objects from the command line. `bq` is for BigQuery, and `gcloud` is the primary CLI for most other GCP services.

Common mistakes

Selecting `gcloud` because it is the most common tool, forgetting that Cloud Storage historically uses `gsutil`.

Practice the full GCP Associate Cloud Engineer Practice Exam 5

50 questions · hints · full answers · grading

More questions from this exam