Skip to main content

AI-200 practice question · Develop AI Solutions by Using Azure Data Management Services

A team configured int8 scalar quantization on an HNSW vector field in Azure AI Search to reduce vector storage.

A team configured int8 scalar quantization on an HNSW vector field in Azure AI Search to reduce vector storage. They now see a modest drop in recall. What should they do to recover recall while keeping the compressed index?

  • AEnable rescoring with oversampling and set rescoreStorageMethod to preserveOriginals
  • BSet rescoreStorageMethod to discardOriginals so that rescoring runs on the int8 vectors
  • CIncrease the replica count so that queries are evaluated against more copies of the index
  • DAdd partitions so that the quantized vector index is spread across more storage units
Show the answer and explanation

Correct answer: A) Enable rescoring with oversampling and set rescoreStorageMethod to preserveOriginals

Oversampling with rescoring makes up for quantization loss: the query pulls a larger candidate set from the compressed vectors and reranks it with full-precision vectors. For scalar quantization, those vectors must be kept with preserveOriginals.

Why each option is right or wrong

  • A) Correct. Oversampling makes the query pull k × the oversampling multiplier candidates from the compressed vectors. Rescoring then reranks them with the original full-precision vectors and returns the top k. For scalar quantization, those originals must be kept (preserveOriginals).
  • B) Incorrect. With discardOriginals you can't use enableRescoring or defaultOversampling. Rescoring scalar-quantized vectors needs the original full-precision vectors. Only binary quantization can rescore without them, by using the dot product.
  • C) Incorrect. Replicas are identical copies of the index that share the query load for throughput and availability. They don't change how precisely vectors are compared, so they don't recover recall.
  • D) Incorrect. Partitions split the index into slices to add storage and indexing throughput. They don't change how compressed vectors are scored, so they don't recover recall lost to quantization.
Question type
Multiple choice (one answer)

Practise the full AI-200 exam

This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.