Google Cloud Professional Cloud Developer — Question 60
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?
Answer options
- A. gsutil test ג€"o output.json gs://my-bucket
- B. gsutil perfdiag ג€"o output.json gs://my-bucket
- C. gcloud compute scp example-instance:~/test-data ג€"o output.json gs://my-bucket
- D. gcloud services test ג€"o output.json gs://my-bucket
Correct answer: B
Explanation
The correct answer is B, as the 'gsutil perfdiag' command is specifically designed to diagnose performance issues related to Cloud Storage. Options A, C, and D do not focus on performance diagnostics and are not suitable for addressing the reported slow API performance.