Questions › Technical PM › Top-Interview
Debug and extend a Python codebase by adding an async exponential retry mechanism with timeouts and backoff so failures are retried until success.
- Technical PM
- Top-Interview
- Hard
- 20 min
Focus on understanding the existing Python codebase and identifying areas where the retry mechanism can be integrated. Pay attention to the structure of the asynchronous functions and how they handle errors. When implementing the exponential backoff, ensure that you clearly define the retry logic, including the maximum number of retries and the timeout duration. Be prepared to explain your design choices, such as how you handle different types of exceptions and the implications of using async/await in your implementation. Lastly, consider edge cases and how your solution can be tested effectively.
What this question tests
- Technical PM
- Structured problem solving
- Communication
- Trade-off reasoning
Practise this question under interview conditions. Answer it out loud against a timer with an AI interviewer that asks follow-ups, then review the scored report.
Related Technical PM questions
- Design an end-to-end batching system for LLM queries.Top-Interview · Technical PM · Easy
- Develop a strategy for OpenAI's fine-tuning capabilities using publicly available docs.Top-Interview · Technical PM · Easy
- What is DevOps?Top-Interview · Technical PM · Easy
- How would you position Cosmos?Top-Interview · Technical PM · Easy
- Have you worked with AI or generative AI products before?Top-Interview · Technical PM · Easy
- What products have you worked on that you launched or scaled?Top-Interview · Technical PM · Easy
All Technical PM questions · Product manager interview questions by skill area