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

Which approach stores vectors so that both the embedding and its metadata are retrievable in one query?

  1. A Store the vector in a HASH alongside metadata fields and index both (correct answer)
  2. B Store vectors in a separate database
  3. C Use Pub/Sub to join data
  4. D Store metadata in a List

Shortcut: SEARCH return metadata with the nearest-neighbour results in one call.

Indexing TEXT, TAG, or NUMERIC fields in the same HASH or JSON document as the VECTOR field lets FT.SEARCH return metadata with the nearest-neighbour results in one call.