Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 72 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 72
Topic #: 1
[All Professional Cloud Developer Questions]

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?

  • 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
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
donchick
Highly Voted 3 years, 11 months ago
B(https://cloud.google.com/storage/docs/gsutil/commands/perfdiag#providing-diagnostic-output-to-cloud-storage-team)
upvoted 14 times
syu31svc
3 years, 4 months ago
Spot-on link and answer
upvoted 1 times
...
...
thewalker
Most Recent 4 months, 1 week ago
Selected Answer: B
The correct answer is B. gsutil perfdiag -o output.json gs://my-bucket . Here's why: gsutil perfdiag : This command is specifically designed to run a suite of diagnostic tests on a Cloud Storage bucket. It measures various performance aspects, including latency, throughput, and listing operations. This is exactly what you need to gather detailed information about the slow download performance. -o output.json : This option specifies that the results of the diagnostic tests should be saved to a JSON file named output.json . This file will contain detailed performance metrics that you can provide to the GCP support team.
upvoted 1 times
thewalker
4 months, 1 week ago
Let's break down why the other options are incorrect: A. gsutil test -o output.json gs://my-bucket : gsutil test is not a valid command. There's no command in gsutil called test . C. gcloud compute scp example-instance:~/test-data -o output.json gs://my-bucket : This command is used to copy files from a Compute Engine instance to a Cloud Storage bucket. It doesn't perform any performance diagnostics. D. gcloud services test -o output.json gs://my-bucket : gcloud services test is used to test the availability and performance of Google Cloud services, but it's not specific to Cloud Storage.
upvoted 1 times
...
...
__rajan__
1 year, 2 months ago
Selected Answer: B
To research the issue of slow API performance when downloading data from Cloud Storage, you can use the gsutil perfdiag command. This command runs a set of tests to report the actual performance of a Cloud Storage bucket and provides detailed information on the performance of individual operations.
upvoted 1 times
...
omermahgoub
1 year, 10 months ago
B. gsutil perfdiag -o output.json gs://my-bucket The gsutil perfdiag command is used to diagnose performance issues with Cloud Storage. It can be used to perform various tests such as download, upload, and metadata operations. By using the -o flag, you can specify an output file where the results of the tests will be stored in JSON format. This output file can then be provided to the GCP support team to help them investigate the issue.
upvoted 2 times
...
ynaitam
1 year, 11 months ago
CORRECT
upvoted 1 times
...
tomato123
2 years, 3 months ago
Selected Answer: B
B is correct
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...