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. Most asked Vector DB leaf: HNSW vs IVF indexes?

    HNSW: graph ANN, strong recall/latency, higher memory.

  2. Most asked Vector DB leaf: When is hybrid search necessary?

    Exact IDs, rare tokens, and code-combine BM25 with vectors and fuse scores (e.g., RRF).

  3. Most asked Vector DB leaf: Cosine vs dot product-when does it matter?

    If embeddings are L2-normalized, cosine and dot align.

  4. Vector DB leaf: Dimensionality vs quality/cost?

    Higher dims can improve quality but raise storage/latency/cost.

  5. Vector DB leaf: When to choose managed vs self-hosted vector DB?

    Managed for speed/ops; self-host for cost control, data residency, or custom indexing.

  6. When would you use hybrid search (BM25 + vectors) instead of pure vector search?

    Pure vector search can miss exact identifiers, rare terms, error codes, and precise keywords.

Was this page helpful?

Report a mistake