GoogleGoogle
PROFESSIONAL-CLOUD-DEVELOPER · Question #110
PROFESSIONAL-CLOUD-DEVELOPER Question #110: Real Exam Question with Answer & Explanation
The correct answer is C: Retry each failure at increasing time intervals up to a maximum number of tries.. https://cloud.google.com/storage/docs/retry-strategy
Designing for application reliability
Question
You support an application that uses the Cloud Storage API. You review the logs and discover multiple HTTP 503 Service Unavailable error responses from the API. Your application logs the error and does not take any further action. You want to implement Google-recommended retry logic to improve success rates. Which approach should you take?
Options
- ARetry the failures in batch after a set number of failures is logged.
- BRetry each failure at a set time interval up to a maximum number of times.
- CRetry each failure at increasing time intervals up to a maximum number of tries.
- DRetry each failure at decreasing time intervals up to a maximum number of tries.
Explanation
Topics
#Retry Logic#Exponential Backoff#API Error Handling#Reliability Patterns
Community Discussion
No community discussion yet for this question.