Question bank, AI-assisted, AI engineering, concepts
Defend against prompt injection
Our support bot reads customer emails and can issue refunds through a tool. How could prompt injection abuse it, and how would you defend it?
20 minutes, for junior, mid-level, senior engineers
How the interview runs
- 1.Explain. Start with the core idea. How would you explain it to a teammate?
- 2.Go deeper. Go one level deeper. What actually happens, and where does it break?
- 3.Trade-offs. What would you do in practice, and what are the trade-offs?
What you're graded on
- Threat model + layered defenses30 pts
- Mechanism explained30 pts
- Depth and failure modes20 pts
- Practical trade-offs20 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