All jobs / AI engineer / AI Observability
AI engineer interview question · 3–5 years
You have a few hundred traces that users marked as bad. How do you turn them into improvements?
The strongest answer
Read a sample end to end, write down what went wrong in each, group the notes into failure categories and count them; fix the biggest category first and add its cases to the eval set
Why it works
Exactly — categories with counts turn a pile of complaints into a ranked backlog, and the cases become regression tests for the fix.
What a good answer covers
- Read, categorise, count, then fix.
- Read real traces end to end.
- Group failures; count each group.
- Turn fixed cases into eval cases.
Answers that fall short
- Close, but not the strongest: Feed all the traces to an LLM and ask it to summarise the most common problems
A summary is a useful second pass, but until you have read traces yourself you cannot tell whether its categories are real. - Weak: Add an instruction to the system prompt for each bad trace so that it does not happen again
One patch per trace grows a prompt full of special cases that conflict. Find the pattern first, then fix the pattern. - Red flag: Thumbs-down mostly comes from users who ask bad questions, so I filter those out and track the rest
Blaming the user throws away the clearest signal you get. A “bad question” the product cannot handle is a product failure.
Who gets asked this
More AI Observability questions
- Error-rate and latency alerts are already in place for your LLM feature. What else do you monitor in…
- What do you record for each LLM call so that you can debug it later?
- To debug a chatbot, a teammate adds a line that writes every full prompt and response into the general…
- A user reports that your agent gave a confidently wrong answer yesterday. All you stored was the final…
- Your LLM bill doubled this month while the number of requests stayed flat. How do you find out why?
- Complaints about answer quality jumped this week, and your team deployed nothing. How does your observability…