AI-200 Data Management Services And Vector Search Practice Question
When querying an Azure AI Search vector index using the REST API or SDK, what parameter specifies the number of nearest neighbors to retrieve?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
k
The nearest neighbors query parameter in Azure AI Search vector queries is k (or kNearestNeighbors).
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
radius
Why it's wrong here
Radius is used for geographic spatial searches, not k-NN vector searches.
- ✗
top
Why it's wrong here
While 'top' limits overall results, 'k' specifically controls the number of nearest neighbors for vector queries.
- ✗
depth
Why it's wrong here
Depth is not a parameter for vector neighbor queries.
- ✓
k
Why this is correct
The parameter k defines the number of nearest neighbors to return in a vector query.
About these practice questions
One of 507 original AI-200 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Microsoft exam blueprint
This AI-200 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI-200 exam.