Courseiva

AI-102 Practice Question: Implement natural language processing solutions

Your company uses Azure AI Document Intelligence to process invoices. You need to extract the invoice date and total amount. Which model should you use?

⚠ Common exam trap

Many candidates confuse the Layout model's ability to extract text and tables with the specialized field extraction of prebuilt models, leading them to choose the Layout model for invoice data extraction when a purpose-built model exists.

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 is specifically trained on thousands of invoice documents to extract key fields like invoice date, total amount, vendor details, and line items. It uses deep learning models optimized for invoice layouts, providing higher accuracy and structured output for these fields compared to general models.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Read model

    Why it's wrong here

    The Read model returns only printed text lines and words, without semantic fields, so it cannot label an invoice date or total. It tempts because it handles scanned documents, and would be correct for plain OCR of typed text where no field extraction is needed.

  • ✓

    Prebuilt invoice model

    Why this is correct

    The prebuilt invoice model returns structured fields including InvoiceDate and InvoiceTotal, directly satisfying the requirement to extract those two values without custom training. Its pretrained schema covers common invoice layouts, so no labelled dataset or template definition is needed, unlike the general document or custom extraction models.

  • ✗

    Layout model

    Why it's wrong here

    The Layout model extracts text, tables and selection marks with their positions, but assigns no invoice-specific field names. It tempts because it understands document structure, and would be correct for retrieving table content or reading order rather than predefined key-value pairs.

  • ✗

    General document model

    Why it's wrong here

    The general document model extracts key-value pairs only for fields you train it on; it has no built-in invoice date or total fields. It tempts as a flexible custom alternative, and would be correct for a bespoke document type lacking a prebuilt model.

About these practice questions

One of 761 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.