nerdexam
Google

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 -

Troubleshooting and optimizing application performance

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)
  • A
    21% (5)
  • B
    71% (17)
  • D
    8% (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

#Cloud Storage#gsutil#Performance Monitoring#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice