Courseiva

AI-102 Practice Question: Implement knowledge mining and information extraction solutions

You are developing a knowledge mining solution for a legal firm that needs to process thousands of legal contracts stored as PDFs in Azure Blob Storage. The solution must extract clauses, parties, and dates using a custom model. You are using Microsoft Foundry with Azure AI Search and Azure AI Document Intelligence. The custom model must be trained on labeled contract data. After training, you deploy the model and integrate it into the AI Search enrichment pipeline. The pipeline must also perform OCR for scanned contracts. You have configured the following:

- A custom classification model in Document Intelligence for document types. - A custom extraction model in Document Intelligence for clauses, parties, and dates. - An Azure AI Search index with fields: clause, party, date. - A skillset with a Document Intelligence skill pointing to the custom extraction model.

During testing, the pipeline runs successfully for digital PDFs but fails for scanned PDFs. The error indicates that OCR is not being applied. What should you do to fix the issue?

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

Modify the Document Intelligence skill configuration to enable OCR processing.

Scanned PDFs contain images of text, so OCR must be performed to extract text before the custom extraction model can process it. Azure AI Document Intelligence's custom extraction model can perform OCR internally if the skill configuration has OCR enabled. By default, the Document Intelligence skill in the skillset does not automatically enable OCR for scanned documents; you must set the `enableOcr` property to `true` in the skill configuration. Option A is incorrect because retraining the model with scanned images would not enable OCR; the model still needs text input. Option B is incorrect because recreating the index does not address the missing OCR step. Option D is incorrect because adding a separate OCR skill is not necessary; Document Intelligence can handle OCR internally when configured correctly.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Retrain the custom extraction model with scanned document images.

    Why it's wrong here

    Retraining will not add OCR capability; the skill must be configured to use OCR.

  • Delete and recreate the index with a different field mapping.

    Why it's wrong here

    The field mapping is unrelated to OCR; the issue is in the enrichment pipeline.

  • Modify the Document Intelligence skill configuration to enable OCR processing.

    Why this is correct

    Document Intelligence can perform OCR on images; enabling it in the skill allows processing of scanned PDFs.

  • Add an OCR skill to the skillset before the Document Intelligence skill.

    Why it's wrong here

    Document Intelligence already includes OCR; adding an OCR skill is redundant and may cause conflicts.

Quick reference

Azure Blob Storage Tier Comparison

TierStorage CostRetrieval CostLatencyUse Case
HotHighestLowestImmediateActive data, frequent reads
CoolLowerHigherImmediateData accessed < once / month
ColdLower stillHigherImmediateData accessed < once / quarter
ArchiveLowestHighest + rehydration delayHoursLong-term compliance retention

About these practice questions

This AI-102 question is part of Courseiva's 945-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.