AI-102 Plan and manage an Azure AI solution Practice Question
A developer is tasked with integrating Azure OpenAI Service into an application that generates product descriptions. The developer needs to ensure that the generated content does not contain offensive language. Which Azure AI service should be used in addition to Azure OpenAI?
⚠ Common exam trap
It's easy for candidates to confuse Azure AI Language's text analytics features (like sentiment analysis) with content moderation, but Azure AI Language does not include dedicated offensive language filtering, which is a distinct capability of Azure AI Content Safety.
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
✓
Azure AI Content Safety
Azure AI Content Safety (D) is the correct service because it provides built-in content moderation capabilities that can detect and filter offensive, inappropriate, or harmful language in text and images. By integrating Azure AI Content Safety with Azure OpenAI, the developer can automatically screen generated product descriptions for profanity, hate speech, or other offensive content before they are displayed to users, ensuring compliance with content 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.
- ✗
Azure AI Search
Why it's wrong here
Azure AI Search indexes and retrieves documents; it performs no content moderation, so it cannot detect offensive language in generated descriptions. It is tempting because Search is the standard companion for retrieval-augmented generation, and would be correct when grounding Azure OpenAI responses in an indexed knowledge base.
- ✗
Azure AI Vision
Why it's wrong here
Azure AI Vision extracts information from images and video, offering no text moderation capability, so it cannot screen generated descriptions for offensive language. It is tempting because Vision is the natural companion service when generated content includes imagery, and would be correct for captioning, OCR or image classification alongside Azure OpenAI.
- ✗
Azure AI Language
Why it's wrong here
Azure AI Language provides sentiment, entity and key-phrase extraction rather than a profanity or offensive-content classifier, so it cannot reliably flag abusive generated text. It is tempting because Language is the text-analytics service and would be correct for summarisation, entity recognition or sentiment scoring of the generated descriptions.
- ✓
Azure AI Content Safety
Why this is correct
Azure AI Content Safety provides dedicated hate, violence, sexual and self-harm classifiers that screen generated text after Azure OpenAI produces it, satisfying the requirement to block offensive language that the model's own filters may not catch.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AI-102 question from scratch — 761 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.