Microsoft's architecture guidance warns that overlapping or unlimited retries can place additional stress on a failing dependency. This is a useful way to test whether a candidate understands the operational effects of apparently helpful error handling.
Distinguish recoverable from permanent errors
A temporary network interruption may justify another attempt. A malformed input or missing authorization usually needs correction rather than repetition. Discuss the categories of errors a client can recognize and what it should do for each. The policy should be connected to service behavior rather than blindly retry every exception from a broad catch block.
Count the total work across layers
Imagine a user request passes through an API, a worker and a backend client. If every layer independently repeats operations, one user action can generate many attempts downstream. Instead, assign clear ownership of retries and choose a bounded overall time and attempt budget. Backoff and randomized delays can reduce synchronized bursts. Clarify what happens after the budget runs out.
Address side effects before retrying
A successful write may fail to deliver its response to the caller. Repeating that request without a stable operation identity can create unwanted duplicates. Explain how you would make the action safe to repeat, perhaps by recording a request key and returning the existing outcome. Decide how to surface uncertainty to the user while keeping observability useful to operators.
A practical example
An email-notification worker receives an ambiguous timeout after sending a message. Instead of assuming failure, it checks a deduplication record or uses a stable request identifier where supported, then decides whether another attempt is appropriate.
Try this today
Draw a three-layer request chain and list all retry policies. Identify which component owns the budget, which errors are retryable and how you would prevent a duplicate side effect.
Before you move on
- Retry only appropriate failures.
- Limit the total time and attempts.
- Account for duplicate side effects.
References & further reading
This is original QSourceAI editorial commentary with independent practice examples. Read the source publication for its own findings, reporting or guidance.
- Microsoft LearnTransient fault handling
Source consulted November 21, 2026. References do not imply endorsement of QSourceAI by the publisher.
Real questions. Answers built around you.
Practise a retry-policy design discussion with QSourceAI, then test your proposed behavior in a small service or mock environment.