Loading round
Retrieval system designSystem design roundSenior~20 min

Large-Scale Document Retrieval

A system design round. Forty-five minutes, no code. The interviewer wants to talk about search, ranking and retrieval, and how a language model sits on top of them. Expect the requirements to move.

The questions in this round

  1. Design a retrieval-augmented assistant over ten million internal documents. Take me from a user question to a grounded answer.

  2. One thing I left out: those documents carry per-user permissions, and two thirds of them are visible to nobody in this conversation.

  3. And the documents change. A policy edited this morning must not be answered this afternoon from last month’s text.

  4. Which part of this fails first at ten million documents, and how would you know before a customer tells you?