PROFESSIONAL-CLOUD-DEVELOPER · Question #20
Your data is stored in Cloud Storage buckets. Fellow developers have reported that data downloaded from Cloud Storage is resulting in slow API performance. You want to research the issue to provide de
The correct answer is B. gsutil perfdiag -o output.json gs://my-bucket. gsutil perfdiag is the official Cloud Storage performance diagnostic tool. It runs a suite of tests measuring throughput, latency, and request overhead against a specific bucket, and outputs results to a JSON file that can be shared with GCP support. The command gsutil perfdiag -
Question
Your data is stored in Cloud Storage buckets. Fellow developers have reported that data downloaded from Cloud Storage is resulting in slow API performance. You want to research the issue to provide details to the GCP support team. Which command should you run?
Options
- Agsutil test -o output.json gs://my-bucket
- Bgsutil perfdiag -o output.json gs://my-bucket
- Dgcloud services test -o output.json gs://my-bucket
How the community answered
(24 responses)- A21% (5)
- B71% (17)
- D8% (2)
Explanation
gsutil perfdiag is the official Cloud Storage performance diagnostic tool. It runs a suite of tests measuring throughput, latency, and request overhead against a specific bucket, and outputs results to a JSON file that can be shared with GCP support. The command gsutil perfdiag -o output.json gs://my-bucket is the correct syntax. Option A (gsutil test) is not a valid gsutil subcommand. Option D (gcloud services test) does not exist for Cloud Storage performance diagnostics. The -o output.json flag in option B correctly captures the diagnostic report in a shareable format.
Topics
Community Discussion
No community discussion yet for this question.