Question 12
Domain 2: Implement Knowledge Mining and Azure AI Search SolutionsDuring indexing, you need to call a custom machine learning model hosted on Azure to classify each document into business categories. The model exposes a REST API endpoint. What should you implement in the skillset?
Correct answer: B
Explanation
A custom Web API skill is used when a skillset must call an external REST endpoint during indexing. Because the model is hosted on Azure and “exposes a REST API endpoint,” the skillset should invoke that endpoint to classify each document into business categories.
Why each option is right or wrong
A. A built-in Language Detection skill
B. A custom Web API skill pointing to the classification REST endpoint
Azure AI Search skillsets invoke external processing during indexing through a Web API skill, which is the built-in extensibility point for calling an HTTP/REST endpoint. The skill contract requires a POST-based endpoint and supports passing document data to a custom service, so a model hosted on Azure with a REST API is integrated by wiring that endpoint into the skillset rather than using a built-in skill.
C. A built-in Key Phrase Extraction skill
D. An Azure Function trigger on Blob Storage