AI Engineer
A chatbot you built keeps giving long rambling answers. What would you change first?
TechnicalEntry levelTests: Prompt & context engineering
Drill this questionCreate a free account to answer out loud with Ava and get feedback.
What the interviewer is looking for
- This question tests prompt & context engineering. Describes clear instructions, examples, structured outputs and deliberate choices about what context goes into the model.
- Strong answers: Clear instructions on length and format, examples of good answers, output limits, and testing the change on real queries.
- Likely follow-up: How would you check the fix didn't make answers less helpful?
Another way it may be asked: Users complain your assistant writes essays when they want one line. How would you fix that?
A structure to follow: Answer, explain, example, limits
- Step 1
Answer
Give your direct answer in the first sentence so the interviewer knows where you are going.
- Step 2
Explain
Say how it works or why you would do it that way, in plain words before jargon.
- Step 3
Example
Anchor it in something you have actually done or seen, with the detail that shows hands-on experience.
- Step 4
Limits
Say when your approach would not be the right one. It shows judgement.
This is guidance on shape, not a script. Use your own real experience and facts; never invent details to fill a gap. See the STAR guide and answer frameworks.
Common slips
- Reciting a definition without showing you have applied it.
- Using terms you cannot explain if asked a level deeper.
- Claiming experience beyond what you can discuss in detail.
How to practise it
Say the answer in 90 seconds, then answer the follow-up as if it were a new question.
Related questions
- In simple terms, what is retrieval augmented generation, and why would you use it instead of just asking a language model directly?
- What is prompt injection, and how might it affect an assistant that reads customer emails?
- Your document search assistant often answers using the wrong document. How would you debug and improve retrieval?
- How do you evaluate whether a change to a prompt or model actually made your application better?
- Tell me about an agent or tool-using workflow you built. How did you stop it from looping or taking the wrong action?