Topic 5 of 10 · Foundry
What makes an AI agent an agent, AI-901 edition
An agent is a deployed model with instructions, tools and knowledge, allowed to choose which tool to use and to take more than one step before it answers. AI-901 asks you to create and test a single-agent solution in the Foundry portal and to build a lightweight client app for it (sub-area 2.1), and to recognize agentic AI in a scenario (sub-area 1.3), per the April 2026 skills outline.
- ExamAI-901 (replaced AI-900 on June 30, 2026)
- Skill areaFoundry · 55–60%
- Questions here12
- UpdatedOct 19, 2026
Map 1
Does this job need an agent?
“Agent” is now stuck on products that are a chat box with a new logo, so the exam’s narrower definition is worth holding onto. Sort each job by what it has to do; the finer line is drawn on AI agents vs chatbots.
| Scenario | What it takes | Build |
|---|---|---|
| Rewrite a paragraph of a lease in plainer English | One reply, no actions | Chat appA deployment and a system message are enough. |
| Answer support questions across an archive already indexed in Azure AI Search | Knowledge lookup | Agent with a search tool |
| Open a ticket in the help-desk system when an employee reports a broken laptop | Action in another system | Agent with an action tool |
| Collect last week’s outage reports, total the downtime and email the on-call lead | Several steps and tools | Agent plus approvalMail sent in someone’s name is a step to put a person in front of; see responsible AI. |
The parts of a Foundry agent
- Model
- A deployment in your project. It reads the conversation and decides what to do next.
- Instructions
- Role, scope, tone, and when to reach for which tool. Vague instructions produce an agent that calls tools at odd moments.
- Tools
- Functions and APIs it can call, a sandbox for running code, and sources it can search. Tool names change between versions of the service; the categories hold.
- Knowledge
- Files or indexes the agent searches so that replies come from your content instead of the model’s general training.
Fig. 1
One agent run
Building one agent in the portal
Deploy a model
The agent runs on a model deployed in your project. Where projects, deployments and agents live is on Foundry portal, SDK and tools.
Write the instructions
State the job, the limits and when each tool applies. Then cut them by a third.
Attach only the tools it needs
Every extra tool is one more wrong choice available to the model.
Test it with awkward requests
Chat with it in the portal, ask the questions it should refuse, and check what it did as well as what it said.
Give it a client
The outline’s last agent skill is a lightweight client application: code that connects to your project and passes users’ messages to the agent instead of a bare model, the same reading-level Python as prompts and chat apps.
Oversight
Keep a person approving actions that move money, delete data or contact customers, and keep a record of what the agent did and why.
Worksheet
Label the agent’s parts
Scenarios here describe a job and ask which part of the agent handles it, or where to look when it misbehaves. Afterward, the practice test mixes agents with the rest of the Foundry skill area.
Questions come in batches of five. Pick an answer for each, then evaluate the batch: notes on all four options open under every question.
Accuracy by batch
0 evaluated · 0 right · 12 to go
Batch 1 questions 1–5
01
Which set of parts defines an agent in Microsoft Foundry?
Your label —The notes on all four options open when this batch is evaluated.
Answer: D
- Those are ingredients for training a model. An agent uses an existing model without retraining it.
- Index, schema and crawler describe a search solution, which an agent might use as one tool.
- Channels and keys are about access and delivery, not about how the agent reasons or acts.
- Correct: an agent pairs a model with instructions and tools, which let it retrieve knowledge and take actions.
02
What can an AI agent do that a basic chat app sending messages to a deployed model cannot?
Your label —The notes on all four options open when this batch is evaluated.
Answer: B
- Generating natural language is what both do; it doesn't separate an agent from a chat app.
- Correct: agents can call tools and chain steps to get work done; a plain chat call only returns generated text.
- A chat app follows a system message too; for agents the same job is called instructions.
- Follow-up questions work in a chat app as long as the conversation history is sent.
03
A retailer wants its Foundry agent to look up an order's shipping status in the company's existing REST API, which has an OpenAPI description. What should be added to the agent?
Your label —The notes on all four options open when this batch is evaluated.
Answer: A
- Correct: an OpenAPI tool lets the agent call the company's REST API from its description and fetch live status.
- Instructions shape behavior, but no amount of wording lets the model reach live order data.
- File search reads documents you upload. Static PDFs go stale the moment a parcel moves.
- Temperature affects how random the wording is, not access to an external system.
04
An HR agent should answer staff questions from a 200-page employee handbook. What is the recommended way to ground it in that document?
Your label —The notes on all four options open when this batch is evaluated.
Answer: C
- A whole handbook in the instructions crowds the context and must be re-pasted after every policy change.
- Fine-tuning is for style and format. It isn't the reliable way to teach a model a document's facts.
- Correct: file search indexes the handbook and retrieves the relevant passages for each question, which grounds the answers.
- Max tokens controls how long replies can be. It doesn't give the agent access to the handbook.
05
A business analyst wants to create a single agent and chat with it to test its answers, without writing code. Where can this be done?
Your label —The notes on all four options open when this batch is evaluated.
Answer: D
- The SDK route works, but it means writing code, which the analyst wants to avoid.
- Benchmarks compare models' scores; you can't chat with your own agent there.
- Cost Management tracks spending. Agents aren't built or tested there.
- Correct: the Foundry portal lets you build a prompt agent and chat with it in the agents playground, with no code.
0 of 5 labeled
Batch 2 questions 6–10
06
A lightweight client app for a Foundry agent receives a user's question. Which sequence describes what the app does with that question?
Your label —The notes on all four options open when this batch is evaluated.
Answer: A
- Correct: per question, the client sends the user's message within a conversation and reads back the agent's response.
- Retraining isn't part of answering a question; the agent uses its existing model.
- Search indexes are built ahead of time, if at all. The client doesn't crawl the web for each question.
- Publishing to a channel is a one-time distribution step, not what the client does with each message.
07
In a chat app, the system message sets the assistant's role, tone and rules. Which part of a Foundry agent does the same job?
Your label —The notes on all four options open when this batch is evaluated.
Answer: B
- The user's message carries the request; users don't set the agent's ground rules.
- Correct: the instructions tell the agent who it is and how to behave, just as a system message does in a chat app.
- Tools add abilities such as search or API calls. They don't define tone or rules.
- History records past turns. It gives context but doesn't set the agent's role.
08
Which scenario is the clearest example of agentic AI?
Your label —The notes on all four options open when this batch is evaluated.
Answer: C
- Drafting text is generative AI; nothing is done beyond returning words.
- Tagging photos is a computer vision workload. It labels; it doesn't plan or act.
- Correct: the assistant reasons over a policy and then acts through a tool, which is what makes it agentic.
- Forecasting from history is predictive machine learning, not an agent taking steps.
09
A finance team lets an agent prepare vendor payments but requires a named employee to approve each one before money moves. Which responsible AI principle does this control mainly support?
Your label —The notes on all four options open when this batch is evaluated.
Answer: D
- Transparency is about explaining the AI and its limits; an approval step doesn't explain anything.
- Privacy and security protect data and access. The control here is about who answers for decisions.
- Inclusiveness concerns serving people of all abilities and backgrounds, not payment approvals.
- Correct: a named person approving each payment keeps humans answerable for the agent's actions, which is accountability.
10
An analyst uploads a CSV of monthly sales and asks an agent to compute growth rates and draw a chart. Which tool lets the agent do this?
Your label —The notes on all four options open when this batch is evaluated.
Answer: A
- Correct: code interpreter runs Python in a sandbox, so the agent can calculate from the CSV and draw the chart.
- File search finds relevant text in documents; it doesn't calculate or plot anything.
- Web search pulls in public web results, which won't contain this company's sales.
- Function calling hands the work to your own code, which someone would have to write and run.
0 of 5 labeled
Batch 3 questions 11–12
11
A developer moves from a bare chat-completions client, which resends the whole message history with every call, to a Foundry agent. What changes about conversation history?
Your label —The notes on all four options open when this batch is evaluated.
Answer: C
- Models are stateless. Conversations are stored data, not changes to the model's weights.
- History still matters; the service now keeps it, so follow-up questions keep their context.
- Correct: the agent service stores the conversation, so the app adds new messages instead of resending everything.
- Resending history is how the bare chat client worked. The agent service removes that chore.
12
An agent gave a wrong delivery date, and the developer wants to see which tools it called, in what order, and what each returned. Where should they look?
Your label —The notes on all four options open when this batch is evaluated.
Answer: B
- Quota shows how much capacity is used, not what happened inside one run.
- Correct: a trace records every model call and tool invocation in order, with their inputs and outputs.
- A model card describes the model in general and knows nothing about this run.
- Instructions show what the agent was told to do, not the steps it actually took.
0 of 2 labeled
Keep these
- Instructions are standing orders: short, specific, and clear about when each tool applies.
- Knowledge grounds answers in your content; action tools reach other systems.
- Build and test in the Foundry portal first, then call the agent from a small client.
- High-impact actions get a human approver.