Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Lesson 2 of 30
❮Prev Next❯

The Six Principles of Responsible AI

Module 1: AI Concepts ⏱ 8 min read Updated

Your note

My notes for this lesson

Select any text in the lesson to highlight it or add a note. Saved in this browser.

    No highlights yet. Select a sentence in the lesson, then pick a colour or add a note.

    All my bookmarks and notes

    Reading settings

    For every lesson, saved in this browser.

    Text size
    Line spacing
    Font

    With IaaS you rent the virtual machine. Microsoft looks after the building, power and hardware; you patch the operating system.

    30-second answer

    Microsoft builds AI around six responsible AI principles: fairness (treat similar people the same way), reliability and safety (work as expected and fail safely), privacy and security (protect data and resist attacks), inclusiveness (work for people of every ability and background), transparency (people understand what the AI does and its limits) and accountability (people stay answerable for what the AI does). In Microsoft Foundry they show up as guardrails, evaluations, transparency notes and human review.

    Simulate it » No Azure account needed

    Exam objective: 1.1.1 Describe considerations for fairness in an AI solution. 1.1.2 Describe considerations for reliability and safety in an AI solution. 1.1.3 Describe considerations for privacy and security in an AI solution. 1.1.4 Describe considerations for inclusiveness in an AI solution. 1.1.5 Describe considerations for transparency in an AI solution. 1.1.6 Describe considerations for accountability in an AI solution. (Skills measured as of April 15, 2026)

    Simulations

    Feel it before you read it. No account needed, nothing leaves this page.

    Azure portal: Set up guardrails (content filters) Set up guardrails that put the principles into practice.
    </> Embed

    Embed this simulation

    Free for trainers, teachers and bloggers. Paste this into your page:

    Loading the portal…

    Every deployment gets a default <strong>guardrail</strong>. Create your own to tune it.

    👆 Click the glowing item in the portal to continue

    Read the steps as text
    1. Every deployment gets a default guardrail. Create your own to tune it.
    2. Set a blocking level for each harm category, on prompts and completions: Low blocks only high-severity content, Medium (the default) blocks medium and high, High blocks low, medium and high. Prompt Shields catch jailbreak and indirect prompt-injection attacks.
    3. Test it. A jailbreak attempt never reaches the model.
    4. Guardrails put reliability and safety into practice; PII masking and data handling cover privacy and security.

    🧪 Simulation for learning. Screens are simplified versions of the Azure portal; names, prices and IDs are examples. Nothing here touches real Azure.

    😟 THE PROBLEM

    Your new AI tool works, but nobody trusts it.

    😊 THE SOLUTION

    Build it on six principles people can check.

    • Some groups get worse results✓ Test fairness group by group
    • Users try to break it✓ Guardrails block harmful prompts
    • Nobody knows how it decides✓ Be transparent and keep a human accountable
    🛠️ Solved with: Responsible AI

    Start with a question

    Would you trust a new doctor who couldn't explain their diagnosis, treated some patients worse than others and shared your records with strangers?

    You wouldn’t. A good doctor treats everyone fairly, gets it right or says when they’re unsure, keeps your secrets, can talk to you in a way you understand, explains their reasoning and answers to a medical council when things go wrong.

    We expect the same from AI. Microsoft writes those expectations down as six responsible AI principles, and AI-901 expects you to recognise each one in a scenario.

    Explain it like I’m 10

    Visual: responsible AI in motion

    Put a loan approval AI through all six principles and see the problem each one catches.

    ▶ Explainer video See it in motion 8 steps · 1 min 24 sec

    An animation of a bank’s loan approval AI going through Microsoft’s six responsible AI principles. For each one, a problem appears (a postcode bias, a confident wrong answer, unmasked Aadhaar numbers, accents not understood, no reasons given, no owner) followed by the fix.
    Read the video script
    1. A bank builds a loan AIA bank builds an AI that helps decide who gets a loan. Microsoft's six responsible AI principles are the checklist it has to pass.
    2. FairnessFairness. Two applicants with the same income get different answers because of their postcode. The team measures outcomes across groups and removes the bias.
    3. Reliability and safetyReliability and safety. The model has to behave well on unusual applications too, so it's tested on edge cases, and it hands anything it isn't sure about to a person.
    4. Privacy and securityPrivacy and security. Applicants' bank statements and Aadhaar numbers are protected, collected with consent, and masked before anything is logged.
    5. InclusivenessInclusiveness. The app works with screen readers, understands Indian English accents, and supports regional languages, so nobody is shut out.
    6. TransparencyTransparency. Applicants are told that AI helped, and a declined applicant sees the main reasons for the decision.
    7. AccountabilityAccountability. People, not the model, are answerable. A named team owns the system, reviews it before launch, and handles appeals.
    8. Six principles, one systemFairness, reliability and safety, privacy and security, inclusiveness, transparency and accountability. Learn each one by the problem it solves, because that is how exam questions describe them.

    The technical explanation

    Microsoft’s responsible AI principles guide how AI is designed, built and run. Microsoft applies them internally through its Responsible AI Standard, and it builds tools into Microsoft Foundry so customers can apply them too.

    PrincipleThe question it asksOne example
    FairnessDoes it treat similar people the same way?A hiring model must not score CVs lower because the name sounds female.
    Reliability and safetyDoes it work as expected and fail safely?A medicine chatbot refuses to guess a dose and points to a pharmacist.
    Privacy and securityIs personal data protected, and can attackers misuse it?A support bot masks phone numbers and Aadhaar numbers before saving chat logs.
    InclusivenessDoes it work for people of all abilities and backgrounds?A banking voice app understands Indian English accents and offers captions.
    TransparencyDo people know it’s AI and understand how it reaches results?A loan app tells applicants an AI helped and shows the main reasons for the result.
    AccountabilityWho’s answerable for what it does?A named team owns the model, reviews it before launch and handles appeals.

    How it treats people

    • Fairness
    • Reliability and safety
    • Privacy and security
    • Inclusiveness

    Open and owned

    • Transparency
    • Accountability
    Four principles shape how the system behaves; two keep it open and owned

    Where the principles live in Microsoft Foundry

    Foundry featurePrinciples it supports
    Guardrails and content filters (hate, sexual, violence, self-harm, with severity levels)Reliability and safety
    Prompt Shields (jailbreak and indirect prompt injection attacks)Reliability and safety, privacy and security
    PII detection in Azure LanguagePrivacy and security
    Evaluations (quality, plus risk and safety evaluators)Fairness, reliability and safety
    Groundedness detection, citations, transparency notes, model cardsTransparency
    Tracing, role-based access, human review stepsAccountability

    Microsoft also commits that your prompts and completions in Foundry aren’t used to train the foundation models. That’s a privacy promise you’ll see in exam scenarios.

    Architect level Principles pull against each other

    Real systems trade principles off. Logging every prompt helps accountability but adds privacy risk, so you log with PII masked and limit who can read the logs. Stricter content filters improve safety but can block legitimate medical questions, which hurts inclusiveness for the people who need them. A responsible design writes those trade-offs down, tests them with evaluations and assigns someone to decide.

    Real-world business scenario

    Healthcare

    Contoso Health, a hospital group in Bengaluru

    The problem
    It wanted an AI assistant to answer patient questions about appointments and reports, but worried about wrong medical advice, leaked records and patients who don't read English.
    What they used
    A Foundry agent grounded in hospital policies, with guardrails and Prompt Shields on, PII detection on stored chats, Hindi and Kannada support, a clear 'You're chatting with AI' notice and a nurse review queue for anything clinical.
    Why that choice
    Each control maps to a principle, so the review board could see exactly how the assistant met all six before approving it.
    The result
    The assistant went live with sign-off from the clinical and legal teams, and clinical questions still reach a person.

    When to use it and when not to

    ✓ Use it when…

    • Every AI project, from a small internal chatbot to a customer-facing agent. Scale the effort to the risk.
    • Before launch, to decide which guardrails, evaluations and review steps you need.
    • Whenever the model, the data or the audience changes, because the risks change too.

    ✕ Think twice when…

    • Treating the principles as a checkbox at the end of the project instead of a design input.
    • Assuming the model provider has handled responsible AI for your specific use case.
    • Relying on one control, such as a content filter, to cover all six principles.

    ↔ Alternatives to consider

    • **Microsoft Responsible AI Standard and impact assessment templates** to structure the review.
    • **Your local regulations** (for example the EU AI Act or India's DPDP Act) alongside the principles.
    Ready for more?The full lesson adds the technical explanation, when to use it, interview questions and revision notes.

    Test yourself with exercises

    6 original practice questions in the AI-901 style. Pick your answers, then check them. You will see why each option is right or wrong. Score 75% or more and this topic is marked complete.

    Question 1

    Question 1 of 6 · Select 2

    Which TWO of the following are Microsoft responsible AI principles?

    Question 2

    Question 2 of 6

    A bank discovers that its AI loan model approves applications from younger applicants less often than applications from older applicants who have the same income and credit history.

    Which responsible AI principle is the bank failing to meet?

    Question 3

    Question 3 of 6

    A medical chatbot must refuse to recommend medication doses and must direct users to a pharmacist when it cannot answer safely.

    Which responsible AI principle does this requirement primarily support?

    Question 4

    Question 4 of 6

    A company requires that its customer-facing AI assistant displays a message stating that responses are generated by AI and may contain errors.

    Which responsible AI principle does this requirement support?

    Question 5

    Question 5 of 6

    An organisation appoints a review board that must approve every AI system before release and investigate any harm the system causes.

    Which responsible AI principle does the review board address?

    Question 6

    Question 6 of 6

    A voice assistant is redesigned so that users who are deaf or hard of hearing can interact with it by typing and reading captions. Which responsible AI principle does this change support?

    Interview preparation

    Say your answer out loud first, then open the model answer. Interviewers care more about your reasoning than the exact words.

    Beginner Name Microsoft's six responsible AI principles.

    Model answer

    Fairness, reliability and safety, privacy and security, inclusiveness, transparency and accountability. I remember them as two groups: four about how the system behaves toward people, and transparency plus accountability about being open and having a human answerable.

    Interviewer follows up

    Are these laws?

    You

    No, they're Microsoft's principles, backed internally by its Responsible AI Standard. Laws like the EU AI Act are separate, though the ideas overlap a lot.

    Intermediate How do the principles show up inside Microsoft Foundry?

    Model answer

    Guardrails and content filters block harmful prompts and outputs, Prompt Shields catch jailbreak attempts, evaluations measure quality and safety before you ship, tracing shows what an agent did step by step, and transparency notes and model cards explain what a model is good and bad at. Human review is something I design into the app myself.

    Scenario A bank's loan model approves fewer applications from one postcode with the same income and credit history. Which principle is at risk?

    Model answer

    Fairness. Similar applicants are getting different outcomes because of something that stands in for a group. I'd measure outcomes across groups, look at the training data and features, and put a human review step on declines.

    Experienced developer Who's accountable when an AI system gets something wrong?

    Model answer

    The organisation that built and deployed it, and named people inside it. You can't hand responsibility to the model. That's why you need an owner for each AI system, a review process before launch, logs you can audit and a way for affected people to appeal.

    Quick revision

    Key points

    • Six principles - fairness, reliability and safety, privacy and security, inclusiveness, transparency, accountability.
    • Reliability and safety is one principle; privacy and security is one principle.
    • Foundry guardrails, Prompt Shields and evaluations turn principles into controls.
    • Transparency notes and model cards explain what a model can and can't do.
    • People, not the model, stay accountable for decisions.

    Important terminology

    Responsible AI
    Designing, building and running AI so it's fair, safe, private, inclusive, understandable and has people answerable for it.
    Fairness
    An AI system treats people in similar situations the same way, regardless of gender, ethnicity, age or other traits.
    Reliability and safety
    An AI system behaves as intended, handles unexpected input and fails in a safe way.
    Privacy and security
    An AI system protects personal data, respects consent and resists misuse and attacks.
    Inclusiveness
    An AI system is designed to work for and engage people of all abilities, languages and backgrounds.
    Transparency
    People understand that AI is being used, how it reaches results and what its limitations are.
    Accountability
    Named people and organisations are answerable for how an AI system is built, used and governed.

    Common mistakes

    • Listing "security" and "privacy" as two separate principles, or adding ones that aren't on the list such as "efficiency".
    • Thinking a content filter alone makes a solution responsible.

    Exam tips

    • Same input, different result for different groups = fairness.
    • Works for people with disabilities or other languages = inclusiveness.
    • Explaining how a decision was made = transparency. Who answers for it = accountability.

    Five quick revision questions

    1. 1.How many responsible AI principles does Microsoft define?Show

      Six.

    2. 2.Which principle covers a system that must keep working during unusual conditions?Show

      Reliability and safety.

    3. 3.Which principle is about protecting personal data?Show

      Privacy and security.

    4. 4.Which principle covers a speech app that understands many accents?Show

      Inclusiveness.

    5. 5.Which principle says humans remain answerable for AI decisions?Show

      Accountability.

    Official references

    Finished this lesson? Tick it off. Your progress is saved in this browser.

    Next up: Fairness and Inclusiveness

    Studying with a friend? Send them this lesson

    It's free and needs no sign-up. Their progress saves in their own browser.

    Lesson done? Make it stick with a quick gameSort It, Match the Pairs, Lightning Round and Who Am I? Earn XP and badges. Play ❯

    Install MSDEVBUILD Azure

    Free · no account · works offline

    Save the whole course for offline ›

    Hi, I’m your Nimbus

    Your study buddy. Pick what we do next.

    MSDEVBUILD · Multi-Stack Dev Build

    Sign in to MSDEVBUILD

    One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.