PROFESSIONAL-CLOUD-DEVELOPER · Question #55
PROFESSIONAL-CLOUD-DEVELOPER Question #55: Real Exam Question with Answer & Explanation
The correct answer is C: Retry the request with a truncated exponential backoff strategy.. A Cloud Storage JSON API usage limit was exceeded. If your application tries to use more than its limit, additional requests will fail. Throttle your client's requests, and/or use truncated exponential backoff. https://cloud.google.com/storage/docs/json_api/v1/status-codes
Question
Your service adds text to images that it reads from Cloud Storage. During busy times of the year, requests to Cloud Storage fail with an HTTP 429 "Too Many Requests" status code. How should you handle this error?
Options
- AAdd a cache-control header to the objects.
- BRequest a quota increase from the GCP Console.
- CRetry the request with a truncated exponential backoff strategy.
- DChange the storage class of the Cloud Storage bucket to Multi-regional.
Explanation
A Cloud Storage JSON API usage limit was exceeded. If your application tries to use more than its limit, additional requests will fail. Throttle your client's requests, and/or use truncated exponential backoff. https://cloud.google.com/storage/docs/json_api/v1/status-codes
Topics
Community Discussion
No community discussion yet for this question.