AI-102 exam dumps

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

Select 3

You are designing an Azure Cognitive Search skillset to process unstructured data stored in Azure Blob Storage. The skillset requires the use of a custom skill to perform sentiment analysis on text data that is not supported by the built-in Cognitive Services skills. What steps are required to implement the custom skill and include it in the skillset?

  1. A

    Develop a custom web API that implements the desired functionality and deploy it to an accessible endpoint.

  2. B

    Register the custom skill as an Azure Cognitive Search skill using the Azure portal.

  3. C

    Add an entry for the custom skill in the skillset JSON definition with the required input and output fields.

  4. D

    Enable the 'Custom Skills' option in the Azure Cognitive Search indexer configuration.

  5. E

    Test the custom skill independently before integrating it into the skillset to ensure it produces the expected output.

Show answer and explanation

Correct answers: A, C, E

Explanation

To implement a custom skill in Azure Cognitive Search, you must first develop the custom logic as a web API and make it accessible. Then, you define the custom skill in the skillset JSON configuration, specifying the API endpoint and input/output mappings. Testing the custom skill independently ensures that it works as expected before integration. There is no option to register custom skills directly in the Azure portal or to enable them through the indexer configuration.

  • A. Correct.

    Correct: Developing a custom web API is necessary to implement the desired functionality for the custom skill. This API must be accessible for the skillset to call it during indexing.

  • B. Incorrect.

    Incorrect: Azure does not provide a direct option to register custom skills in the portal. Custom skills are added via the skillset definition in JSON or programmatically.

  • C. Correct.

    Correct: You need to define the custom skill in the skillset JSON configuration, specifying its inputs, outputs, and the endpoint of the custom web API.

  • D. Incorrect.

    Incorrect: There is no 'Custom Skills' option to enable in the Azure Cognitive Search indexer configuration. Custom skills are included through the skillset definition.

  • E. Correct.

    Correct: Testing the custom skill independently ensures its functionality before it is integrated into the Azure Cognitive Search skillset.

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