Your profile

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

Revision pack

AI-901 cheat sheet

One sheet per exam area, made from the 30 lessons on this site. Print it, save it as a PDF, or press Listen and revise on a walk. Each line links back to its lesson if something doesn't make sense.

⏰ The last 30 minutes before the exam

Don't learn anything new now. Read this once, then put it away.

In the exam room

  • You have about 45 minutes for the questions. The pass mark is 700 on a scale of 1–1000, which isn't the same as 70% of questions right.
  • Answer every question. There's no penalty for a wrong guess, but a blank always scores zero.
  • Mark anything you're unsure of for review and move on. Come back at the end with fresh eyes.
  • If a section warns that you can't return to it, believe it. Review everything before you leave.
  • Read the last line of a long scenario first, so you know what you're looking for.
  • Watch for "least", "most cost-effective" and "minimise administrative effort". They decide which correct-looking option is the right one.

Look-alikes people mix up

Global Standard vs Provisioned vs Batch Deployments
“Lowest cost for a large job that is not time-sensitive” = Batch. “Predictable latency at high volume” = Provisioned. “Data must stay in the EU” = Data Zone (EU). Otherwise Global Standard.
Azure Language vs Prompting a Generative Model
If a question asks for sentiment, key phrases, named entities or PII with no custom logic, the expected answer is usually Azure Language.
Speech Pipeline vs Audio-Capable Model
“Respond to spoken prompts by using a deployed multimodal model” means sending the audio itself to an audio-capable deployment, not transcribing first.
Generative AI App vs AI Agent
Look for verbs: “look up, calculate, book, update” point to an agent with tools. “Write, summarise, rephrase” point to plain generative AI.

Domain 1: AI Concepts (40–45% of the exam)

What is AI? Machine Learning, Generative AI and Agents

Artificial intelligence (AI) is software that does things we used to think needed a human: understanding language, recognising images, making predictions and creating content. Machine learning is the main way we build AI (the software learns patterns from data), deep learning is machine learning with many-layered neural networks, generative AI uses deep learning models to create new text, images or audio, and an AI agent is a generative model that's been given instructions and tools so it can carry out tasks.

  • AI is the big circle. Machine learning sits inside it, deep learning inside that, and generative AI is built on deep learning.
  • Machine learning learns patterns from data instead of following hand-written rules.
  • Generative AI creates new content from a prompt; traditional ML predicts or classifies.

🎯 Exam tip: "Create", "draft", "write" or "generate" in a scenario points to generative AI.

⚠️ Watch out: Treating AI, machine learning and generative AI as three names for the same thing.

The Six Principles of Responsible AI

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.

  • 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.

🎯 Exam tip: Same input, different result for different groups = fairness.

⚠️ Watch out: Listing "security" and "privacy" as two separate principles, or adding ones that aren't on the list such as "efficiency".

Fairness and Inclusiveness

Fairness means an AI system treats people in similar situations the same way, so its results don't depend on gender, ethnicity, age, location or other personal traits. Inclusiveness means the system is designed to work for and engage everyone, including people with disabilities and people who speak different languages or accents. You get both by using representative data, measuring results group by group with evaluations, and testing with the people who'll actually use the system.

  • Fairness is about equal treatment and outcomes for similar people.
  • Inclusiveness is about designing for everyone, including people with disabilities and other languages.
  • Bias usually comes from data, proxy features and unrepresentative testing.

🎯 Exam tip: Approval rates or accuracy that differ by gender, age or ethnicity = fairness.

⚠️ Watch out: Calling an accessibility problem a fairness problem. If people can't use the system, it's inclusiveness.

Reliability, Safety, Privacy and Security

Reliability and safety means an AI system works as intended, copes with unexpected input and fails in a safe way instead of causing harm. Privacy and security means it protects personal data, respects how that data may be used and resists attacks such as jailbreak prompts and prompt injection. In Microsoft Foundry you apply them with guardrails (content filters), Prompt Shields, PII detection, evaluations before launch, and standard Azure security such as Microsoft Entra ID and private networking.

  • Reliability and safety - works as intended, handles the unexpected, fails safely.
  • Privacy and security - protects personal data and resists attacks.
  • Guardrails filter hate, sexual, violence and self-harm content by severity, on prompts and outputs.

🎯 Exam tip: Harmful or unsafe answers, testing before release, failing safely = reliability and safety.

⚠️ Watch out: Thinking guardrails only check what the user types. They check model output too.

Transparency and Accountability

Transparency means people know when they're dealing with AI, understand roughly how it reaches its results and know its limits. Accountability means named people and organisations stay answerable for what an AI system does, with governance, oversight and a way to fix mistakes. In Microsoft Foundry, transparency notes, model cards, citations and tracing support transparency, while role-based access, evaluations, logs and human-in-the-loop review support accountability.

  • Transparency - people know it's AI, understand how it works and know its limits.
  • Accountability - named humans stay answerable for the AI system.
  • Transparency notes and model cards explain a service's or model's uses and limits.

🎯 Exam tip: Explain a decision, disclose AI use, document limitations = transparency.

⚠️ Watch out: Thinking accountability can be handed to the model provider or the AI itself.

How Generative AI Models Work

A generative AI language model splits your prompt into tokens, turns each token into an embedding (a list of numbers that captures meaning), and runs them through a transformer whose attention layers work out how the words relate. It then predicts the next token, adds it to the text and repeats until the answer is done. Settings like temperature control how adventurous each pick is, the context window limits how much text it can consider at once, and grounding it in your own data reduces hallucinations (confident but wrong answers).

  • Text is split into tokens; roughly four characters of English per token.
  • Embeddings turn tokens into vectors so similar meanings sit close together.
  • Transformers use attention to work out how every token relates to the others.

🎯 Exam tip: "Answers must be consistent and factual" = lower temperature and grounding.

⚠️ Watch out: Thinking the model looks answers up in a database. Without grounding it only predicts likely text.

Choosing the Right AI Model

You choose an AI model by matching its capabilities to the job, then balancing quality, cost and latency. A large language model (LLM) handles open-ended text, a small language model (SLM) such as Phi is cheaper and faster for narrow tasks, multimodal models accept images or audio, reasoning models think through multi-step problems, embedding models turn text into vectors for search, and image-generation models create pictures. In Microsoft Foundry you compare them in the model catalog using model cards and benchmarks.

  • Match the model to the capability first, then trade off quality, cost and latency.
  • SLMs such as Phi are cheaper and faster; LLMs are better at broad, open-ended work.
  • Multimodal models take images or audio as input; image-generation models create images.

🎯 Exam tip: "Lowest cost, fast, narrow task, could run on a device" = small language model.

⚠️ Watch out: Picking the biggest model for every job. A small model is often good enough and much cheaper.

Model Deployment Options and Parameters

A deployment makes a model callable from your Foundry resource, and the deployment type decides where requests are processed and how you pay. Global Standard (pay per token) is the usual starting point, Data Zone Standard keeps processing inside the US, EU or APAC, Provisioned reserves capacity for steady, low-latency traffic, and Batch runs large jobs asynchronously at about half the price. Parameters such as temperature, top_p, max output tokens and stop sequences then shape each response.

  • Global Standard is the default starting point, pay per token, and may process data in any region.
  • Data Zone Standard keeps processing in the US, EU or APAC data zone; Standard keeps it in the resource's geography.
  • Provisioned deployments reserve capacity (PTUs) for steady traffic and predictable latency.

🎯 Exam tip: "Data must be processed only within the EU" = Data Zone (or regional) deployment, not Global.

⚠️ Watch out: Thinking Global Standard stores your data in other regions. Data at rest stays in your resource's geography; only processing can happen elsewhere.

Common AI Workloads

An AI workload is the kind of job you ask AI to do. The six you need for AI-901 are generative AI (create new text, code or images), agentic AI (plan and take actions with tools), text analysis (find sentiment, key phrases, entities and summaries in text), speech (speech to text and text to speech), computer vision (understand or generate images) and information extraction (pull structured fields out of documents, images, audio and video). You tell them apart by looking at the input and the output the scenario asks for.

  • Generative AI creates new content; text analysis labels or summarises existing text.
  • Agentic AI plans, calls tools and acts towards a goal.
  • Speech covers speech to text, text to speech, translation and speaker diarization.

🎯 Exam tip: "Determine whether reviews are positive or negative" = text analysis (sentiment).

⚠️ Watch out: Calling any chatbot "agentic". Without tools and actions it's generative AI.

Generative AI and AI Agents

Generative AI creates new content (text, code, images, audio) in response to a prompt. An AI agent goes further: it's a model plus instructions plus tools that works towards a goal by planning, calling tools (search, code, APIs), observing the results and repeating until it can answer or finish the task. A copilot is an agent-style assistant built into an app to help a person, and multi-agent systems split a big job across several specialist agents.

  • Generative AI creates new content from a prompt by predicting the next token.
  • An agent = model + instructions + tools, working towards a goal.
  • Agents loop through plan, act (call a tool), observe, until the task is done.

🎯 Exam tip: "Uses tools to complete tasks on the user's behalf" = AI agent.

⚠️ Watch out: Calling any chatbot an agent. Without tools and actions it's generative AI.

Text Analysis: Key Phrases, Entities, Sentiment and Summaries

Text analysis pulls meaning out of text that already exists. The main techniques are key phrase extraction (the main talking points), entity detection (people, places, organisations, dates, plus entity linking and PII detection), sentiment analysis with opinion mining (positive, negative, neutral or mixed, and about what), summarisation (extractive or abstractive) and language detection. In Azure you can use Azure Language in Foundry Tools for fixed, structured output, or prompt a language model for more flexible results.

  • Key phrase extraction finds the main talking points.
  • NER finds and categorises entities; entity linking says which real-world thing is meant; PII detection finds personal data to redact.
  • Sentiment analysis returns positive, negative, neutral or mixed; opinion mining ties opinions to their targets.

🎯 Exam tip: "Identify the main talking points" = key phrase extraction.

⚠️ Watch out: Mixing up key phrases (talking points) with entities (named, categorised things).

Speech Recognition and Speech Synthesis

Speech recognition (speech to text) turns spoken audio into text, and speech synthesis (text to speech) turns text into natural-sounding audio using neural voices. Azure Speech in Foundry Tools adds speaker diarization (who spoke when), speech translation, SSML to control rate, pitch, pauses and speaking style, and custom speech to improve accuracy on your own vocabulary and accents. Audio-capable multimodal models can also take speech in and give speech back.

  • Speech to text turns audio into text; text to speech turns text into audio.
  • Neural voices sound natural; SSML controls rate, pitch, pauses, pronunciation and style.
  • Speaker diarization labels who spoke when.

🎯 Exam tip: "Convert recorded meetings into text" = speech to text.

⚠️ Watch out: Mixing up recognition (listening) and synthesis (speaking).

Computer Vision and Image Generation

Computer vision is AI that understands images: it can caption a photo, tag what's in it, find objects with boxes around them and read printed or handwritten text (OCR). Multimodal models such as GPT-4.1 take an image inside a prompt and answer questions about it, while image-generation models such as gpt-image-1 go the other way and create a new image from a text description, with content credentials that mark it as AI-made.

  • Image analysis returns captions, dense captions, tags, objects, people and text (Read OCR).
  • Object detection gives a label, a confidence score and a bounding box for each item.
  • Multimodal models (GPT-4.1, GPT-4o, GPT-5 family) accept images in prompts and answer in text.

🎯 Exam tip: "Read the text on a scanned sign or receipt" = OCR (Read).

⚠️ Watch out: Thinking a multimodal model that reads images can also generate them. Reading and creating are different model types.

Extracting Information from Text, Images, Audio and Video

Information extraction turns unstructured content into structured data you can store and search. Text uses entity recognition and PII detection, images and scans use OCR and document field extraction, audio uses transcription, and video uses segmentation into scenes with a transcript. Azure Content Understanding in Foundry Tools handles all four content types in one service, returning Markdown plus the fields you define, each with a confidence score.

  • Text extraction uses named entity recognition, PII detection and key phrases.
  • Images and scans use OCR plus document field extraction (invoices, receipts, IDs).
  • Audio uses speech to text, often with speaker labels (diarization) and a summary.

🎯 Exam tip: "One service for documents, images, audio and video into structured fields" = Azure Content Understanding.

⚠️ Watch out: Thinking OCR alone gives you an invoice total. OCR gives text; field extraction maps it to named fields.

Domain 2: Microsoft Foundry (55–60% of the exam)

What is Microsoft Foundry?

Microsoft Foundry (formerly Azure AI Foundry) is Azure's platform for building generative AI apps and agents. You create a Foundry resource, which holds models, Foundry Tools, security and billing, and inside it one or more projects, which are team workspaces for deployments, agents, files and evaluations. You work in the portal at ai.azure.com or in code through the project endpoint, with access controlled by roles such as Foundry User.

  • Microsoft Foundry is the new name for Azure AI Foundry; the portal is ai.azure.com.
  • A Foundry resource holds models, Foundry Tools, security and billing.
  • Projects inside the resource hold a team's deployments, agents, files and evaluations.

🎯 Exam tip: "Team workspace for deployments, agents and evaluations" = Foundry project.

⚠️ Watch out: Thinking each project needs its own Azure subscription or bill. Projects share the parent resource.

Writing System and User Prompts

A system prompt (system message) sets the model's role, rules, tone and output format for the whole conversation, while a user prompt is the actual question or task. Good prompts give clear instructions, say what format to return, show few-shot examples, supply grounding data inside delimiters and ask for step-by-step work on hard problems. You then test and iterate, and add a safety system message that tells the model what it must refuse.

  • The system prompt sets role, rules, tone and format; the user prompt asks the question.
  • Be specific about the task, audience, length and output format (for example JSON or a table).
  • Few-shot examples show the model the exact pattern you want.

🎯 Exam tip: "Set the assistant's persona and rules for every turn" = system prompt.

⚠️ Watch out: Putting the rules in the user message and expecting them to hold for the whole chat. Standing rules go in the system prompt.

Deploy a Model and Chat in the Foundry Portal

To use a model in Microsoft Foundry, you deploy it first: pick it in the model catalog, select Deploy, give it a deployment name and choose a deployment type such as Global Standard. Then open the chat playground, add a system message, ask questions and adjust parameters like temperature and max tokens. When it behaves the way you want, View code shows ready-to-run code that calls your deployment by name.

  • You must deploy a model before the playground or an app can call it.
  • The deployment name you choose is what code passes as model.
  • Global Standard is the default deployment type, billed per token.

🎯 Exam tip: "Test prompts and parameters without writing code" = chat playground.

⚠️ Watch out: Using the catalog model name in code when the deployment has a different name.

Build a Chat App with the Foundry SDK

A lightweight chat client uses the Foundry SDK (azure-ai-projects) in a few lines of Python. You create an AIProjectClient with your project endpoint (read from an environment variable) and DefaultAzureCredential, call get_openai_client(), then send prompts with responses.create, passing your deployment name as model. To keep a multi-turn chat, you create a conversation and pass its id each turn, or pass previous_response_id.

  • Install azure-ai-projects and azure-identity.
  • Read the project endpoint from an environment variable such as FOUNDRY_PROJECT_ENDPOINT.
  • AIProjectClient plus DefaultAzureCredential signs in with Microsoft Entra ID (no keys).

🎯 Exam tip: "Authenticate the Foundry SDK without storing secrets" = DefaultAzureCredential (Entra ID).

⚠️ Watch out: Passing the catalog model name instead of the deployment name.

Create and Test an Agent in the Foundry Portal

An agent in Microsoft Foundry is a model + instructions + tools that can plan, call a tool, look at the result and then answer. In the Foundry portal you go to Agents, create an agent, give it a name, pick a model deployment, write its instructions, add knowledge (file search) and tools such as code interpreter or web search, then chat with it in the agent playground. Every save creates a new version of the agent.

  • An agent = model + instructions + tools. It plans, calls tools, observes results and answers.
  • Create it in the Foundry portal under Agents, inside a project.
  • Knowledge comes from file search (your files) or grounding tools like web search and Azure AI Search.

🎯 Exam tip: "Answer from our own PDFs" = file search tool.

⚠️ Watch out: Thinking an agent works without a model deployment. It always runs on a deployed model.

Build a Client App for an Agent

A client app for a Foundry agent connects to your project with AIProjectClient and DefaultAzureCredential, creates or reuses an agent with create_version and a PromptAgentDefinition, then gets an OpenAI client bound to the agent with get_openai_client(agent_name=...). It starts a conversation, sends each user message with responses.create, prints output_text, and loops for more turns. The conversation keeps the history, so follow-up questions just work.

  • Install azure-ai-projects (2.x) and azure-identity, then sign in with az login.
  • Connect with AIProjectClient(endpoint=..., credential=DefaultAzureCredential()).
  • Create an agent version with project.agents.create_version and a PromptAgentDefinition.

🎯 Exam tip: "Keep context across turns" = reuse the same conversation id.

⚠️ Watch out: Starting a new conversation for every message, so the agent forgets the last turn.

Build a Text Analysis App

A lightweight text analysis app sends text to Azure Language in Foundry Tools through the azure-ai-textanalytics Python package. With a TextAnalyticsClient (endpoint + key) you call analyze_sentiment, extract_key_phrases, recognize_entities, recognize_pii_entities for redaction, and begin_abstract_summary for summaries. You can also get the same insights by prompting a deployed language model, which is more flexible but less predictable.

  • pip install azure-ai-textanalytics; create TextAnalyticsClient(endpoint, AzureKeyCredential(key)).
  • analyze_sentiment returns a label plus confidence scores per document and sentence.
  • extract_key_phrases, recognize_entities and recognize_pii_entities each take a list of documents.

🎯 Exam tip: "Mask phone numbers in transcripts" = PII detection (redacted_text).

⚠️ Watch out: Passing a single string instead of a list of documents to the client methods.

Answer Spoken Prompts with a Multimodal Model

To respond to a spoken prompt, deploy an audio-capable multimodal model (such as the gpt-audio or gpt-4o-audio-preview family) in Foundry and send the recording as an input_audio content part (base64 audio plus its format). The model understands the speech directly and can reply in text or audio. The older route is a pipeline: speech to text, then a text model, then text to speech. For live, low-latency talk you use a realtime model or the Voice Live API.

  • Audio-capable multimodal models accept speech directly and can reply in text or audio.
  • Audio goes in an input_audio content part as base64 data with a format such as wav.
  • The classic alternative is speech to text, then a text model, then text to speech.

🎯 Exam tip: "Send speech directly to the model" = audio-capable multimodal model with input_audio.

⚠️ Watch out: Sending the audio file path instead of base64-encoded audio data.

Build an App with Azure Speech in Foundry Tools

A lightweight speech app uses Azure Speech in Foundry Tools through the Speech SDK (pip package azure-cognitiveservices-speech). You create a SpeechConfig with your key and endpoint, then use a SpeechRecognizer to turn a WAV file or the microphone into text (speech to text), and a SpeechSynthesizer with a neural voice to turn text into audio (text to speech). SSML lets you control rate, pitch, pauses and speaking style.

  • pip install azure-cognitiveservices-speech; import azure.cognitiveservices.speech as speechsdk.
  • SpeechConfig holds the key and endpoint, plus speech_recognition_language and speech_synthesis_voice_name.
  • SpeechRecognizer + AudioConfig(filename=...) or use_default_microphone=True gives speech to text.

🎯 Exam tip: "Read text aloud in a natural voice" = text to speech with a neural voice.

⚠️ Watch out: Using recognize_once for long recordings. It stops after one utterance (about 30 seconds max).

Use Images in Prompts with a Multimodal Model

A multimodal model such as GPT-4.1, GPT-4o or the GPT-5 family can read images as part of a prompt. In the Foundry chat playground you attach a photo and ask about it. In code you send a user message with an input_text part and an input_image part, where the image is an https URL or a base64 data URL. The model describes, compares, reads text or answers questions about the image, but it can still misread small details, so ask specific questions and check important answers.

  • Multimodal models (GPT-4.1, GPT-4o, GPT-5 family) accept images alongside text.
  • In the chat playground, attach an image to your message and ask about it.
  • In code, the user content has input_text and input_image parts.

🎯 Exam tip: "Ask questions about a photo in a prompt" = multimodal model with an input_image part.

⚠️ Watch out: Sending an image to a text-only deployment and expecting it to see the picture.

Generate Images with Generative Models

You create new visual output by deploying an image-generation model such as gpt-image-1 in Microsoft Foundry and sending it a text prompt, either in the images playground or from code with images.generate. You choose the size and quality, the model returns the picture as base64 data, and guardrails check the prompt and the image while content credentials mark the result as AI-generated.

  • Image-generation models create new images from text prompts; gpt-image-1 is the current OpenAI model in Foundry.
  • Test in the images playground first, then call images.generate from code with the deployment name.
  • Size and quality are the main settings; higher quality takes longer and costs more.

🎯 Exam tip: "Create a new image from a description" = an image-generation model such as gpt-image-1.

⚠️ Watch out: Sending an image-generation request to a chat model deployment. You need an image model deployment.

Build an App with Vision Capabilities

A lightweight vision app reads an image file, encodes it as base64 and sends it to a multimodal model deployment (such as GPT-4.1) through the Foundry SDK, with an input_image part next to an input_text question in responses.create. The model's reply comes back in response.output_text. For fixed outputs like captions, tags and OCR, Azure Vision in Foundry Tools image analysis is the lighter alternative.

  • A vision app sends an image plus a question to a multimodal model deployment and reads the text reply.
  • With the Foundry SDK, get the OpenAI client from AIProjectClient and call responses.create.
  • The image goes in an input_image part as a base64 data URL or an https URL.

🎯 Exam tip: "Ask a question about a photo from a Python app" = multimodal model + input_image in the Foundry SDK.

⚠️ Watch out: Sending an image to a text-only model. The deployment must be multimodal.

Content Understanding for Documents and Forms

Azure Content Understanding in Foundry Tools turns documents and forms into structured data. You pick an analyzer: a prebuilt one such as prebuilt-invoice, prebuilt-receipt, prebuilt-layout or prebuilt-documentSearch, or a custom analyzer built on prebuilt-document with your own fields using extract, classify or generate. Each field comes back with a confidence score from 0 to 1 and a grounding link to where it was found on the page.

  • Content Understanding uses generative AI to turn documents into Markdown plus JSON fields you define.
  • Prebuilt analyzers include prebuilt-invoice, prebuilt-receipt, prebuilt-layout, prebuilt-read and prebuilt-documentSearch.
  • Custom document analyzers start from prebuilt-document (set as the base analyzer) and add a field schema.

🎯 Exam tip: "Pull totals and dates from invoices with no training" = prebuilt-invoice in Content Understanding.

⚠️ Watch out: Thinking you must label and train on hundreds of samples. Prebuilt analyzers and described fields work without training.

Content Understanding for Images

Azure Content Understanding extracts information from images with an analyzer. The prebuilt prebuilt-imageSearch analyzer returns a written description of a photo, ready for search. For your own fields, you build a custom analyzer on the base analyzer prebuilt-image and add fields that use classify (pick from a list, such as damage type) or generate (write a value, such as a short description). Extract isn't available for images, and every field still comes back with a confidence score.

  • prebuilt-imageSearch describes an image so it can be searched.
  • Custom image analyzers start from prebuilt-image as the baseAnalyzerId.
  • Image fields use classify or generate. Extract is for documents only.

🎯 Exam tip: "Describe each photo for search" = prebuilt-imageSearch.

⚠️ Watch out: Choosing the extract method for an image field. It only works with documents.

Content Understanding for Audio and Video

Azure Content Understanding turns recordings into structured data. prebuilt-audioSearch returns a transcript with speaker labels and a summary of a call or meeting. prebuilt-videoSearch splits a video into segments with key frames, transcript and descriptions. For business fields, such as call sentiment or whether an agent offered a refund, you build a custom analyzer on prebuilt-audio or prebuilt-video with classify or generate fields.

  • prebuilt-audioSearch returns a transcript with speaker labels and a summary.
  • prebuilt-videoSearch returns segments, key frames, transcript and descriptions.
  • Custom audio and video analyzers are based on prebuilt-audio and prebuilt-video.

🎯 Exam tip: "Transcript, speakers and summary of a recorded call" = prebuilt-audioSearch.

⚠️ Watch out: Thinking you must run Azure Speech first. Content Understanding transcribes as part of the analysis.

Build an Information Extraction App

A lightweight extraction app uses the azure-ai-contentunderstanding Python package. It creates a ContentUnderstandingClient with your Foundry endpoint and a credential, calls begin_analyze with an analyzer ID (such as prebuilt-invoice or your custom analyzer) and the file, waits on the poller, then reads result.contents[0].fields. Each field has a value and a confidence, so the app saves high-confidence values and sends low-confidence ones to human review.

  • Install azure-ai-contentunderstanding and create a ContentUnderstandingClient with the endpoint and a credential.
  • begin_analyze takes an analyzer ID and inputs, and returns a poller.
  • poller.result() returns the result; fields live in result.contents[0].fields.

🎯 Exam tip: "Start analysis from Python" = begin_analyze on ContentUnderstandingClient.

⚠️ Watch out: Forgetting to call result() on the poller and trying to read fields from the poller itself.

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.