1.4 Responsible AI Tools and Practices on Azure

Key Takeaways

  • Azure AI Content Safety detects harmful content in text and images, including hate speech, violence, sexual content, and self-harm.
  • Azure OpenAI Service includes built-in content filters that scan both user prompts and model responses in real time.
  • Azure Machine Learning Responsible AI dashboard provides tools for error analysis, fairness assessment, model interpretability, and causal analysis.
  • Microsoft publishes Transparency Notes for all Azure AI services that document capabilities, limitations, and responsible use guidelines.
  • The AI-900 exam tests your awareness of these tools and when they apply, not your ability to configure them.
Last updated: June 2026

Quick Answer: Azure provides specific tools for responsible AI: Azure AI Content Safety for detecting harmful content, built-in content filters in Azure OpenAI Service, the Responsible AI dashboard in Azure Machine Learning for model analysis, and Transparency Notes that document service capabilities and limitations.

Azure AI Content Safety

Azure AI Content Safety is a dedicated service for detecting potentially harmful content in text and images. It uses classification models to analyze content across four severity levels (safe, low, medium, high) for four categories:

CategoryWhat It DetectsExample
HateContent promoting discrimination or violence against groupsSlurs, dehumanizing language
ViolenceContent describing physical harm, threats, or violent actsGraphic descriptions of violence
SexualSexually explicit or suggestive contentAdult content, suggestive language
Self-HarmContent related to self-inflicted harmInstructions for self-harm

How Content Safety Works

  1. Input text or image is submitted to the Content Safety API
  2. The service classifies the content across all four categories
  3. Each category receives a severity score from 0 (safe) to 6 (high severity)
  4. Your application uses the scores to take action (allow, flag, block)

Azure AI Content Safety also provides:

  • Prompt Shields — detect jailbreak attempts in generative AI prompts
  • Groundedness Detection — verify that AI-generated responses are grounded in source data
  • Protected Material Detection — identify content that may match copyrighted material

Content Filters in Azure OpenAI Service

Azure OpenAI Service includes built-in content filters that automatically scan:

  • User prompts (input) — before they reach the model
  • Model responses (output) — before they are returned to the user

The default content filter configuration blocks content rated medium or higher in all four categories (hate, violence, sexual, self-harm). Organizations can customize filter thresholds based on their use case:

ConfigurationPromptsCompletionsUse Case
DefaultBlock medium+Block medium+General-purpose applications
StrictBlock low+Block low+Healthcare, education, children's apps
RelaxedBlock high onlyBlock high onlyCreative writing, research (requires approval)

On the Exam: Know that Azure OpenAI Service has content filters by DEFAULT — you do not need to enable them separately. Questions may test whether you understand that both prompts AND responses are filtered.

Responsible AI Dashboard in Azure Machine Learning

The Responsible AI dashboard is a tool in Azure Machine Learning that helps data scientists and ML engineers understand and improve their models:

ComponentWhat It DoesWhy It Matters
Error AnalysisIdentifies where your model makes the most errorsFind and fix systematic failures
Fairness AssessmentMeasures model performance across demographic groupsDetect and mitigate bias
Model InterpretabilityExplains which features drive predictionsBuild trust and transparency
Causal AnalysisDetermines what causes specific outcomesUnderstand cause-and-effect, not just correlation
Counterfactual AnalysisShows what would need to change for a different predictionHelp users understand decisions

Transparency Notes

Microsoft publishes Transparency Notes for all Azure AI services. These documents provide:

  • What the service can and cannot do — clearly defined capabilities and limitations
  • Intended use cases — scenarios where the service is designed to perform well
  • Limitations and failure modes — known weaknesses and edge cases
  • Best practices for responsible use — guidelines for ethical deployment
  • Data handling practices — how training data was collected and used

Transparency Notes are available on Microsoft Learn for every Azure AI service.

Responsible AI in Practice: The AI-900 Perspective

For the AI-900 exam, you need to know:

  1. What responsible AI tools exist on Azure (Content Safety, content filters, Responsible AI dashboard)
  2. When to use them (harmful content → Content Safety; model bias → Fairness Assessment; explainability → Model Interpretability)
  3. The six principles and how they map to Azure tools
  4. That Transparency Notes document service capabilities and limitations
Responsible AI PrincipleAzure Tool / Practice
FairnessResponsible AI dashboard — Fairness Assessment
Reliability and SafetyContent filters, testing, monitoring
Privacy and SecurityRBAC, encryption, managed identities, PII detection
InclusivenessAccessibility testing, diverse data, multi-language support
TransparencyTransparency Notes, Model Interpretability, explanations
AccountabilityAI governance policies, human-in-the-loop, audit trails

On the Exam: You will NOT be asked to configure these tools. The AI-900 tests awareness — knowing that Azure AI Content Safety exists and what it does, that Azure OpenAI has built-in content filters, and that Transparency Notes are available for AI services.

Test Your Knowledge

Which Azure service is specifically designed to detect harmful content such as hate speech and violence in text and images?

A
B
C
D
Test Your Knowledge

In Azure OpenAI Service, content filters scan:

A
B
C
D
Test Your Knowledge

What is the purpose of Microsoft's Transparency Notes for Azure AI services?

A
B
C
D
Test Your Knowledge

Which component of the Azure Machine Learning Responsible AI dashboard helps identify bias in model predictions across demographic groups?

A
B
C
D

Content Safety Severity Scale

A detail worth fixing in your memory is how Azure AI Content Safety reports results. Each of the four harm categories (hate, violence, sexual, self-harm) is scored on a severity scale, and your application chooses a threshold for action.

SeverityLabelTypical Action
0SafeAllow
2LowAllow or log
4MediumFlag for review or block
6HighBlock

For text, severity is reported on a 0-7 scale; for images, it is reported in steps (0, 2, 4, 6). The point for the exam is the concept: content is classified by category and graded by severity, and the application — not the service — decides the allow/flag/block policy. The default Azure OpenAI filter blocks medium and high in every category for both prompts and completions.

Generative-AI Guardrails Beyond Filtering

Responsible generative AI on Azure layers several protections that the AI-900 now emphasizes because generative AI is the heaviest domain:

  • Prompt Shields detect jailbreak and indirect prompt-injection attacks — user input crafted to make the model ignore its safety instructions.
  • Groundedness detection checks whether a model's answer is actually supported by the source documents you supplied (a defense against hallucination in retrieval-augmented generation).
  • Protected material detection flags output that closely matches known copyrighted text or code.
  • Risk and safety evaluations in Azure AI Foundry let teams test a model against harmful-content and jailbreak prompts before shipping.

On the Exam: Match the tool to the risk. Hallucinated answers → groundedness detection. "Ignore your previous instructions" attacks → Prompt Shields. Copyright leakage → protected material detection. Biased predictions in a tabular model → the Responsible AI dashboard's Fairness Assessment.

How the Six Principles Map to Concrete Azure Capabilities

The exam rewards you for connecting an abstract principle to a real Azure feature. Beyond the table above, remember these one-line pairings:

  • Fairness → Fairlearn / Fairness Assessment in the Responsible AI dashboard surfaces performance gaps between demographic groups.
  • Reliability and safety → content filters, model monitoring for drift, and staged testing before high-stakes deployment.
  • Privacy and security → Microsoft Entra role-based access control, customer-managed encryption keys, PII detection in Azure AI Language, and the data-residency guarantee that Azure OpenAI does not use your prompts to train the base models.
  • Inclusiveness → multi-language support, immersive reader, and accessibility testing with diverse users.
  • Transparency → Transparency Notes, model interpretability (feature importance), and disclosing AI involvement to users.
  • Accountability → an AI governance board, human-in-the-loop review, and audit logging of decisions.

On the Exam: Remember that Microsoft commits, for Azure OpenAI Service, that your data and prompts are not used to train the underlying foundation models and are not shared with other customers — this supports the privacy and security principle and is a common true/false statement.