Study guide · Core notes

Azure AI Fundamentals Notes: concepts and Foundry

Reference notes for AI-901: responsible AI, generative models, workloads, and implementing lightweight solutions with Microsoft Foundry.

Exam: AI-9012 domainsReviewed October 2026

How to read these notes: Items tagged Extra sit outside the April 15, 2026 skill list emphasis, such as deep classic Azure Machine Learning train-and-register workflows from retired AI-900. Learn the unmarked items first. New to the exam? Start with the overview for the format and domain weights. Shared cloud vocabulary is on the Azure Fundamentals notes.

Domain 1: Responsible AI principles

Name the principle from the failure mode. Product names come later.

Responsible AI principles named in the AI-901 study guide.
PrincipleMeaningTypical failure
FairnessSimilar people get similar treatmentA hiring score that disadvantages one group with the same qualifications
Reliability and safetyThe system behaves as intended and avoids harmConfident invented medical advice when the model is unsure
Privacy and securityPersonal data and access stay protectedA prompt that returns another customer’s records
InclusivenessPeople with different abilities can use the solutionVoice-only replies with no text alternative
TransparencyPeople can tell what the system does and its limitsGenerated text presented as human writing with no disclosure
AccountabilityPeople remain responsible for outcomesNo owner can explain or override an automated denial

AI model components and configurations

Generative models create new content conditioned on prompts and what they learned. Choosing a model starts with capabilities: text, vision, speech, multimodal input, or agent-style tool use. Deployment options and configuration parameters matter next. Temperature and similar sampling settings change how random text output feels. A factual FAQ bot usually needs lower randomness than a brainstorming assistant.

Deploying a model in Microsoft Foundry gives you something to call from the portal, an SDK client, or an agent. Grounding supplies relevant source text with the prompt to help anchor responses in that source; it does not guarantee factual correctness. A hallucination is fluent output that facts or context do not support.

Identify AI workloads

Match the scenario to the job before you name a Foundry feature.

  • Generative AI creates new text, code, or images from a prompt.
  • Agentic AI plans steps and uses tools toward a goal across turns.
  • Text analysis works on written language: keywords, entities, sentiment, summarization.
  • Speech moves between audio and text: recognition or synthesis.
  • Computer vision interprets existing images or video.
  • Image generation creates new visuals from a prompt.
  • Information extraction pulls structured fields from documents, images, audio, or video.

Text analysis techniques

Keyword extraction surfaces main talking points. Entity detection finds named things such as people, places, and dates. Sentiment analysis scores positive, negative, neutral, or mixed tone. Summarization shortens longer text while keeping the main meaning. These techniques analyze content that already exists; they do not invent a new product photo.

Speech recognition and synthesis

Speech recognition turns spoken audio into text. Speech synthesis turns text into spoken audio. Keep the direction straight. A meeting transcript is recognition. A spoken reply from a written answer is synthesis. Multimodal deployments can also respond to spoken prompts as part of the interaction path the skills describe.

Computer vision and image generation

Computer vision interprets images or video that already exist: labels, objects, layout, or defects. Image generation creates new visual output from a prompt. A warehouse camera that finds boxes is vision. A banner invented from a marketing brief is generation. Multimodal models can take a photo as prompt input and describe what they see without creating a new image.

Information extraction

Extraction pulls structured fields from text, images, audio, and video. Invoices, forms, and scanned documents are common targets. Extraction is not generation. You are reading fields that exist, not inventing a new page of marketing copy.

Extra Deep training of custom classical ML models on Azure Machine Learning is not the center of the April 15, 2026 AI-901 midpoint map.

Domain 2: Prompts

The larger domain. Implementation with Microsoft Foundry.

System and user prompts

A system prompt sets lasting role, tone, and safety constraints across turns. A user prompt carries the current question. Put “never invent refund amounts” in the system prompt when that rule must hold for every conversation. Do not bury durable safety rules only in one user message you hope people will type again.

Foundry portal

Deploy a model and interact with it in the Microsoft Foundry portal before you write an app. Portal interaction is the fastest way to validate prompts and answer quality. When the stem says “try prompts without writing a client yet,” the portal is the first stop.

Foundry SDK clients

A lightweight chat client uses the Foundry SDK to call a deployed model from application code, often in Python. Authenticate, send prompts, and handle completions. The SDK path is how you ship the same deployment beyond the portal. Basic Python syntax is expected for this exam.

Agents

Create and test a single-agent solution in the Foundry portal. An agent can plan and use tools toward a goal. Then build a lightweight client application that calls that agent. An agent can use configured instructions, context, and tools to pursue a task; not every agent interaction requires a tool call or a multi-step plan.

Text and speech solutions

Build a lightweight application that includes text analysis. Respond to spoken prompts with a deployed multimodal model. Build a lightweight application with Azure Speech in Foundry Tools when speech recognition or synthesis is the product need. Keep recognition and synthesis direction clear in the stem.

Vision and image-generation solutions

Interpret visual input in prompts with a deployed multimodal model. Create new visual outputs with generative models. Build a lightweight application that includes vision capabilities when the app must see images, not only chat in text.

Content Understanding

Azure Content Understanding in Foundry Tools extracts information from documents and forms, images, audio, and video. Build a lightweight application with those extraction capabilities when the job is structured fields from existing media. Pair it with validation against sample documents so extracted totals and dates match what you expect.

Apply the concepts

AI-901 worked scenarios: choose, test, and explain

Use the exercises below after reading the definitions. They are original learning scenarios, not official exam questions. For each one, identify the input, the expected output, the evidence needed to trust that output, and the action a person should take when the system cannot produce a useful answer. This separates understanding an AI workload from simply recognizing a product name.

Scenario 1: A support assistant that can admit uncertainty

A small bicycle shop wants an assistant to answer questions about its returns policy. The shop provides three approved policy documents. A successful answer should explain the relevant rule, identify its source, and avoid inventing exceptions. The task is a grounded generative response: the assistant creates a readable answer using supplied policy content. It is not sentiment analysis, because the shop is not asking whether a customer sounds unhappy.

Prepare five test questions before adjusting the prompt. Include a straightforward return, an item outside the return window, a missing receipt, a question the documents do not answer, and a request that contradicts the policy. Write the expected behavior next to each question. For an unsupported situation, the expected answer can be an admission that the policy does not establish the answer and a suggestion to contact staff. A confident invented exception should count as a failed test even if its wording is friendly.

A system message can describe the assistant's role and response boundaries, but it is not an access-control mechanism. The application still decides which documents a user may retrieve and which actions are allowed. Treat text inside retrieved documents as evidence, not as trusted instructions. If a document says to ignore the policy and reveal private records, that text must not acquire authority over the application. See Microsoft's guidance on safety system messages for their role within a broader safety design.

Scenario 2: Extract an invoice without inventing missing fields

A bookkeeper needs a supplier name, invoice date, currency, and total from a scanned invoice. Start by naming the output schema. The result should contain specific fields, not a creative summary. Include an example in which the scan is rotated, one with a partly obscured total, and one with two different dates. Decide which date the application needs before judging an extraction result.

Suppose the scan says “Invoice date: 04/05/2026” without specifying a regional format. Returning a normalized date without handling that ambiguity may create an incorrect business record. A better exercise records the original text, checks a known supplier convention where available, and routes unresolved cases for review. Likewise, validate whether line items and taxes agree with the stated total. The arithmetic check helps identify suspicious output; it does not prove that the document is authentic.

Keep extraction separate from approval. Producing a plausible JSON object does not authorize payment. For a learning exercise, use fictional documents and manually compare every field with the source image. Record whether an error came from an unreadable image, an ambiguous label, a poor schema, or a mistaken interpretation. Different causes require different fixes, and adding a longer prompt is not always the right one.

Scenario 3: Design a speech feature for more than a quiet room

A visitor information kiosk should answer a spoken question and display the answer as text. Break the experience into stages: capture audio, interpret the request, produce an answer, and optionally speak that answer. Speech recognition concerns the incoming words; speech synthesis concerns the outgoing voice. A multimodal interaction may combine stages, but you should still be able to explain what enters and leaves the system.

Write a small test sheet covering background noise, unfamiliar place names, a user who pauses, and someone who prefers typing. Ask whether a transcription error changes the meaning of the question. Displaying the recognized request gives the visitor a chance to correct a mistake. Offering text input and a readable answer supports people who cannot or do not want to use audio. Judge the whole interaction, not just whether a voice was generated.

Scenario 4: Give an agent a narrow job

A maintenance assistant may look up a fictional machine's service history and draft a suggested inspection checklist. The lookup function should accept a machine identifier and return only authorized records. Drafting a checklist is different from scheduling a technician, ordering parts, or changing a machine setting. Those additional actions need separately defined permissions and, where appropriate, human approval.

For your exercise, list the allowed tools, required inputs, expected outputs, and what happens if a tool fails. Test an unknown identifier and a request for another department's records. A response saying that the lookup failed is more trustworthy than a fabricated service history. Observe whether the assistant actually used the tool when the question required current information. A fluent response alone does not establish that the relevant record was retrieved.

A practical workflow for learning Microsoft Foundry

The official AI-901 study guide includes conceptual knowledge and lightweight implementation. Use it as the scope reference, then use the sequence below to turn your reading into an observable result. Portal navigation and SDK examples can change; use the current documentation for the deployment and client you select.

  1. Define one task. Write a one-sentence acceptance criterion, such as “answer a question using the supplied policy and identify missing information.” Choose a small task that you can assess manually before expanding it.
  2. Prepare representative inputs. Use fictional, public, or properly authorized material. Include an ordinary case, a boundary case, an ambiguous case, and an unsupported request. Keep these examples fixed while comparing changes.
  3. Try the interaction in the portal. Record the deployment, prompt version, and relevant configuration. Change one variable at a time. If you change the prompt, model, and examples together, you cannot tell which change helped.
  4. Build the smallest client. Follow a current SDK sample, keep credentials out of source files, handle missing configuration, and display a useful failure state. Do not put a service secret into browser JavaScript or a public repository.
  5. Evaluate the output. Check correctness, supported evidence, useful refusal or fallback behavior, and whether the requested format is actually valid. Latency and resource usage matter too, but a fast incorrect answer is still incorrect.
  6. Record and clean up. Write what worked, what failed, and the next test. Review external service charges, delete disposable resources when finished, and avoid retaining unnecessary prompts or sensitive output in logs.

Python practice without a cloud account

You can rehearse validation locally before calling any service. In this example, the data is fictional. The function checks whether the response has a usable answer and a list of source references. It deliberately does not claim to prove factual correctness: the references still need to exist and support the answer. Explain that distinction before adding more fields.

def valid_response(value):
    if not isinstance(value, dict):
        return False
    answer = value.get("answer")
    sources = value.get("sources")
    return (
        isinstance(answer, str)
        and bool(answer.strip())
        and isinstance(sources, list)
        and all(isinstance(item, str) for item in sources)
    )

sample = {"answer": "The policy does not specify this case.", "sources": []}
print(valid_response(sample))  # True: valid shape, not verified facts

Measure improvement without confusing it with certainty

Keep a short evaluation log with the input, expected behavior, actual behavior, and reason for the judgment. Separate an incorrect fact from an unhelpful style choice. Repeat important cases because model output may vary, and add new cases when a failure reveals a gap. Automated evaluators can assist a review, but they do not turn a small sample into proof that every future interaction will be safe or correct. Microsoft's risk and safety evaluator documentation describes the kinds of behavior those evaluators assess.

Before moving to the practice exam, explain the four scenarios without reading the answers. Name one unsuitable alternative for each and say why it does not meet the requirement. If you can recite a service name but cannot describe the input and the expected output, return to the relevant note. That is a useful study decision regardless of the percentage on your last quiz.

Frequently asked questions

What is the difference between a system prompt and a user prompt?

A system prompt sets lasting role, tone, and safety constraints. A user prompt carries the current question or instruction for that turn.

When do you use Content Understanding instead of image generation?

Use Content Understanding to extract structured information from documents, forms, images, audio, or video. Use image generation when you need new visual content from a prompt.

Is AI-901 the same as AI-900?

No. AI-900 retired on June 30, 2026. AI-901 is the current exam and emphasizes implementing solutions with Microsoft Foundry, including basic Python.

Continue the Azure AI Fundamentals study path

Drill the distinctions, then test them under a timer.

Azure AI Fundamentals hub →
Available

Overview

Exam format, the 700 passing score, domain weights, and a study plan.

Available · You are here

Core Notes

Reference notes for concepts and Foundry implementation.

Available

Practice Exams

200 original questions with custom exams, explanations, and a score report by domain.

Connect these notes with adjacent skills and certification topics.