AI-102 Practice Question: Implement knowledge mining and document intelligence solutions
You are creating an Azure AI Search index for a knowledge mining solution. The index must support searching for documents by a required category field that can have one of five predefined values, and you want to enable faceted navigation on that field. Which index field configuration should you use?
⚠ Common exam trap
The trap here is enabling searchable on a category field, which tokenizes values and breaks exact filtering and faceting.
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
✓
Edm.String with filterable and facetable set to true, and searchable set to false.
A category field with predefined values is best modeled as a filterable and facetable string field that is not searchable, because full-text analysis is unnecessary and can interfere with exact matching. Making it searchable could tokenize values, and omitting facetable would break faceted navigation. The retrievable attribute should remain true if the value needs to be displayed.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Edm.String with searchable set to true and filterable set to false.
Why it's wrong here
Making the field searchable but not filterable prevents exact-match filtering and faceting, which are required for category-based navigation. Full-text search on a category field may also tokenize values, causing unexpected matches. This configuration does not meet the need for faceted navigation and exact filtering.
- ✗
Edm.String with retrievable set to false and filterable set to true.
Why it's wrong here
Setting retrievable to false means the field value is not returned in search results, which is usually undesirable for a category field that users need to see. While filterable is true, facetable is not enabled, so faceted navigation would not work. This configuration omits the required facetable attribute.
- ✓
Edm.String with filterable and facetable set to true, and searchable set to false.
Why this is correct
For a field used for filtering and faceting on exact values, setting it as Edm.String with filterable and facetable true and searchable false is optimal. This configuration allows exact-match filtering and facet counts without incurring the overhead of full-text analysis, which is unnecessary for predefined category values.
- ✗
Edm.Int32 with filterable set to true and facetable set to false.
Why it's wrong here
An Edm.Int32 field cannot store the five predefined textual category values, and disabling facetable prevents faceted navigation. Even if categories were numeric codes, facetable must be true for facet counts. This type and configuration do not satisfy the requirement for textual categories with facets.
Go deeper
Related to this question
About these practice questions
One of 761 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 and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
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.