CertKeen

Azure AI Cloud Developer (AI-200) · Free practice question 6 of 12

IVFFlat lists and probes tuning

Fenwick Cartography built an IVFFlat index on a fully loaded embeddings table in Azure Database for PostgreSQL. Searches are fast but miss relevant neighbors. Which setting improves recall at query time?

  1. A.Raise random_page_cost so that the planner prefers the IVFFlat index over a sequential scan
  2. B.Lower the lists value and keep probes at 1 without rebuilding
  3. C.Raise ivfflat.probes so that more lists are searched for each query
  4. D.Set maintenance_work_mem to a smaller value
Show answer and explanation

Correct answer: C. Raise ivfflat.probes so that more lists are searched for each query

Why: An IVFFlat index divides vectors into lists, and ivfflat.probes controls how many of them a query examines; the default is 1, and raising it increases recall at the cost of speed. lists is set at build time, so changing it means rebuilding the index. random_page_cost influences plan choice rather than recall within the index, and maintenance_work_mem affects builds only.

More free Azure AI Cloud Developer (AI-200) questions