Question 500 of 988
Implement generative AI solutionseasyMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is Azure AI Content Safety, as it is the dedicated Azure service for filtering harmful or offensive content in text and images within AI applications. This service provides pre-built APIs that analyze content across four severity-based categories—hate, self-harm, sexual, and violence—allowing you to enforce safety policies and prevent an Azure OpenAI chat application from generating inappropriate responses. On the AI-102 exam, this question tests your ability to distinguish between Azure AI services: while Azure OpenAI provides the model, Azure AI Content Safety is the moderation layer you configure to filter output. A common trap is confusing this with Azure Cognitive Services’ Content Moderator, but Content Safety is the newer, purpose-built service for generative AI scenarios. To remember, think of it as the “safety guardrail” that sits between the model and the user, ensuring every response passes a severity check before delivery.

AI-102 Implement generative AI solutions Practice Question

This AI-102 practice question tests your understanding of implement generative ai solutions. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You are developing a chat application that uses Azure OpenAI Service to answer customer queries. The solution must ensure that the model does not generate harmful or offensive content. Which Azure AI service should you configure?

Question 1easymultiple choice
Full question →

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

Option C is correct because Azure AI Content Safety is specifically designed to detect and filter harmful or offensive content in text and images, making it the appropriate service to integrate with an Azure OpenAI chat application to enforce content safety policies. It provides APIs for content moderation, including severity-based filtering for hate, self-harm, sexual, and violence categories, which directly addresses the requirement to prevent the model from generating harmful output.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 builds conversational agents, not content safety.

  • Azure AI Search

    Why it's wrong here

    Azure AI Search provides information retrieval, not content filtering.

  • Azure AI Content Safety

    Why this is correct

    Azure AI Content Safety provides content moderation to filter harmful content.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Azure AI Language

    Why it's wrong here

    Azure AI Language provides NLP capabilities, not content moderation.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often confuse Azure AI Language's text analytics capabilities (like sentiment analysis) with content safety, assuming that language understanding inherently includes harm detection, but Azure AI Content Safety is a separate, specialized service for content moderation.

Detailed technical explanation

How to think about this question

Azure AI Content Safety uses multi-class classification models trained on large datasets to assign severity scores (0-7) across four harm categories: hate, self-harm, sexual, and violence. When integrated with Azure OpenAI, it can be used as a post-processing filter or as a pre-processing guardrail via the 'content_filter' configuration in the API, allowing developers to set block thresholds and receive detailed moderation results. In a real-world scenario, this service is critical for compliance with responsible AI principles, especially in customer-facing chat applications where offensive outputs could lead to reputational damage or regulatory penalties.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AI-102 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Implement an agentic solution practice questions

Practise AI-102 questions linked to Implement an agentic solution.

Implement computer vision solutions practice questions

Practise AI-102 questions linked to Implement computer vision solutions.

Implement knowledge mining and information extraction solutions practice questions

Practise AI-102 questions linked to Implement knowledge mining and information extraction solutions.

Implement image and video processing solutions practice questions

Practise AI-102 questions linked to Implement image and video processing solutions.

Implement natural language processing solutions practice questions

Practise AI-102 questions linked to Implement natural language processing solutions.

Implement generative AI solutions practice questions

Practise AI-102 questions linked to Implement generative AI solutions.

Implement agentic AI solutions practice questions

Practise AI-102 questions linked to Implement agentic AI solutions.

Implement knowledge mining and document intelligence solutions practice questions

Practise AI-102 questions linked to Implement knowledge mining and document intelligence solutions.

Plan and manage an Azure AI solution practice questions

Practise AI-102 questions linked to Plan and manage an Azure AI solution.

Implement content moderation solutions practice questions

Practise AI-102 questions linked to Implement content moderation solutions.

AI-102 fundamentals practice questions

Practise AI-102 questions linked to AI-102 fundamentals.

AI-102 scenario practice questions

Practise AI-102 questions linked to AI-102 scenario.

Practice this exam

Start a free AI-102 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AI-102 question test?

Implement generative AI solutions — This question tests Implement generative AI solutions — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Azure AI Content Safety — Option C is correct because Azure AI Content Safety is specifically designed to detect and filter harmful or offensive content in text and images, making it the appropriate service to integrate with an Azure OpenAI chat application to enforce content safety policies. It provides APIs for content moderation, including severity-based filtering for hate, self-harm, sexual, and violence categories, which directly addresses the requirement to prevent the model from generating harmful output.

What should I do if I get this AI-102 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

2 more ways this is tested on AI-102

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. 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?

easy
  • A.Azure AI Bot Service
  • B.Azure AI Content Safety
  • C.Azure AI Language
  • D.Azure AI Search

Why B: Option B is correct because Azure AI Content Safety provides content filtering and moderation for harmful content. Option A is wrong because Azure AI Language is for NLP tasks, not content safety. Option C is wrong because Azure AI Search is for indexing. Option D is wrong because Azure AI Bot Service is for building chatbots, not content safety.

Variation 2. You are developing a generative AI application that must comply with responsible AI principles. Which Azure AI service should you use to detect and filter harmful content in both input prompts and output responses?

easy
  • A.Microsoft Purview
  • B.Azure AI Content Safety
  • C.Azure OpenAI Service
  • D.Azure AI Language

Why B: Option D is correct because Azure AI Content Safety provides content filtering for harmful categories. Option A is wrong because Azure OpenAI Service provides the model, not content safety. Option B is wrong because Azure AI Language offers moderation APIs but Content Safety is dedicated. Option C is wrong because Microsoft Purview is for data governance, not content safety.

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.