AI-102 Implement computer vision solutions Practice Question
A company uses Azure Computer Vision to moderate user-generated content. The solution must detect adult content and flag it. Which API should you call?
⚠ Common exam trap
Test-takers frequently confuse the Analyze API's 'Adult' feature with the 'Description' or 'Tags' features, assuming that general image analysis can detect adult content, but only the explicit 'Adult' visualFeature parameter provides the specialized moderation scores.
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
✓
Analyze API with visualFeatures set to 'Adult'
The Analyze API with the visualFeatures parameter set to 'Adult' is the correct choice because Azure Computer Vision's Analyze Image operation includes an 'Adult' category that specifically detects adult, racy, and gory content in images. This API returns a confidence score (0 to 1) for each category, allowing the solution to flag content based on a threshold. The other APIs do not provide adult content moderation capabilities.
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 optical character recognition, extracting printed and handwritten text from images, so it cannot classify adult content. It is tempting because it also processes images, but its purpose is text extraction — the correct choice for digitising documents or scanned forms, not for content moderation.
- ✓
Analyze API with visualFeatures set to 'Adult'
Why this is correct
The Analyze API accepts visualFeatures, and setting it to 'Adult' returns adult and racy classifications with confidence scores, directly satisfying the requirement to detect and flag adult content. Other features such as Tags or Description cannot return moderation ratings.
- ✗
Detect API
Why it's wrong here
Object detection.
- ✗
Describe API
Why it's wrong here
The Describe API returns a natural-language caption of an image's visible content, so it cannot output the adult/racy classification scores the moderation requirement demands. It is tempting because it summarises image content, which suits accessibility or captioning scenarios, but the Image Analysis category classification is what flags adult material.
Go deeper
Related to this question
About these practice questions
This AI-102 question is part of Courseiva's 761-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 →
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.