AI-102 exam dumps

AI-102 practice question 372 of 493

Designing and Implementing a Microsoft Azure AI Solution. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AI-102 Question 372

Select 4

You are building an Azure Cognitive Search pipeline to process unstructured documents. You need to implement a custom skill to extract specific entities from the text and include it in a skillset. Which of the following steps must you take to correctly integrate the custom skill into the pipeline?

  1. A

    Define the custom skill in the skillset JSON with the appropriate inputs and outputs.

  2. B

    Configure the custom skill as an Azure Logic App and reference it in the skillset.

  3. C

    Deploy the custom skill as an Azure Function and provide its endpoint URL in the skillset.

  4. D

    Add the custom skill to the skillset as a skill of type webApi.

  5. E

    Ensure the custom skill accepts and returns data in the expected JSON format defined by Cognitive Search.

Show answer and explanation

Correct answers: A, C, D, E

Explanation

To integrate a custom skill into an Azure Cognitive Search skillset, you must define it in the skillset JSON, ensuring proper configuration of inputs and outputs. The skill must be implemented as a web API (commonly hosted as an Azure Function) and referenced in the skillset as a skill of type webApi. Additionally, the custom skill must conform to the expected JSON input-output structure required by Azure Cognitive Search to ensure smooth data processing through the pipeline.

  • A. Correct.

    Correct: Defining the custom skill in the skillset JSON with the required inputs and outputs is necessary for the skill to function as part of the skillset.

  • B. Incorrect.

    Incorrect: While Azure Logic Apps can be used for workflows, a custom skill must be implemented as a web API (e.g., using an Azure Function or similar service).

  • C. Correct.

    Correct: Deploying the custom skill as an Azure Function and providing its endpoint URL is a common approach to integrate custom skills into Azure Cognitive Search.

  • D. Correct.

    Correct: Custom skills must be added to the skillset as a webApi type to be properly recognized and executed in the pipeline.

  • E. Correct.

    Correct: Custom skills require specific input and output JSON structures, as Cognitive Search processes data in a predefined format.

Timed practice exam

Take a AI-102 practice test under exam conditions

40 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam