easyMultiple Choice
AI-102 Practice Question: A company uses Azure Content Moderator to…
A company uses Azure Content Moderator to moderate text in a chat application. They want to automatically reject messages that contain profanity or personal data. Which API should they use?
⚠ Common exam trap
Many candidates confuse the Review API with the moderation APIs, not realizing that the Review API is for manual review workflows rather than automated content detection.
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 API
The Text Moderation API (D) is the correct choice because it is specifically designed to scan text content for profanity, personally identifiable information (PII), and other unwanted text patterns. This API returns a moderation score and a list of detected terms, enabling automated rejection of messages that violate the defined policies.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Review API
Why it's wrong here
The Review API creates human moderation workflows for flagged content; it does not automatically reject messages on profanity or PII detection. It is tempting because it is part of Content Moderator and handles text review, but it suits scenarios requiring human reviewers to approve or reject items rather than automated enforcement.
- ✗
Video Moderation API
Why it's wrong here
The Video Moderation API analyses video frames and audio for adult or racy content, so it cannot evaluate chat text for profanity or personal data. It is tempting within Content Moderator's suite, but it is the correct choice when scanning uploaded video for visual and auditory moderation signals.
- ✗
Image Moderation API
Why it's wrong here
The Image Moderation API scans images for adult, racy, or violent content, so it cannot detect profanity or personal data in chat text. It is tempting as another Content Moderator endpoint, but it is correct when moderating user-uploaded pictures rather than textual messages.
- ✓
Text Moderation API
Why this is correct
The Text Moderation API screens text content and returns classification for profanity and personally identifiable information, letting the application reject offending messages automatically. This satisfies the requirement to detect both categories in chat text, unlike image moderation or the review and list management APIs.
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.