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?
Click on the arrows to vote for the correct answer
A. B. C. D.B.
https://groups.google.com/forum/#!topic/gce-discussion/xBl9Jq5HDsYThe command that should be run in order to research the issue of slow API performance related to data downloaded from Cloud Storage is B. gsutil perfdiag ""o output.json gs://my-bucket
.
The gsutil
command-line tool is used to manage Cloud Storage resources, including buckets and objects. The perfdiag
command in gsutil
is used to run performance diagnostic tests on Cloud Storage buckets and objects. The ""o
option specifies the name of an output file where the test results will be written. In this case, output.json
is the name of the output file. The gs://my-bucket
parameter specifies the name of the bucket to be tested.
By running gsutil perfdiag ""o output.json gs://my-bucket
, the tool will run a series of tests on the specified bucket and produce a report that includes details on latency, throughput, and error rates. The report will provide information on the overall performance of the bucket, as well as specific details on any issues that may be impacting API performance. This information can then be used to diagnose and resolve the issue, or to provide detailed information to GCP support for further investigation.