Q18 Redis Domain 2 · 25–30% of exam Priority · Real Exam

What does the FLAT vector index algorithm offer compared with HNSW?

  1. A Faster queries on large datasets
  2. B Exact (100% recall) search at higher query cost, suited to smaller datasets (correct answer)
  3. C Lower memory always
  4. D Support for sparse vectors

Shortcut: FLAT performs a brute-force comparison, giving exact results but scaling linearly with dataset size. HNSW is approximate but far faster at scale.