Skip to content
RED SAGSkills
easyPrompt Engineer interview question

A prompt works on your demo examples but fails for some users. How do you find out why?

What the interviewer wants to hear

  • Collect real failing inputs and outputs
  • Group failures into patterns
  • Check the prompt for missing or conflicting instructions
  • Fix one cause at a time and re-test on the full set
  • Add the failures to the test set

Model answer

First I gather real failing cases from logs or user reports, with the full input, prompt version and output, because demo examples are usually too clean. Then I read them and group them into patterns, for example long inputs, a certain language, missing data or a question type the prompt never mentions. For each pattern I look for the cause in the prompt: an instruction that is missing, vague or contradicted elsewhere, examples that do not cover the case, or a format that breaks. I change one thing at a time and re-run not just the failing cases but the whole test set, so I do not break something else. Finally I add the failing cases to my eval set so the same problem is caught automatically in future.

Can you answer it under time pressure?

Take a timed easy round and get scored on every answer.

Start mock interview

More easy Prompt Engineer questions