Implement knowledge mining and information extraction solutions →mediumMultiple ChoiceObjective-mapped
AI-102 Practice Question: Implement knowledge mining and information extraction solutions
Exhibit
Refer to the exhibit.
$index = @{
name = "knowledge-index"
fields = @(
@{name = "id"; type = "Edm.String"; key = $true},
@{name = "content"; type = "Edm.String"; searchable = $true},
@{name = "people"; type = "Collection(Edm.String)"; searchable = $true; filterable = $true},
@{name = "organizations"; type = "Collection(Edm.String)"; searchable = $true; filterable = $true}
)
suggesters = @(
@{name = "sg"; searchMode = "analyzingInfixMatching"; sourceFields = @("content")}
)
}You are reviewing an index definition created with PowerShell. The index is used for a knowledge mining solution that extracts people and organizations from documents. Users report that when they type partial names in the search bar, the suggester does not return suggestions. What is the most likely reason?
⚠ Common exam trap
The trap here is that candidates may focus on data types or index keys instead of recognizing that the suggester's `sourceFields` property explicitly controls which fields participate in suggestion generation, a detail frequently tested in AI-102.
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
✓
The suggester sourceFields do not include people or organizations
A suggester in Azure Cognitive Search only returns suggestions for fields explicitly listed in its `sourceFields` property. If the `people` and `organizations` fields are not included in `sourceFields`, the suggester cannot match partial names typed in the search bar, even if those fields are indexed and searchable. The suggester relies on prefix matching against the specified source fields to generate suggestions.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The people and organizations fields should be Edm.String instead of Collection(Edm.String)
Why it's wrong here
Collection is correct for multiple values.
- ✗
The id field is not defined as a key in the index
Why it's wrong here
The key is correctly set to true.
- ✓
The suggester sourceFields do not include people or organizations
Why this is correct
Suggestions are only generated from the content field.
- ✗
The suggester searchMode should be 'analyzingInfixMatching' which is incorrect
Why it's wrong here
The mode is valid.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AI-102 question from scratch — 945 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AI-102 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-102 exam.