Lesson 3 of 26 · see all lessons
Start here: the exam, Python basics and responsible AI (skill area 1, 40-45%)
AI models: how they work, choosing and deploying (skill area 1)
AI workloads: text, speech, vision and extraction (skill area 1)
Generative AI apps and agents in Foundry (skill area 2, 55-60%)
Text, speech, vision and extraction apps in Foundry (skill area 2)
- 17. Building a text analysis app
- 18. Building speech apps: spoken prompts and Azure Speech
- 19. Building vision apps: images in prompts and generated images
- 20. Extracting information with Content Understanding: documents and forms
- 21. Content Understanding for images, audio and video, and a small extraction app
Final review and four mock exams
18 min
Responsible AI: the six principles in practice
Learn Microsoft's six responsible AI principles and spot which one a scenario is about.
By the end of this lesson you can
- Name Microsoft's six responsible AI principles and explain each in one sentence
- Match a scenario to the principle it puts at risk, and pick a fitting mitigation
- Tell fairness from inclusiveness, and transparency from accountability
- Describe how guardrails in Foundry reduce harmful content
From earlier lessons · 1 of 2
Fernhill's app must reach Foundry without any secret stored in code or settings. Which sign-in fits?
Pick one answer.
From earlier lessons · 2 of 2
In response = openai.responses.create(model=model, input=prompt), where is the model's reply?
Pick one answer.
Fernhill's owner has a plan: an AI model that decides which customers get refunds, a chatbot that answers in a human name, and a voice assistant for the blind customer. Each one could help. Each one could also go wrong in a different way. Microsoft sorts those ways into six principles, and AI-901 asks you to tell them apart.
Responsible AI and the six principles
Exam depth: know it cold.
Responsible AI means building AI systems with guardrails that reduce the risk of harmful, illegal or offensive output or actions. It applies from the first idea, through design and build, and into daily operation.
Microsoft bases its approach on six principles:
- Fairness
- Reliability and safety
- Privacy and security
- Inclusiveness
- Transparency
- Accountability
Learn the exact names. The exam uses them word for word, and "reliability and safety" and "privacy and security" each count as one principle.
Fairness
Exam depth: know it cold.
Fairness means an AI system treats people fairly: people with similar circumstances get similar results.
- The risk: models learn from data chosen by people. That data can carry bias, an unfair lean for or against a group. The model then repeats it.
- Example: an AI admissions system rejects more applicants of one background with the same grades.
- Mitigations: reduce bias in training data, and test outcomes across groups such as age, gender or ethnicity before and after launch.
Reliability and safety
Exam depth: know it cold.
Reliability and safety means the system works as designed, responds safely to unexpected conditions, and resists harmful manipulation.
- The risk: AI is based on probabilities, so it is never right every time. A confident wrong answer can cause real harm.
- Example: a warehouse robot that uses vision to pick up objects could damage things it misidentifies.
- Mitigations: thorough testing, including rare cases. Act only above a confidence threshold, a minimum certainty score. Add content filters and human review for high-stakes output.
Fernhill's AI flags bookings as possible fraud and cancels them. You require it to cancel only when its confidence score is above 0.9, and send the rest to a person. Which principle does this support most directly?
Pick one answer.
Privacy and security
Exam depth: know it cold.
Privacy and security means the system protects personal and business data, and can't be used to reveal it.
- The risk: training data and prompts can contain personal details. A model might leak them, or attackers might target the system.
- Example: an airport face-recognition gate keeps travellers' photos long after they're needed.
- Mitigations: collect only the data you need, with consent. Delete it when it's no longer required. Restrict who can view it, encrypt it, and keep the training data secure.
Inclusiveness
Exam depth: know it cold.
Inclusiveness means AI should benefit everyone and not exclude any group of users.
- The risk: a design that only works for some people. Examples are voice-only apps for people with hearing loss, or screens with no spoken option for blind users.
- Example: a voice assistant with no text captions shuts out deaf users.
- Mitigations: design for accessibility from the start. Offer more than one way in, such as speech and text. Consider different languages and levels of technical skill.
Fernhill adds spoken itineraries for its blind customer and text captions for customers with hearing loss. Which principle is Fernhill applying?
Pick one answer.
Transparency
Exam depth: know it cold.
Transparency means people understand how the AI system works, what it's for and what its limits are.
- The risk: AI can seem like magic. People may trust it too much, or not know they're dealing with AI at all.
- Example: a bank uses AI to approve loans but never tells applicants, or can't explain a rejection.
- Mitigations: tell users when they're talking to AI. Document what the system can and can't do. Describe the kind of data it was trained on, without giving away confidential details. Explain individual decisions where possible, which is called interpretability.
Accountability
Exam depth: know it cold.
Accountability means the people and organizations that build and run an AI system answer for what it does. The AI is never the final authority on decisions that affect people's lives.
- The risk: nobody owns the system, so nobody fixes its mistakes. "The AI decided" becomes an excuse.
- Example: a hiring model rejects candidates and no one can say who approved its use.
- Mitigations: a governance framework: named owners, review before launch, logs of who changed what and when, and human control over autonomous systems.
For this statement, select Yes if it is true. Otherwise, select No. "Under the accountability principle, a well-tested AI system can be the final authority on decisions about people."
Pick one answer.
Decision rule: find the word that names what could go wrong, then pick the principle.
| If the scenario says... | Principle |
|---|---|
| Bias, one group approved less, same qualifications. | Fairness. |
| Errors, unexpected input, confidence threshold, harm. | Reliability and safety. |
| Personal data, consent, delete images, leak, attack. | Privacy and security. |
| Disabilities, accessible, captions, all users. | Inclusiveness. |
| Explain decisions, disclose AI use, limitations. | Transparency. |
| Governance, who is responsible, human oversight. | Accountability. |
Match
Match each Fernhill situation to the principle it is mainly about
Pick an item on the left, then its match on the right.
Guardrails: content filters in Microsoft Foundry
Exam depth: recognize it.
Generative AI can produce harmful text or images. Content filters are one way to reduce that risk. In the current Foundry portal they're part of guardrails: sets of controls that say what risk to detect, where to scan for it, and how to respond.
Guardrails are powered by Azure AI Content Safety, a service that detects harmful content written by users or by AI.
- Four core harm categories: hate and fairness, sexual, violence, and self-harm.
- Each is scored by severity: safe, low, medium or high.
- The default blocks medium and high severity, in both prompts and replies.
- Prompt shields detect jailbreak attempts, prompts that try to trick the model into ignoring its rules.
Older study material calls these settings "content filters" only.
Fernhill's public chatbot must block violent or hateful replies, and detect users who try to trick it into ignoring its rules. What should you configure?
Pick one answer.
Exam-style practice
An insurer's AI rejects a claim. The customer asks why, and the insurer shows which factors drove the decision. Which principle does this support?
Pick one answer.
A hotel chain uses face recognition for check-in. The solution must delete guests' photos once they check out and limit who can view them. Which principle is this?
Pick one answer.
Worth keeping
- Six principles: fairness, reliability and safety, privacy and security, inclusiveness, transparency, accountability.
- Unequal decisions = fairness. Can't use it at all = inclusiveness.
- Explaining and disclosing = transparency. Owning and governing = accountability.
- Confidence thresholds and testing = reliability and safety. Consent and deletion = privacy and security.
- Foundry guardrails, powered by Azure AI Content Safety, filter four harm categories and detect jailbreaks.
Reliability means AI is never right every time. But why? A language model can write a confident answer that's completely made up. Lesson 4 opens the box: tokens, embeddings and next-word prediction.
Leaderboard
Loading…
50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.
Embed this practice on your site
Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.
Report a copyright problem with this lesson
Sources for this lesson (9)
Each fact in the lesson is marked with the number of the page it comes from.
- [2]Microsoft Learn: Study guide for Exam AI-901: Microsoft Azure AI Fundamentals
- [13]Microsoft Learn: What is Responsible AI?
- [18]Microsoft Learn: Quickstart: Get started with Microsoft Foundry SDK
- [23]Microsoft Learn: Authentication and authorization in Microsoft Foundry
- [26]Microsoft Learn: Responsible AI (Introduction to AI concepts)
- [27]Microsoft Learn: Responsible AI for agent design
- [28]Microsoft Learn: What is Azure AI Content Safety?
- [29]Microsoft Learn: Default Guardrail policies for Microsoft Foundry
- [30]Microsoft Learn: Harm categories and severity levels in Microsoft Foundry