AI-102 Plan and manage an Azure AI solution Practice Question
Exhibit
{
"properties": {
"description": "My index",
"fields": [
{"name": "id", "type": "Edm.String", "key": true, "searchable": false},
{"name": "content", "type": "Edm.String", "searchable": true, "filterable": false},
{"name": "category", "type": "Edm.String", "searchable": true, "filterable": true}
],
"semantic": {
"defaultConfiguration": {
"prioritizedFields": {
"titleField": {"fieldName": "content"},
"contentFields": [],
"keywordsFields": []
}
}
}
}
}Refer to the exhibit. You are creating an Azure AI Search index. You want to enable semantic search using the 'content' field as both the title and the content. However, you receive an error that semantic search cannot be configured. What is the most likely reason?
⚠ Common exam trap
Candidates often assume the 'content' field is inherently valid for semantic search without realizing the semantic configuration requires explicit assignment of fields to the 'contentFields' list, and an empty list triggers the error regardless of the field's properties.
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 'contentFields' list is empty; semantic search requires at least one content field or keywords field.
Semantic search in Azure AI Search requires at least one field specified in the 'contentFields' list to provide the textual content for semantic ranking. If the 'contentFields' list is empty, the service cannot extract semantic meaning from the index, resulting in the configuration error. The 'content' field can serve as both title and content if properly assigned, but the error indicates the list itself is missing entries.
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 'content' field is of type 'Edm.String', which is not supported for semantic search.
Why it's wrong here
Edm.String is supported.
- ✗
The 'content' field is not searchable.
Why it's wrong here
The field is marked searchable.
- ✗
The index does not have a sortable field for the title.
Why it's wrong here
Sorting is not required for semantic search.
- ✓
The 'contentFields' list is empty; semantic search requires at least one content field or keywords field.
Why this is correct
Semantic search requires at least one field in title, content, or keywords; contentFields is empty.
Go deeper
Related to this question
About these practice questions
One of 945 original AI-102 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 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.