Interview Q&A · questions with model answers

Vector Databases Interview Questions

Part of the study plan for: Native AI Engineer

Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.

  1. Vector DB leaf: Re-ranking after ANN retrieval?

    ANN returns candidates; cross-encoder/LLM reranks for precision before prompting.

  2. Vector DB leaf: Multi-tenancy strategies?

    Shared index + hard filters, or separate indexes/collections per tenant for stronger isolation/compliance.

  3. Vector DB leaf: Sparse + dense vector fusion?

    Learned sparse (SPLADE) or BM25 fused with dense via RRF/weighted sums; tune on labeled queries.

  4. Vector DB leaf: Explain product quantization briefly.

    Compress vectors into codebooks to reduce memory with some recall loss-common at billion-scale indexes.

  5. Vector DB leaf: Cold start for a new corpus?

    Batch embed, build index offline, smoke-test recall, then cut traffic.

  6. Vector DB leaf: Handling near-duplicate documents?

    Dedup by content hash before embed; clustering to collapse duplicates; prefer canonical docs in citations.

Was this page helpful?

Report a mistake