Courseiva

AI-102 Practice Question: Implement knowledge mining and information extraction solutions

You are designing an Azure AI Search enrichment pipeline that extracts entities from text using the Entity Recognition skill. You need to ensure that the extracted entities are stored as a collection in the index so that users can filter and facet on them. Which index field type should you use?

⚠ Common exam trap

The trap here is assuming that a complex type is needed to store structured entity data, when the skill actually outputs a simple string collection that can be directly mapped.

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

✓

Collection(Edm.String)

The Entity Recognition skill outputs a list of strings representing entities. To store this list and enable filtering and faceting, the index field must be a collection of strings. Collection(Edm.String) is the correct type because it accommodates multiple values and supports the necessary query capabilities. Other types either cannot hold multiple values or are not designed for text data.

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.ComplexType

    Why it's wrong here

    Edm.ComplexType is used for structured objects with multiple subfields. While you could model entities as complex types with properties like name and type, the Entity Recognition skill outputs a simple list of strings. Using a complex type would require additional shaping and is overkill for this scenario. It also complicates faceting because you would need to facet on a subfield.

  • ✗

    Edm.String

    Why it's wrong here

    Edm.String is used for a single string value. If you map a collection of entities to a string field, you will lose the collection structure and only one value may be stored. This prevents faceting and filtering on individual entities. Therefore, it is not suitable for storing multiple entities as a collection.

  • ✗

    Edm.Int32

    Why it's wrong here

    Edm.Int32 is for integer values. Entities are text strings, not numbers. Mapping text entities to an integer field would fail or result in data loss. This type is completely inappropriate for storing entity names or categories. It cannot support filtering or faceting on textual entity values.

  • ✓

    Collection(Edm.String)

    Why this is correct

    Collection(Edm.String) allows storing multiple string values in a single field. This is ideal for entities extracted by the Entity Recognition skill, which outputs a list of entities. With this type, you can apply filters and facets on each entity value. It preserves the collection nature of the output and enables advanced query scenarios.

About these practice questions

This AI-102 question is part of Courseiva's 761-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

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.