Courseiva

Azure AI Content Safety Policy Verification

A company is building a chatbot using Azure OpenAI Service to answer customer queries. The chatbot must not generate harmful or offensive content. Which Azure AI service should be integrated to filter inappropriate content?

⚠ Common exam trap

Test-takers frequently confuse Azure Bot Service's ability to 'manage conversations' with built-in content filtering, but it actually lacks native moderation and requires explicit integration with a dedicated content safety service.

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 is the correct service because it provides built-in content moderation APIs that detect and filter harmful or offensive text and images, including hate speech, violence, self-harm, and sexual content. Integrating this service with the Azure OpenAI chatbot ensures that user inputs and model outputs are screened in real time, preventing the generation of inappropriate responses.

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 Bot Service

    Why it's wrong here

    Azure Bot Service hosts and channels conversational bots; it performs no content moderation of model output. It is tempting because the chatbot itself runs on a bot framework, yet the requirement is prompt and completion filtering, which Azure AI Content Safety provides through categories and severity thresholds.

  • ✗

    Azure Cognitive Search

    Why it's wrong here

    Azure Cognitive Search indexes and retrieves documents for grounding responses; it applies no harm classification to prompts or completions. It is tempting because retrieval-augmented chatbots rely on it, but the stated requirement is blocking offensive output, which Azure AI Content Safety performs.

  • ✓

    Azure AI Content Safety

    Why this is correct

    Azure AI Content Safety provides dedicated moderation models that detect harmful, violent, hateful and sexual content in both prompts and completions. Integrating it filters inappropriate generated output, satisfying the requirement that the chatbot must not produce offensive responses.

  • ✗

    Azure Form Recognizer

    Why it's wrong here

    Form Recognizer extracts structured fields from documents such as invoices and forms; it does not inspect generated text for harmful content. It is tempting when the chatbot must parse uploaded paperwork, but filtering offensive completions requires Azure AI Content Safety's text moderation categories instead.

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 →

How Courseiva writes practice questions · Editorial policy

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.