Courseiva
Implement generative AI solutionseasyMultiple ChoiceObjective-mapped

AI-102 Implement generative AI solutions Practice Question

You are developing a generative AI application that uses Azure OpenAI Service. You want to ensure that the application does not generate offensive content. Which Azure service should you use?

⚠ Common exam trap

Test-takers frequently confuse Azure AI Content Safety with Azure AI Language's moderation features, but Azure AI Language does not include a dedicated content safety API for offensive content detection, whereas Content Safety is purpose-built for this task.

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 is specifically designed to detect and filter offensive, inappropriate, or harmful content in text and images. For a generative AI application using Azure OpenAI, this service can be integrated to review prompts and completions in real time, ensuring that generated outputs comply with content policies and do not contain hate speech, violence, or other offensive material.

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

    Why it's wrong here

    Azure AI Bot Service is for building conversational agents, not content safety.

  • Azure AI Content Safety

    Why this is correct

    Azure AI Content Safety is designed to detect and filter offensive or harmful content.

  • Azure AI Language

    Why it's wrong here

    Azure AI Language provides text analytics and NLP, not content safety filtering.

  • Azure AI Search

    Why it's wrong here

    Azure AI Search is a search service, not for content moderation.

About these practice questions

Courseiva writes every AI-102 question from scratch — 945 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 →

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.