Implement knowledge mining and information extraction solutions →hardMultiple ChoiceObjective-mapped
AI-102 Practice Question: Implement knowledge mining and information extraction solutions
Your knowledge mining pipeline uses Azure AI Search with a custom skillset that calls an Azure Function. The function sometimes times out for large documents. What is the best way to handle this?
⚠ Common exam trap
A common mix-up: candidates think increasing the timeout to an arbitrarily high value (like 24 hours) is possible, but Azure Functions enforce strict maximum timeout limits depending on the hosting plan, and the correct approach is to work within those limits while optimizing performance through regional colocation.
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
✓
Increase the function timeout and ensure the function is in the same region as the search service
Increasing the function timeout (up to the Azure Functions maximum of 10 minutes for the Consumption plan or 30 minutes for the Premium plan) and ensuring the function is in the same region as the search service reduces latency and network overhead, directly addressing timeout issues for large documents. Azure AI Search custom skills must complete within the function's configured timeout, and regional colocation minimizes cross-region data transfer delays.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Use Azure AI Document Intelligence instead of a custom skill
Why it's wrong here
Not an alternative for custom logic.
- ✓
Increase the function timeout and ensure the function is in the same region as the search service
Why this is correct
Longer timeout accommodates large documents.
- ✗
Set the function timeout to the maximum of 24 hours
Why it's wrong here
Unreasonable; better to optimize the function.
- ✗
Move the custom skill to Azure AI Language custom entity recognition
Why it's wrong here
Does not address timeout.
Quick reference
Cloud Service Model Comparison
| Model | You Manage | Provider Manages | Examples |
|---|---|---|---|
| IaaS | OS, runtime, apps, data | Hardware, hypervisor, networking | EC2, Azure VMs, GCP Compute Engine |
| PaaS | Apps and data | OS, runtime, middleware, hardware | Elastic Beanstalk, Azure App Service |
| SaaS | Data and settings only | Everything else | Microsoft 365, Salesforce, Workday |
| FaaS / Serverless | Function code only | Infra, scaling, runtime | Lambda, Azure Functions, Cloud Run |
| CaaS | Containers and apps | Kubernetes, OS, hardware | EKS, AKS, GKE |
Go deeper
Related to this question
About these practice questions
One of 945 original AI-102 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.