All jobs / AI engineer / Production AI Engineering

AI engineer interview question · 1–3 years

During a provider slowdown your model bill for the hour tripled. The SDK retries three times, your service wrapper retries three times, and the queue re-delivers a failed job three times.

What is going on, and what do you change?

The strongest answer

The layers multiply — one job can become 27 calls, and a call we gave up on may still be billed. Retry in one layer only, with backoff and jitter, on retryable errors, within a budget

Why it works

Exactly — retries belong to one owner, and that owner has a budget. Work the provider already started can cost money even after you stopped listening.

What a good answer covers

Answers that fall short

Who gets asked this

More Production AI Engineering questions