- A
Use a different OCR API from Azure Cognitive Services.
Why wrong: All Azure OCR APIs have similar limitations on image quality.
- B
Pre-process the image to adjust contrast and brightness before calling the OCR API.
Image pre-processing improves OCR accuracy.
- C
Train a custom OCR model using Azure Custom Vision.
Why wrong: Custom Vision is for object detection, not OCR.
- D
Increase the confidence threshold for text detection.
Why wrong: This does not improve recognition; it only filters low-confidence results.
Quick Answer
The correct approach is to pre-process the image to adjust contrast and brightness before calling the OCR API. This is because Azure AI Vision’s OCR engine relies on clear pixel differentiation to detect and extract text; low-contrast images lack sufficient variation between text and background, causing the API to miss or misread characters. On the AI-102 exam, this scenario tests your understanding that Azure AI Vision is a pre-built service with fixed capabilities—it does not train on your data, so you must optimize the input rather than the model. A common trap is assuming you need to train a custom model or switch to a different API, but the correct solution is always to enhance image quality first using libraries like OpenCV or PIL. Memory tip: think “Garbage in, garbage out”—for OCR, if the image lacks contrast, the API lacks confidence.
AI-102 Implement agentic AI solutions Practice Question
This AI-102 practice question tests your understanding of implement agentic ai solutions. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A company is developing an agent that uses Azure AI Vision to analyze images uploaded by users. The agent must identify objects and read text in images. The team uses the Azure AI Vision API. During testing, the agent fails to read text from images with low contrast. What should the team do to improve optical character recognition (OCR) accuracy for such images?
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
Pre-process the image to adjust contrast and brightness before calling the OCR API.
Option B is correct because Azure AI Vision's OCR API performs best on images with sufficient contrast and brightness. Pre-processing the image (e.g., using OpenCV or PIL to adjust contrast and brightness) enhances text visibility, directly improving OCR accuracy for low-contrast images without changing the API or training a custom model.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
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 a different OCR API from Azure Cognitive Services.
Why it's wrong here
All Azure OCR APIs have similar limitations on image quality.
- ✓
Pre-process the image to adjust contrast and brightness before calling the OCR API.
Why this is correct
Image pre-processing improves OCR accuracy.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Train a custom OCR model using Azure Custom Vision.
Why it's wrong here
Custom Vision is for object detection, not OCR.
- ✗
Increase the confidence threshold for text detection.
Why it's wrong here
This does not improve recognition; it only filters low-confidence results.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may assume Azure Custom Vision can be repurposed for OCR or that adjusting confidence thresholds can fix recognition accuracy, when in fact pre-processing the image is the standard approach to improve OCR results for low-quality inputs.
Trap categories for this question
Similar concept trap
All Azure OCR APIs have similar limitations on image quality.
Detailed technical explanation
How to think about this question
The Azure AI Vision Read API uses a deep-learning-based OCR engine that relies on feature extraction from pixel gradients; low contrast reduces gradient magnitudes, making text regions harder to distinguish from the background. Pre-processing techniques like histogram equalization or adaptive contrast stretching normalize the image's intensity distribution, effectively boosting the signal-to-noise ratio for the OCR model. In real-world scenarios, this step is critical for images captured under poor lighting or with faded text, such as scanned documents or photos of receipts.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Implement agentic AI solutions — study guide chapter
Learn the concepts, then practise the questions
- →
Implement agentic AI solutions practice questions
Targeted practice on this topic area only
- →
All AI-102 questions
988 questions across all exam domains
- →
Microsoft Azure AI Engineer Associate AI-102 study guide
Full concept coverage aligned to exam objectives
- →
AI-102 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related AI-102 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Implement an agentic solution practice questions
Practise AI-102 questions linked to Implement an agentic solution.
Implement computer vision solutions practice questions
Practise AI-102 questions linked to Implement computer vision solutions.
Implement knowledge mining and information extraction solutions practice questions
Practise AI-102 questions linked to Implement knowledge mining and information extraction solutions.
Implement image and video processing solutions practice questions
Practise AI-102 questions linked to Implement image and video processing solutions.
Implement natural language processing solutions practice questions
Practise AI-102 questions linked to Implement natural language processing solutions.
Implement generative AI solutions practice questions
Practise AI-102 questions linked to Implement generative AI solutions.
Implement agentic AI solutions practice questions
Practise AI-102 questions linked to Implement agentic AI solutions.
Implement knowledge mining and document intelligence solutions practice questions
Practise AI-102 questions linked to Implement knowledge mining and document intelligence solutions.
Plan and manage an Azure AI solution practice questions
Practise AI-102 questions linked to Plan and manage an Azure AI solution.
Implement content moderation solutions practice questions
Practise AI-102 questions linked to Implement content moderation solutions.
AI-102 fundamentals practice questions
Practise AI-102 questions linked to AI-102 fundamentals.
AI-102 scenario practice questions
Practise AI-102 questions linked to AI-102 scenario.
Practice this exam
Start a free AI-102 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this AI-102 question test?
Implement agentic AI solutions — This question tests Implement agentic AI solutions — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Pre-process the image to adjust contrast and brightness before calling the OCR API. — Option B is correct because Azure AI Vision's OCR API performs best on images with sufficient contrast and brightness. Pre-processing the image (e.g., using OpenCV or PIL to adjust contrast and brightness) enhances text visibility, directly improving OCR accuracy for low-contrast images without changing the API or training a custom model.
What should I do if I get this AI-102 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
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.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.