Moderate Adult Content Using Azure AI Computer Vision
You need to detect if a photo contains adult or racy content. Which Azure AI Computer Vision feature should you use?
Quick Answer
Detecting adult or racy content is one of several distinct visual features the Analyze Image API can be asked to evaluate, and it has to be explicitly requested — passing the 'adult' parameter when calling the API tells Computer Vision to run this specific classification alongside whatever other analysis is requested, such as tagging or object detection. The API returns both a boolean flag indicating whether the content was classified as adult or racy and a confidence score for that classification, giving a moderation system enough information to decide not just whether to act but how confidently to act, which matters for setting an appropriate threshold rather than treating every borderline case identically. This is Computer Vision's answer to content moderation for still images specifically, distinct from Content Safety, which handles a broader range of harm categories including text, or Video Indexer's people detection, which tracks individuals rather than classifying image content. Any scenario asking specifically to flag adult or racy imagery, as opposed to a broader set of harmful content categories or a different media type, is pointing at the Analyze Image API's adult content parameter.
⚠ Common exam trap
It's easy for candidates to confuse the Tag Image API's generic object tagging with the specialized adult content detection feature, assuming tags like 'swimsuit' or 'underwear' would suffice, but only the Analyze Image API with the 'adult' parameter provides the explicit moderation scores required by the question.
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 Image API with the 'adult' parameter
The Analyze Image API with the 'adult' parameter is the correct feature because it specifically detects adult, racy, and gory content in images. When you call the Analyze Image API and include the 'adult' visual feature, Azure AI Computer Vision returns a boolean flag and a confidence score for adult and racy content classification, enabling content moderation.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Describe Image API
Why it's wrong here
Describe Image generates natural language descriptions.
- ✗
OCR API
Why it's wrong here
OCR extracts printed text.
- ✓
Analyze Image API with the 'adult' parameter
Why this is correct
This parameter enables adult content detection.
- ✗
Tag Image API
Why it's wrong here
Tag Image returns a list of tags.
Go deeper
Related to this question
About these practice questions
One of 945 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 →
Same concept, more angles
1 more way this is tested on AI-102
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company wants to moderate user-generated images for adult content. Which Azure AI Vision feature should they use?
easy- A.Custom Vision with a custom adult classifier
- B.Face API
- ✓ C.Analyze Image API with moderation categories
- D.OCR
Why C: The Analyze Image API in Azure AI Vision includes built-in moderation categories for detecting adult, racy, and gory content in images. This feature is specifically designed for content moderation without requiring custom training, making it the correct choice for moderating user-generated images for adult content.
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.