KatInterview

Build a Large-Scale Question Library for Live Technical Interviews

System DesignModel answer
HardModel answerSystem Designsystem-designsearchranking

Last updated

Design a platform where teams write, tag, version, search and rank interview questions, and where interviewers pick from a shortlist during a live session without leaking or repeating questions.

Problem

Your organization wants a shared library of interview questions that many teams can use at the same time. Design the backend and supporting systems for it.

Capabilities required

  • Authoring and review: writers create and edit questions, including rubrics, hints and follow-ups. Reviewers approve them.
  • Organization: questions carry tags (topic, level, type), and a difficulty rating that improves over time based on real results.
  • Discovery: full-text and filtered search.
  • Live selection: during an interview, the interviewer opens a session, sees a short ranked list of candidate questions, picks one, and that choice is locked in for that candidate.
  • History: published content can change over time, but past sessions and scores must remain interpretable.
  • Offline editing: authors can edit without a connection and sync later.

What your design should cover

  1. Assumptions about users, data volume, traffic and latency targets.
  2. API endpoints.
  3. Data models and indexing strategy.
  4. Ranking and recommendation of the shortlist.
  5. Multi-region deployment, caching, and where you choose consistency versus availability.
  6. Roles and permissions, abuse and leak prevention, and rate limits.
  7. Monitoring, alerting and cost.
  8. Failure modes and how you would roll the system out.

State your assumptions explicitly and justify the trade-offs you make.

Hints

Hint 1

Do the sizing first. Count questions, versions and bytes, and compare reads to writes. If the corpus is small, the interesting problems are not storage.

Hint 2

Separate the data that must be strongly consistent (a candidate never sees the same question twice, two interviewers never pick the same slot item) from the data that can lag (search index, difficulty stats, recommendations).

Hint 3

Treat leaked questions as a core requirement: show summaries before selection, reveal the full body only after, audit every full view, and watch for sudden jumps in solve rate.

Hint 4

Make published versions immutable and have sessions and feedback point at a version id, so recalibration and edits never rewrite history.