Lesson 22 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
22 min
Final review and exam day: every decision on one page
Review every decision and code pattern the exam tests and walk into exam day with a method.
By the end of this lesson you can
- Pick the right answer in each look-alike group by its deciding word
- Recognize every code pattern the course taught, line by line
- Budget 45 minutes with flag and review, and know the retake rules
From earlier lessons · 1 of 2
Fernhill Travel needs the reason for each of 400 recorded helpline calls, from a fixed list. What should you build?
Pick one answer.
From earlier lessons · 2 of 2
Which field method copies a value exactly as it appears in a document?
Pick one answer.
Fernhill Travel's AI features are live: reviews tagged, the helpline listening, posters drawn and forms read. Your first mock score is in, and most misses weren't gaps. You picked transparency when the question was about who answers for the system, and top_p when it asked about temperature. This page fixes exactly that.
How to use this page. Each table squeezes one decision from an earlier lesson into a line. The (Ln) tag names the lesson to reread if a row feels shaky. Read a table, cover the right column, and say the answer before you look.
Responsible AI: six principles (L3)
Exam depth: know it cold.
| Principle | Means | Scenario word |
|---|---|---|
| Fairness | Equal outcomes for similar people. | Loan approvals differ by gender. |
| Reliability and safety | Works as intended, handles the unexpected. | Testing, content filters, human oversight. |
| Privacy and security | Protects data; uses only what it may. | Consent, masking personal data. |
| Inclusiveness | Empowers everyone, including people with disabilities. | Spoken itineraries for a blind customer. |
| Transparency | Users understand what it does and its limits. | Tell users they're talking to AI; explain decisions. |
| Accountability | People answer for the system. | Governance, an owner, human sign-off. |
Trap pairs: transparency is about understanding; accountability is about who is responsible. Fairness is about equal outcomes; inclusiveness is about access for everyone.
Match
Match each Fernhill Travel situation to the principle it tests.
Pick an item on the left, then its match on the right.
Models, deployments and parameters (L4-L6)
Exam depth: know it cold.
| Need | Pick | (L) |
|---|---|---|
| Chat, write, summarize. | Chat or completion model. | L5. |
| Multi-step logic, maths, planning. | Reasoning model. | L5. |
| Search by meaning, grounding data. | Embedding model. | L4, L5. |
| New pictures from a prompt. | Image-generation model. | L5, L19. |
| Images or audio as input. | Multimodal model. | L5, L18, L19. |
| Start here, lowest price. | Global Standard deployment. | L6. |
| Data must stay in the EU or US zone. | Data Zone deployment. | L6. |
| Predictable high throughput. | Provisioned deployment (reserved PTU). | L6. |
| Big jobs, results within 24 hours, half price. | Batch deployment. | L6. |
Parameters: temperature and top_p both control randomness; change one, not both. Higher temperature means more varied, not more accurate. Max tokens caps reply length. Stop sequences end the reply at a set text. You call a model by its deployment name.
A tour description generator gives the same wording every time. Marketing wants more varied text. Which setting should you change first?
Pick one answer.
Workloads and Foundry Tools (L7-L11)
Exam depth: know it cold.
| Need | Tool |
|---|---|
| Sentiment, key phrases, entities, PII, language. | Azure Language. |
| Speech to text, text to speech, speech translation. | Azure Speech. |
| Translate text between languages. | Azure Translator. |
| Image tags, captions, objects (legacy). | Azure Vision. |
| Fields from documents, images, audio, video. | Azure Content Understanding. |
| Standard forms at scale, deterministic. | Azure Document Intelligence. |
| Detect harmful content. | Azure AI Content Safety. |
| Open-ended answers, custom formats. | A deployed generative model. |
Look-alikes: NER labels people, places and dates; key phrases list talking points. OCR reads all text; field extraction returns named values. Speech recognition listens; synthesis speaks. Object detection draws boxes; classification labels the whole image. Prebuilt tool for standard tasks with scores; multimodal model for flexible, custom output.
A travel firm needs invoices from 30 suppliers turned into vendor, date and total fields every day. The forms are standard invoices, and results must be fast and consistent. What should you use?
Pick one answer.
Prompts, portal and agents (L12-L16)
Exam depth: know it cold.
- System message (instructions): persona, rules, format, safety. User message: the request. Assistant messages: earlier replies, sent back as history.
- Few-shot: examples in the prompt. Grounding: facts you add so the model answers from them.
- Portal flow: project, deploy a model, test in the playground, view code, delete when done.
- Chat app vs agent: a chat app sends prompts to a model. An agent adds instructions and tools such as file search, code interpreter, web search, functions or MCP, and can take actions toward a goal.
- Agent types: a prompt agent is defined in Foundry with instructions, a model and tools, with no code to host.
Fernhill Travel's assistant must look up live seat availability through a booking API and then reserve a seat. Which should you build?
Pick one answer.
Code patterns to recognize (L2, L14-L21)
Exam depth: know it cold.
| Task | Key lines |
|---|---|
| Connect to a project | AIProjectClient(endpoint=..., credential=DefaultAzureCredential()). |
| Chat with a model | openai = project.get_openai_client() then openai.responses.create(model="<deployment>", input=...), read output_text. |
| Talk to an agent | project.get_openai_client(agent_name=...), openai.conversations.create(), then responses.create(conversation=conversation.id, input=...). |
| Text analysis | TextAnalyticsClient(endpoint, AzureKeyCredential(key)), analyze_sentiment([...]). |
| Speech | SpeechConfig, SpeechRecognizer(...).recognize_once_async().get(), SpeechSynthesizer(...).speak_text_async(text).get(). |
| Image in a prompt | {"type": "input_image", "image_url": ...} next to input_text. |
| Generate an image | client.images.generate(model=..., prompt=..., size=..., quality=...), read b64_json. |
| Extract with Content Understanding | client.begin_analyze(analyzer_id=..., inputs=[AnalysisInput(url=...)]), then poller.result(). |
Some agent samples pass an agent_reference in the request instead of agent_name; both name the agent to call.
Put in order
Put the lines of a minimal Foundry chat client in order.
Drag, or focus an item and press Space, move with the arrow keys, then Space to drop.
- project = AIProjectClient(endpoint=..., credential=DefaultAzureCredential())
- print(response.output_text)
- from azure.ai.projects import AIProjectClient
- openai = project.get_openai_client()
- response = openai.responses.create(model="fh-chat", input=question)
Complete the agent client. conversation = openai.conversations.create() then response = openai.responses.create(____=conversation.id, input="Any seats in June?"). What goes in the blank?
Pick one answer.
Exam day: the clock, the rules and the method
Facts to know cold.
| Item | AI-901 |
|---|---|
| Exam time | 45 minutes; allow 65 minutes of seat time. |
| Passing score | 700 on a scale of 1 to 1,000. A scaled score isn't 70% of points. |
| Microsoft Learn during the exam | Not available on Fundamentals exams. |
| Wrong answers | No penalty for guessing, so answer everything. |
| Unscored questions | Some may not count, and you can't tell which. |
| Retakes | Wait 24 hours after the first fail, then 14 days between later tries. |
| Attempt limit | At most 5 attempts in 12 months. |
| ID | Original, valid, government-issued ID with name, photo and signature. |
Book through Pearson VUE, online or at a test centre. The name on your certification profile must match your ID exactly.
A 45-minute plan. Most Microsoft exams have 40 to 60 questions, so aim for under a minute each.
- Minutes 0-35: one pass through every question. Answer, mark the doubtful ones, keep moving.
- Minutes 35-43: the review screen. Revisit marked items only.
- Minutes 43-45: check nothing is unanswered.
Code questions are short: find the line the question names, then the one value that changes. If you take a break, the clock keeps running and you can't return to any question you saw before it.
Exam-style practice
An airline wants a chatbot that sometimes answers in surprising ways to make ads more creative. Engineers already raised temperature. A tester also raised top_p, and results became hard to control. What does Microsoft recommend?
Pick one answer.
For each statement, select Yes if it is true. Statement: during the AI-901 exam you can open Microsoft Learn to check a method name.
Pick one answer.
A museum app must describe exhibit photos aloud for visitors who are blind, in a friendly tone. Which pair of services fits best?
Pick one answer.
Worth keeping
- Every look-alike question has a deciding word; each table here pairs one with its answer.
- Code questions test a few lines: client, deployment name, input part, begin_ and .result().
- 45 minutes, no Learn access: one pass, mark doubts, review, never leave a blank.
- Missed a row? Reread the lesson in its (L) tag, then sit a mock exam.
Next comes mock exam 1: 45 questions in the real format, with 45 minutes on the clock. Sit it in one go, mark questions as you would on the day, and see which rows on this page you need to read again.
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 (22)
Each fact in the lesson is marked with the number of the page it comes from.
- [1]Microsoft Learn: About online exams with Pearson VUE
- [2]Microsoft Learn: Study guide for Exam AI-901: Microsoft Azure AI Fundamentals
- [5]Microsoft Learn: Exam duration and exam experience
- [6]Microsoft Learn: Exam scoring and score reports
- [9]Microsoft Learn: Exam and Applied Skills assessment lab retake policies
- [13]Microsoft Learn: What is Responsible AI?
- [18]Microsoft Learn: Quickstart: Get started with Microsoft Foundry SDK
- [27]Microsoft Learn: Responsible AI for agent design
- [34]Microsoft Learn: Foundry Models sold by Azure
- [44]Microsoft Learn: Deployment types for Microsoft Foundry Models
- [50]Microsoft Learn: Prompt engineering techniques
- [52]Microsoft Learn: What are Foundry Tools?
- [57]Microsoft Learn: What is Azure Language in Foundry Tools?
- [61]Microsoft Learn: Choose the right Azure AI tool for document processing
- [86]Microsoft Learn: How to use image generation models from OpenAI
- [102]Microsoft Learn: Use the Azure OpenAI Responses API
- [103]Microsoft Learn: Agents in Microsoft Foundry
- [110]Microsoft Learn: Azure Text Analytics client library for Python
- [116]Microsoft Learn: Speech to text quickstart
- [117]Microsoft Learn: Text to speech quickstart
- [124]Microsoft Learn: Quickstart: Azure Content Understanding in Foundry Tools
- [128]Microsoft Learn: Exam and assessment lab security policy