Courseiva

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

ModelYou ManageProvider ManagesExamples
IaaSOS, runtime, apps, dataHardware, hypervisor, networkingEC2, Azure VMs, GCP Compute Engine
PaaSApps and dataOS, runtime, middleware, hardwareElastic Beanstalk, Azure App Service
SaaSData and settings onlyEverything elseMicrosoft 365, Salesforce, Workday
FaaS / ServerlessFunction code onlyInfra, scaling, runtimeLambda, Azure Functions, Cloud Run
CaaSContainers and appsKubernetes, OS, hardwareEKS, AKS, GKE

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 →

How Courseiva writes practice questions · Editorial policy

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.