Your question is Design API Rate Limiter. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Explain how you would design a rate-limiting mechanism for an internal security tool that makes concurrent requests to third-party APIs. How would you enforce per-provider limits, handle bursts, retries, and shared state across workers?