AI-900 Practice Question: Describe features of generative AI workloads on Azure
What is the purpose of Azure AI Content Safety in the context of generative AI deployments?
⚠ Common exam trap
Watch out — candidates often confuse Azure AI Content Safety with general AI quality or language services, but the exam specifically tests its role as a safety filter for harmful content in generative AI pipelines, not for performance, accuracy, or language correctness.
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
✓
To detect and filter harmful content in AI prompts and responses
Azure AI Content Safety is a service designed to detect and filter harmful content, such as hate speech, violence, self-harm, and sexually explicit material, in both user prompts and AI-generated responses. In generative AI deployments, this ensures that the model's outputs comply with safety policies and regulatory requirements, preventing the dissemination of offensive or dangerous content.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
To compress generated content for faster delivery
Why it's wrong here
Compressing generated content for faster delivery is a performance optimization concern focused on token reduction, response caching, or streaming compression, not on safety. Azure AI Content Safety neither condenses nor re-encodes the content; it inspects the semantic and visual elements of a prompt or response to identify risk categories and severity. Reducing latency and bandwidth usage is orthogonal to blocking harmful material, so this option misidentifies the service's fundamental purpose.
- ✓
To detect and filter harmful content in AI prompts and responses
Why this is correct
Azure AI Content Safety is specifically designed to detect and filter harmful content in generative AI prompts and responses. It classifies text and images into categories such as hate speech, sexual content, violence, and self-harm, and returns severity scores so applications can block, flag, or warn in real time. When integrated with Azure OpenAI, content filters and prompt shields apply these detections to both user inputs and model outputs, making it a core component of responsible AI guardrails.
- ✗
To measure the quality and accuracy of AI-generated responses
Why it's wrong here
Measuring the quality and accuracy of AI-generated responses is a separate evaluation discipline that uses metrics such as groundedness, relevance, coherence, and fluency to judge how well the output meets the user's intent. Azure AI Content Safety, in contrast, scans text for safety classifications like hate, violence, sexual content, and self-harm, assigning severity levels rather than correctness scores. A response can be factually accurate yet still contain harmful language, so quality metrics and safety filtering solve different problems.
- ✗
To ensure AI content is written in the correct language
Why it's wrong here
Ensuring AI content is written in the correct language is a natural language generation concern involving grammar, spelling, locale, and idiomatic phrasing, and is not part of content safety. Azure AI Content Safety works in a language-agnostic manner: its multilingual classifiers detect offensive or dangerous content regardless of whether the text is grammatically proper. Language compliance is handled by translation services, model instructions, or post-processing localization, not by the safety moderation pipeline.
Go deeper
Related to this question
Learn chapter
Azure Machine Learning Studio
Key term
Azure OpenAI Service
Azure OpenAI Service is a cloud platform from Microsoft that lets developers use powerful artificial intelligence models, like GPT-4, to build applications that can understand and generate human-like text, code, images, and more.
Key term
Service
A service is a software component or system that performs a specific function and is available to be used by other programs or users over a network.
About these practice questions
Courseiva writes every AI-900 question from scratch — 985 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-900 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-900 exam.