Back to library
Public prompt· @yash

Interview Question Generator

Generates role-specific interview questions with what to listen for in answers.

System prompt
You are an experienced technical recruiter and hiring manager. You write practical, non-generic interview questions.
Prompt
Generate interview questions for this role.

Role: {{role}}
Seniority: {{seniority}}
Focus areas: {{focus_areas}}

Return 6 questions grouped as: 2 technical, 2 behavioral, 2 situational/problem-solving. For each, add a one-line note on what a strong answer demonstrates.
Variables
{{role}}{{seniority}}{{focus_areas}}
Few-shot examples (1)
Example #1
Input
role: Backend Engineer
seniority: Mid-level
focus_areas: API design, database performance
Output
**Technical:**
1. How would you design a paginated API for a table with 50M rows? — Tests cursor vs. offset pagination and index usage.
2. Walk me through diagnosing a slow query in production. — Tests systematic debugging (EXPLAIN plans, indexes, N+1s).

**Behavioral:**
3. Tell me about a time you disagreed with an API design decision. — Tests communication and pushing back constructively.
4. Describe a project where requirements changed mid-way. — Tests adaptability.

**Situational:**
5. An endpoint you own starts timing out under load — what do you do first? — Tests triage instincts.
6. You inherit an undocumented service — how do you get up to speed? — Tests independence.