GoogleGoogle
PROFESSIONAL-CLOUD-DEVELOPER · Question #177
PROFESSIONAL-CLOUD-DEVELOPER Question #177: Real Exam Question with Answer & Explanation
The correct answer is A: Write an exponential backoff process around the client library call.. https://cloud.google.com/storage/docs/retry-strategy#exponential-backoff
Implementing Application Resilience and Error Handling
Question
You are using the Cloud Client Library to upload an image in your application to Cloud Storage. Users of the application report that occasionally the upload does not complete and the client library reports an HTTP 504 Gateway Timeout error. You want to make the application more resilient to errors. What changes to the application should you make?
Options
- AWrite an exponential backoff process around the client library call.
- BWrite a one-second wait time backoff process around the client library call.
- CDesign a retry button in the application and ask users to click if the error occurs.
- DCreate a queue for the object and inform the users that the application will try again in 10
Explanation
https://cloud.google.com/storage/docs/retry-strategy#exponential-backoff
Topics
#Error Handling#Application Resilience#Exponential Backoff#Cloud Storage
Community Discussion
No community discussion yet for this question.