MockDojo

Question bank, AI-assisted, AI fluency

Direct an AI assistant

You have an AI coding assistant and 30 minutes to add a CSV import endpoint to our API (users upload a CSV of contacts; we validate and insert them). Don't write the code yourself. Show me how you'd drive the assistant and make sure what it produces is safe to merge.

30 minutes, for mid-level, senior engineers

How the interview runs

  1. 1.Clarify. What do you need to know before you prompt anything?
  2. 2.Break it down. How would you split this into steps the assistant can do well?
  3. 3.Prompt. Write the prompt or spec for the first step in the notes. What context do you give it?
  4. 4.Verify. It hands you code. How do you decide it's correct and safe?
  5. 5.Failure modes. Where do AI assistants usually go wrong on a task like this?

What you're graded on

  • Clarified requirements15 pts
  • Decomposed the task20 pts
  • Gave a precise spec25 pts
  • Verified the output25 pts
  • Knew the failure modes15 pts

Practice this one for real

Answer it phase by phase, then get the rubric score, what you missed and the model answer outline.

Unlock with Lifetime