AI-102 exam dumps

AI-102 practice question 369 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 369

Select 3

You are designing a solution in Azure Cognitive Search and need to include a custom skill in a skillset to process documents containing complex entity extraction. The custom skill requires an HTTP endpoint that processes the input data and returns results. What must you ensure when adding this custom skill to the skillset?

  1. A

    The custom skill must return JSON output in the correct schema defined by Azure Cognitive Search.

  2. B

    The custom skill's HTTP endpoint must only accept POST requests.

  3. C

    The custom skill must be registered as an Azure Function in the same resource group as the Cognitive Search service.

  4. D

    The skillset definition must define inputs and outputs matching the custom skill's input/output mappings.

  5. E

    The custom skill's endpoint must include authentication headers configured in the skillset.

Show answer and explanation

Correct answers: A, B, D

Explanation

When implementing a custom skill in Azure Cognitive Search, you must ensure it adheres to the requirements for input/output schema compatibility and HTTP request handling. The skillset must also define the correct mappings for data to and from the custom skill. While authentication may be necessary for some endpoints, it is not a universal requirement for all skillset configurations, nor is it mandatory to use an Azure Function for hosting the custom skill.

  • A. Correct.

    Correct: Azure Cognitive Search requires the custom skill to return JSON output in a specific schema to ensure proper integration with the skillset and indexing pipeline.

  • B. Correct.

    Correct: The custom skill's endpoint must accept POST requests as this is the required HTTP method for skill execution.

  • C. Incorrect.

    Incorrect: While an Azure Function can be used to host a custom skill, it is not mandatory that the custom skill is an Azure Function or in the same resource group as the Cognitive Search service.

  • D. Correct.

    Correct: The skillset definition must include input and output field mappings that align with the custom skill's expected input and output data.

  • E. Incorrect.

    Incorrect: While the endpoint may require authentication, it is not mandatory to include authentication headers in the skillset configuration as long as the endpoint itself can handle authentication requirements in a different way.

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