Courseiva

AI-102 Plan and manage an Azure AI solution Practice Question

You need to create a solution that extracts key-value pairs from scanned invoices using Azure AI Document Intelligence. The invoices have varying layouts. Which model should you use?

⚠ Common exam trap

Candidates often confuse the Layout model's ability to extract tables and text with the specific key-value pair extraction needed for invoices, leading them to choose Option A instead of the purpose-built Prebuilt invoice model.

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

✓

Prebuilt invoice model

The Prebuilt invoice model (Option D) is specifically designed to extract key-value pairs, line items, and other structured fields from invoices, even when layouts vary. It is trained on thousands of invoice samples and uses deep learning to handle diverse formats without requiring custom training, making it the correct choice for this scenario.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Layout model

    Why it's wrong here

    The layout model extracts text, tables and selection marks but returns no key-value pair mapping, so invoice fields such as vendor and total remain unstructured. It is intended for documents where structure must be preserved rather than predefined fields extracted.

  • ✗

    Custom extraction model

    Why it's wrong here

    Custom extraction models require labelled training samples per field and layout, so they cannot handle varying invoice layouts without that training data. They are tempting because they suit bespoke forms with unique fields, but the prebuilt invoice model already extracts key-value pairs across varied layouts.

  • ✗

    Read model

    Why it's wrong here

    The Read model returns only raw OCR text and detected lines; it performs no key-value pair extraction, so it cannot satisfy the invoice requirement. It is tempting because it handles varied layouts and scanned documents well, but it is designed for plain text extraction, not structured field identification.

  • ✓

    Prebuilt invoice model

    Why this is correct

    The prebuilt invoice model returns structured key-value pairs for fields such as invoice date, vendor and total, handling the layout variance that custom templates cannot. It satisfies the stem's requirement to extract key-value pairs from scanned invoices without training, since Microsoft's pretrained model already covers common invoice schemas.

About these practice questions

Courseiva writes every AI-102 question from scratch — 761 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 →

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.