AI-102 Plan and manage an Azure AI solution Practice Question
You are using Azure AI Content Safety to moderate user-generated content in a social media app. The solution must detect and block hate speech and self-harm content in real time. Which Content Safety feature should you use?
⚠ Common exam trap
Many candidates confuse severity analysis as a standalone feature, but it is actually a sub-component of text moderation; the question asks for the feature that performs the detection, not the analysis of the detection results.
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
✓
Text moderation
Text moderation is the correct choice because Azure AI Content Safety's text moderation API is specifically designed to detect and block hate speech and self-harm content in real time. It analyzes text for severity levels across multiple categories, including hate and self-harm, and returns a severity score to trigger blocking actions. This directly meets the requirement for real-time detection of these specific content types in user-generated text.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Custom category management
Why it's wrong here
Custom category management lets you define your own content categories, not the built-in hate and self-harm classifiers. It tempts because it extends moderation, but the scenario needs the prebuilt harm categories, which text moderation detects and blocks.
- ✗
Severity analysis
Why it's wrong here
Severity analysis assigns graded severity levels to content already classified, rather than detecting the hate and self-harm categories themselves. It tempts because it refines moderation decisions, but the requirement is category detection and blocking, which text moderation performs.
- ✗
Image moderation
Why it's wrong here
Image moderation analyses visual content for harmful material, so it cannot inspect the text of user posts, which is what hate speech and self-harm detection requires. It is tempting because it genuinely addresses user-generated content, and it would be the right choice if the app needed to block violent or sexual imagery in uploaded photos.
- ✓
Text moderation
Why this is correct
Text moderation applies Azure AI Content Safety's classification models to written user content, returning severity scores for hate and self-harm categories so the app can block them in real time. It directly satisfies the stated requirement to detect and block those two harm types.
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.