GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice question 7 of 35
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?
Full set: 265 questionsThe gsutil perfdiag command is the designated tool for diagnosing performance issues with Google Cloud Storage. It runs a suite of diagnostic tests, including latency and throughput measurements for uploads and downloads, and collects information about the local environment (e.g., network configuration, CPU). The -o flag is used to specify an output file for the diagnostic report, which can then be shared with the Google Cloud support team for analysis. This command directly addresses the need to research slow download performance and generate a detailed report.
A. gsutil test is used to run the internal unit and integration tests for the gsutil tool itself, not to diagnose the performance of a Cloud Storage bucket.
C. gcloud compute scp is a command for securely copying files between a local machine and a Compute Engine instance. It does not interact with Cloud Storage buckets.
D. gcloud services test is not a valid gcloud command. The gcloud services command group is used for managing service APIs, such as enabling or disabling them.
1. Google Cloud Documentation, gsutil perfdiag: "The gsutil perfdiag command helps you diagnose performance issues you may be experiencing with Cloud Storage... The command runs a number of tests and prints a diagnostic report that you can send to Google or post to a forum when asking for help." (See the "Description" section).
2. Google Cloud Documentation, gsutil test: "The gsutil test command runs the gsutil unit tests and integration tests." (See the "Description" section).
3. Google Cloud Documentation, gcloud compute scp: "gcloud compute scp securely copies files between a virtual machine instance and your local machine." (See the "Description" section).
4. Google Cloud Documentation, gcloud services: "The gcloud services command group lets you manage your project's access to Google Cloud services." (See the "Description" section).
Keep practicing
Take the free GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GOOGLE-PROFESSIONAL-CLOUD-DEVELOPER practice questions
- Question 1You have an application controlled by a managed instance group. When you deploy a new ver…
- Question 2Your service adds text to images that it reads from Cloud Storage. During busy times of t…
- Question 3You have been tasked with planning the migration of your company’s application from on-pr…
- Question 4You plan to make a simple HTML application available on the internet. This site keeps inf…
- Question 5HipLocal's APIs are showing occasional failures, but they cannot find a pattern. They wan…
- Question 6Your company has created an application that uploads a report to a Cloud Storage bucket. …
