All jobs / AI engineer / Production AI Engineering

AI engineer interview question · 3–5 years

The model provider is not down, but responses that took two seconds now take forty. Your API’s worker pool fills with waiting calls, and unrelated endpoints start failing too.

What pattern stops this, and what does the AI feature do while it is active?

The strongest answer

A circuit breaker around the model dependency, plus a tight timeout and its own bounded pool: after repeated failures it fails fast, the feature serves a degraded mode, and probe calls decide when to resume

Why it works

Exactly — slow is worse than down, because nothing fails until everything does. The breaker turns slow into fast failure, and the degraded mode was designed in advance.

What a good answer covers

Answers that fall short

Who gets asked this

More Production AI Engineering questions