An application calling Cloud Storage receives occasional 5xx and 429 responses. How should you handle these errors?
Choose an answer
Tap an option to check your answer.
Correct answer: Implement retry logic with a truncated exponential backoff strategy..
Why this is the answer
Cloud Storage, like many cloud services, can experience transient errors (5xx) or rate limiting (429) under heavy load. Implementing retry logic with a truncated exponential backoff strategy is the recommended approach. This strategy involves retrying failed requests with increasing delays between attempts, up to a maximum delay, which helps to alleviate congestion and allows the service to recover. gRPC is a different protocol and won't inherently solve transient errors or rate limiting. Making the bucket multi-regional improves availability and durability but doesn't directly address application-level error handling for individual requests. Monitoring the service status feed is useful for awareness but isn't a practical real-time solution for handling intermittent errors in an application.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed