AI-102 Implement computer vision solutions Practice Question
A company wants to extract key-value pairs from scanned invoices using Azure AI. Which service should they use?
⚠ Common exam trap
Watch out — candidates often confuse the Read API or OCR API with Document Intelligence because all three involve text extraction, but only Document Intelligence provides key-value pair extraction and document understanding capabilities.
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
✓
Azure AI Document Intelligence
Azure AI Document Intelligence (formerly Form Recognizer) is the correct choice because it is specifically designed to extract key-value pairs, tables, and structured data from scanned documents like invoices. Unlike the Read API or OCR API, which only return raw text or OCR output, Document Intelligence uses prebuilt models (e.g., 'prebuilt-invoice') that understand the semantic layout of invoices, enabling direct extraction of fields such as invoice number, date, and total amount.
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 API
Why it's wrong here
The Read API performs printed and handwritten text recognition, returning lines and words without semantic field mapping, so invoice keys and values are not paired. It fits general document digitisation; structured invoice fields need Azure AI Document Intelligence's prebuilt invoice model.
- ✗
Custom Vision
Why it's wrong here
Custom Vision classifies and detects objects in images; it cannot read invoice text or pair keys with values. It suits scenarios such as identifying product defects or logos in photos, whereas invoice field extraction requires Azure AI Document Intelligence's prebuilt invoice model.
- ✗
OCR API
Why it's wrong here
The OCR API returns recognised text and bounding boxes, not structured field pairs, so invoice keys and values are not extracted. It suits digitising plain documents; key-value extraction from invoices requires the prebuilt invoice model in Azure AI Document Intelligence.
- ✓
Azure AI Document Intelligence
Why this is correct
Azure AI Document Intelligence's prebuilt invoice model extracts key-value pairs such as invoice number, date, and total directly from scanned documents, satisfying the requirement for structured field extraction. Its OCR and layout analysis handle scanned images, unlike generic vision or language services that lack invoice-specific field mapping.
Go deeper
Related to this question
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 →
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.