Courseiva

AI-102 Skillset context Practice Question

Exhibit

{
  "skills": [
    {
      "@odata.type": "#Microsoft.Skills.Text.SplitSkill",
      "name": "#1",
      "context": "/document",
      "inputs": [
        {
          "name": "text",
          "source": "/document/content"
        },
        {
          "name": "languageCode",
          "source": "/document/language"
        }
      ],
      "outputs": [
        {
          "name": "textItems",
          "targetName": "pages"
        }
      ],
      "textSplitMode": "pages",
      "maximumPageLength": 5000
    },
    {
      "@odata.type": "#Microsoft.Skills.Text.V3.EntityRecognitionSkill",
      "name": "#2",
      "context": "/document/pages/*",
      "inputs": [
        {
          "name": "text",
          "source": "/document/pages/*"
        },
        {
          "name": "languageCode",
          "source": "/document/language"
        }
      ],
      "outputs": [
        {
          "name": "entities",
          "targetName": "entities"
        }
      ]
    }
  ]
}

Refer to the exhibit. You have this skillset definition for an Azure AI Search enrichment pipeline. You notice that the entity recognition skill is not executing on any document. What is the most likely cause?

⚠ Common exam trap

In Azure AI Search skillsets, input source paths must be relative to the skill's context when the context iterates over an array, unless the absolute path points to a property of the array element. Using an absolute path that equals the context path can cause the skill to not execute.

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 input source path in the entity recognition skill should be relative to the context, not absolute

The entity recognition skill has its context set to '/document/pages/*', which means it iterates over each page in the split output. However, its input source is '/document/pages/*' (absolute path), which points to the entire page array element rather than the text content within each page. The input source should be relative to the context, e.g., 'text' if the page had a property, or simply the context itself if the page is a string. Using an absolute path that matches the context can cause the skill to fail because it expects a scalar input, but the context iteration provides the array element. Therefore, the correct fix is to make the input source relative, such as using 'text' or '/document/pages/*/text' appropriately. Option D correctly identifies this issue.

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 entity recognition skill requires a language code that is missing

    Why it's wrong here

    Missing language would cause an error, but skill would still execute.

  • The split skill is not producing pages because the content is too short

    Why it's wrong here

    Split skill will produce at least one page regardless of length.

  • The entity recognition skill is not registered in the skillset

    Why it's wrong here

    It is present in the skillset definition.

  • The input source path in the entity recognition skill should be relative to the context, not absolute

    Why this is correct

    The absolute path '/document/pages/*' conflicts with the context; relative path should be used.

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 →

How Courseiva writes practice questions · Editorial policy

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.