Implement knowledge mining and information extraction solutions →mediumMultiple SelectObjective-mapped
AI-102 Practice Question: Implement knowledge mining and information extraction solutions
Which TWO actions should you perform to ensure that an Azure AI Search indexer can successfully enrich documents using a custom skill that calls an external API?
⚠ Common exam trap
A common mix-up: candidates confuse client-side CORS requirements with server-to-server authentication, leading them to select Option A, when in fact managed identity and retry policies are the correct mechanisms for secure and resilient custom skill execution.
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
✓
Configure a retry policy in the skillset definition for the custom skill
A custom skill in an Azure AI Search skillset can fail due to transient errors when calling an external API. Configuring a retry policy in the skillset definition allows the indexer to automatically retry failed skill executions, improving resilience. Option C is correct because using a managed identity for the search service eliminates the need to manage credentials when accessing an Azure Function, providing secure authentication without storing secrets.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable CORS on the Azure Function app to allow cross-origin requests
Why it's wrong here
CORS is for browser-based requests, not for server-to-server calls from Azure AI Search.
- ✓
Configure a retry policy in the skillset definition for the custom skill
Why this is correct
Retry policy handles transient errors when calling the custom skill.
- ✓
Provide a managed identity for the search service to access the Azure Function
Why this is correct
Managed identity secures the connection between Azure AI Search and the custom skill endpoint.
- ✗
Set the indexer's execution timeout to unlimited
Why it's wrong here
Unlimited timeout is not recommended and could cause indefinite failures.
- ✗
Add the external API endpoint to the indexer's allowed domains list
Why it's wrong here
The indexer calls the custom skill, not the external API directly.
Go deeper
Related to this question
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 →
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.