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 32 discussion

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

You are load testing your server application. During the first 30 seconds, you observe that a previously inactive Cloud Storage bucket is now servicing 2000 write requests per second and 7500 read requests per second. Your application is now receiving intermittent 5xx and 429 HTTP responses from the Cloud Storage
JSON API as the demand escalates. You want to decrease the failed responses from the Cloud Storage API.
What should you do?

  • A. Distribute the uploads across a large number of individual storage buckets.
  • B. Use the XML API instead of the JSON API for interfacing with Cloud Storage.
  • C. Pass the HTTP response codes back to clients that are invoking the uploads from your application.
  • D. Limit the upload rate from your application clients so that the dormant bucket's peak request rate is reached more gradually.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
mlyu
Highly Voted 4 years, 3 months ago
Answer is D https://cloud.google.com/storage/docs/request-rate#ramp-up
upvoted 13 times
syu31svc
3 years, 4 months ago
"If you run into any issues such as increased latency or error rates, pause your ramp-up or reduce the request rate temporarily in order to give Cloud Storage more time to scale your bucket. You should use exponential backoff to retry your requests when: Receiving errors with 5xx and 429 response codes. Receiving errors with 408 response codes when performing resumable uploads."
upvoted 9 times
...
...
santoshchauhan
Most Recent 7 months, 3 weeks ago
Selected Answer: D
D. Limit the upload rate from your application clients so that the dormant bucket's peak request rate is reached more gradually. Google Cloud Storage buckets have throughput limits that ramp up as sustained traffic increases, especially for previously inactive buckets. When you start sending traffic to an inactive bucket, it takes time for Cloud Storage to automatically scale to accommodate the sudden increase in traffic. By gradually increasing the traffic to the bucket, you give the Cloud Storage infrastructure time to scale and handle the increased load without failing requests.
upvoted 1 times
...
__rajan__
1 year, 1 month ago
Selected Answer: D
Google Cloud Storage buckets have an initial limit on the request rate. If a bucket is inactive for a period of time, it will have a lower limit. As traffic increases, Google Cloud Storage dynamically increases the request rate limit. This process can take several minutes. If the traffic increases too quickly, you may see intermittent 5xx and 429 HTTP responses. By limiting the upload rate from your application clients, you allow the bucket’s peak request rate to increase more gradually, reducing the chance of receiving these errors.
upvoted 1 times
...
omermahgoub
1 year, 9 months ago
To decrease the failed responses from the Cloud Storage API, you should limit the upload rate from your application clients so that the dormant bucket's peak request rate is reached more gradually. This will help prevent the bucket from being overwhelmed by a sudden increase in requests. A, distributing the uploads across a large number of individual storage buckets, may not necessarily decrease the failed responses and could potentially increase the complexity of the system. B, using the XML API instead of the JSON API, may not necessarily improve performance and could require significant changes to the application. C, passing the HTTP response codes back to clients, may not address the root cause of the issue and could lead to further errors.
upvoted 1 times
...
jcataluna
1 year, 10 months ago
Selected Answer: D
D is correct
upvoted 2 times
...
tomato123
2 years, 2 months ago
Selected Answer: D
D is correct
upvoted 3 times
...
nhadi82
2 years, 3 months ago
Selected Answer: D
Vote for D
upvoted 1 times
...
ruben82
2 years, 5 months ago
Selected Answer: D
D is the answer according to mlyu
upvoted 1 times
...
herocc
2 years, 9 months ago
D is right one
upvoted 1 times
...
ParagSanyashiv
2 years, 9 months ago
Selected Answer: D
Answer is D
upvoted 1 times
...
kernel1973
3 years, 4 months ago
For me the right answer is D.
upvoted 1 times
...
maleksah
3 years, 9 months ago
Answer is D
upvoted 1 times
...
saurabh1805
3 years, 11 months ago
D is correct answer
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago