Skip to content
L-SYSTEM

Exam map and the Foundry landscape

Preview unit: this one is open without enrolling. The rest open after you enrol.

Material and exam: English · your assistant leads the lesson How to connect an assistant

Take this lesson with your assistant

Exam objective (whole exam): AI-901 Microsoft Azure AI Fundamentals, skills measured as of April 15, 2026 — Identify AI concepts and capabilities (40–45%) and Implement AI solutions by using Microsoft Foundry (55–60%). This unit is the map: what the exam covers, where each topic lives in this course, and the Foundry building blocks (resource, project, portal, SDK, sign-in) that every later unit assumes. It ends with the lab environment you will reuse in u12–u19.

1. The pain: "just use Foundry"

Aldervane Advisory LLP's CIO has approved Microsoft Foundry for internal AI work. Priya, a developer in Digital & IT who looks after ENGAGE (the engagement and billing platform), gets a one-line brief: "Prototype a Service Desk assistant in Foundry."

Her first afternoon goes like this:

  • She opens the Azure portal, then ai.azure.com, and cannot tell which of the two she is supposed to work in.
  • A colleague's sample script has an API key pasted into it. The script is already in a Git repo.
  • She finds three different "endpoints" on three different pages and does not know which one her code needs.
  • A manager asks whether client data will "go to OpenAI". She has no answer.

None of this is AI. It is the platform around the AI — and it is exactly what the exam's Domain 2 assumes you already know. So we start here.

2. The exam on one page

AI-901 is a developer-oriented fundamentals exam, not a tour of service names: you are expected to read short Python snippets and to know where things are in the Foundry portal.

exam AI-901 pass mark 700 / 1000 d1 Domain 1 (40-45%) Identify AI concepts and capabilities exam->d1 d2 Domain 2 (55-60%) Implement AI solutions with Microsoft Foundry exam->d2 d1a Responsible AI u06 d1->d1a d1b Models, deployment, parameters u03 u04 u05 d1->d1b d1c AI workloads u02 u07 u08 u09 u10 d1->d1c d2a Generative AI and agents u11-u15 d2->d2a d2b Text and speech u16 u17 d2->d2b d2c Vision and images u18 d2->d2c d2d Information extraction u19 d2->d2d
FigureMap of the AI-901 exam — two domains, their weights, and the course units that cover each area.
Description

A tree read from left to right. The root box is AI-901 with a pass mark of 700 out of 1000. It splits into Domain 1, Identify AI concepts and capabilities, weighted 40 to 45 percent, and Domain 2, Implement AI solutions with Microsoft Foundry, weighted 55 to 60 percent. Domain 1 branches into Responsible AI (u06); models, deployment and parameters (u03, u04, u05); and AI workloads (u02 and u07 to u10). Domain 2 branches into generative AI and agents (u11 to u15), text and speech (u16, u17), vision and images (u18) and information extraction (u19). It shows where to study each area; it does not show question counts, which Microsoft does not publish per area.

Domain Weight What it really tests Course units
1. Identify AI concepts and capabilities 40–45% Vocabulary and judgement: which workload, which model, which deployment option, which Responsible AI principle u02–u10
2. Implement AI solutions by using Microsoft Foundry 55–60% Doing: prompts, deploying and testing in the portal, short Python clients with the Foundry SDK, agents, speech, vision, Content Understanding u11–u19

Things worth knowing about the exam itself (details and strategy in u20):

  • Pass mark: 700 on a 1–1000 scale. It is a scaled score, not "70% of questions".
  • Time: Microsoft lists fundamentals exams at about 45 minutes of exam time inside a longer seat time. Check the exam page before you book — Microsoft can change it.
  • No labs. Fundamentals exams do not contain live labs. "Implement" questions are answered by reading code, portal paths and scenarios — which is why this course has a No subscription? path in every lab.
  • Question formats you may meet: multiple choice, "Yes/No" statement sets, drag-and-drop matching, build-a-list (put steps in order), hot area on a screenshot. The practice items in this course imitate these.
  • Mostly GA features. The study guide says most questions cover generally available features; a preview feature may appear if it is commonly used.
  • Free rehearsal: Microsoft offers a free practice assessment and an exam sandbox (a demo of the exam interface). Use both in the last week.

Exam trap — "Fundamentals" does not mean "no code". The AI-901 audience is described as beginning AI developers with Python knowledge. Expect to see AIProjectClient(...) and responses.create(...) and to pick the missing line.

3. The solution: four layers of Foundry

Sketchnote of nested boxes — a RESOURCE box contains a PROJECT box, which holds a DEPLOYMENT and an AGENT.
FigureSketchnote of nested boxes — a RESOURCE box contains a PROJECT box, which holds a DEPLOYMENT and an AGENT.
Description

A colourful hand-drawn sketchnote of boxes nested like Russian dolls. The outer azure-blue box has a small cloud with a padlock and is labelled RESOURCE. Inside it sits a teal box with a folder icon labelled PROJECT. Inside the project are two small tiles side by side: a sunny-yellow tile with a brain labelled DEPLOYMENT and a violet tile with a robot labelled AGENT. A coral arrow enters the outer box from a laptop at the bottom left, labelled SDK. The single idea is containment: the Azure resource is the billing and security boundary, the project is the workspace inside it, and deployments and agents are what you build and call. It does not show the Azure subscription or resource group above the resource, and it does not show that several projects can share one resource.

Microsoft describes Microsoft Foundry as a unified platform-as-a-service for building, deploying and managing AI applications and agents. For the exam you need four layers and one rule.

Layer What it is Aldervane example
Foundry resource An Azure resource (it lives in a subscription, resource group and region). It provides access to models, the agent service, quotas, networking and security settings. It is the boundary for security, billing and quota aldervane-ai-weu in West Europe
Foundry project A workspace inside a Foundry resource where you build agents, run evaluations, keep files and datasets, vector indexes and connections. One resource can hold many projects, one per use case engage-servicedesk, and later timesheet-insights
Deployment A model from the catalog made callable under a deployment name you choose, with a deployment type and a rate limit (u05) gpt-5-mini for the Service Desk bot
Agent Model + instructions + tools, saved under a name (u14) engage-helpdesk

The rule: the resource is the boundary, the project is the workspace. Networking, keys and quota are settled at the resource; everyday build work happens in a project. Priya's team creates one resource for Digital & IT and a project per product, rather than a resource per developer.

Around these layers sit:

  • Model catalog — thousands of models from Microsoft, OpenAI, Anthropic, Meta, Mistral, DeepSeek, xAI and others (u04).
  • Foundry Tools — task-specific Azure services exposed through Foundry: Azure Language, Azure Speech, Azure Vision, Azure Content Understanding and more. The course uses Microsoft's current naming, e.g. Azure Speech in Foundry Tools. Older material calls the same family "Azure AI services" or "Cognitive Services".
  • Foundry IQ — a knowledge layer that lets agents retrieve grounded, cited answers from your own data (touched on in u14).

Exam trap — Foundry resource vs Foundry project. "Where do you set networking, quotas or the security boundary?" → the resource. "Where do you build an agent or run an evaluation?" → the project.

The portal

The Foundry portal is at https://ai.azure.com. As of September 2026 it has a New Foundry switch in the toolbar; the new experience shows Foundry projects only, while the classic experience still shows older resource types. With the new experience on, the Microsoft lab describes five areas:

Area What you do there
Home See the project endpoint, API key and Azure OpenAI endpoint
Discover Browse the model catalog and tools
Build Create agents and workflows, deploy models, configure tools
Operate Assets, compliance, quotas, admin
Docs Documentation (plus an Ask AI helper)

Labels move often. If yours differ, find the step by purpose, not by name.

Azure portal vs Foundry portal. The Azure portal (portal.azure.com) is where you manage Azure resources: resource groups, networking, Access control (IAM), cost, deletion. The Foundry portal is where you work with models, agents and playgrounds. You will clean up in the Azure portal.

Endpoints: which URL does my code need?

Endpoint Looks like Used by
Project endpoint https://<resource>.services.ai.azure.com/api/projects/<project> The Foundry SDK (AIProjectClient) — models, agents, tools in the project
Azure OpenAI endpoint https://<resource>.openai.azure.com/... Plain OpenAI-compatible clients calling a deployment directly
Foundry Tools endpoint https://<resource>.cognitiveservices.azure.com/ Service SDKs such as Azure Language or Azure Speech

In this course the project endpoint is the default answer for Foundry SDK code.

The SDK

The Python "Foundry SDK" is a small set of packages:

Package What you import Why
azure-ai-projects (2.x) AIProjectClient Connects to a project; get_openai_client() returns an OpenAI-compatible client for models and agents
azure-identity DefaultAzureCredential Keyless sign-in with Microsoft Entra ID
openai (used through get_openai_client()) The Responses API calls: responses.create(...)

Service-specific SDKs come later: azure-ai-textanalytics for Azure Language (u16), azure-cognitiveservices-speech for Azure Speech (u17).

Sign-in: keys vs Microsoft Entra ID

A Foundry endpoint accepts either an API key or a Microsoft Entra ID token.

Sketchnote — a developer signs in with AZ LOGIN, DefaultAzureCredential fetches a TOKEN, the PROJECT checks the ROLE; a crossed-out KEY lies aside.
FigureSketchnote — a developer signs in with AZ LOGIN, DefaultAzureCredential fetches a TOKEN, the PROJECT checks the ROLE; a crossed-out KEY lies aside.
Description

A colourful hand-drawn sketchnote in one row from left to right. A teal tile shows a developer at a terminal labelled AZ LOGIN. An arrow leads to a sunny-yellow tile with a ticket stub labelled TOKEN. The next arrow leads to an azure-blue tile with a folder labelled PROJECT, and above that a small violet badge with a shield labelled ROLE, meaning the project checks the caller's role. Below the row, a coral key doodle is crossed out with a big X and labelled KEY. The idea: in code you sign in with an identity and receive a short-lived token, instead of copying a long-lived secret key. It does not show managed identities or Key Vault, which are the production versions of the same idea.

  • Key: a long random string. Anyone who has it can call your endpoint and spend your money. Keys leak through Git, screenshots and Teams messages.
  • Entra ID (keyless): your code asks for a short-lived token for an identity — you on your laptop, a managed identity in production. Access is governed by role-based access control (RBAC) on the resource or project.

DefaultAzureCredential tries a chain of sign-in methods (environment variables, managed identity, Azure CLI login and others) and uses the first that works. On a laptop that usually means az login; in Azure it means a managed identity — same code, no secret.

The least-privilege built-in role for a developer who builds and tests in a project is Foundry User. Microsoft renamed the Foundry roles in 2026: you will still see the previous name Azure AI User in many pages and in older exam material. Creating projects needs a higher role on the resource.

If you ever must use a key (some quick demos), put it in Azure Key Vault or at least an environment variable — never in source code.

Exam trap — DefaultAzureCredential is not a key. It holds no secret; it finds an identity. If a question says "without storing credentials in code" or "use the developer's Azure CLI sign-in", the answer is Entra ID via DefaultAzureCredential.

4. The cost

  • The resource is the compliance boundary. Its region decides where data at rest lives. Pick the region deliberately — for Aldervane's EU clients, an EU region (u05 adds Data Zone deployments to this story).
  • Keys are a standing risk. A leaked key is valid until someone rotates it. Entra ID tokens expire within hours and can be tied to a person or service.
  • Things cost money while they exist. An empty project costs little, but deployments with provisioned capacity, search indexes and other attached services bill while they exist. Every lab in this course ends with Delete resource group.
  • Role sprawl. Owner rights on the resource for every developer is convenient and wrong. Grant Foundry User on the project; keep resource-level rights for the platform team.
  • Moving target. Portal labels, role names and package versions change within months. Learn the concept, then look up today's label.

5. Lab — set up your AI-901 environment

You need: an Azure subscription in which you may create resources (a personal pay-as-you-go or Visual Studio subscription is fine; a locked-down corporate tenant may block you), Python 3.10 or later, the Azure CLI, and about 25 minutes. Cost: a few cents if you delete the resource group at the end of each lab, or keep the project and delete deployments you don't use.

  1. Create the project. Open https://ai.azure.com, sign in, switch New Foundry on, and create a project. Give it a new resource group (e.g. rg-ai901) and choose a region from the recommended list Microsoft publishes for Foundry. The wizard creates the Foundry resource and the project together.
  2. Find the project endpoint. On the project's Home page, copy the Project endpoint (it ends in /api/projects/<your-project>).
  3. Deploy a small model. Discover → Models → pick a small chat model (the Microsoft labs use gpt-5-mini; if it is unavailable in your region, take the smallest GPT model offered) → Deploy with default settings. Note the deployment name.
  4. Local Python environment:
python -m venv .venv
# Windows: .venv\Scripts\activate    macOS/Linux: source .venv/bin/activate
pip install azure-ai-projects azure-identity openai
az login
  1. Set environment variables (never paste values into code):
# PowerShell: $env:PROJECT_ENDPOINT="https://..."   bash: export PROJECT_ENDPOINT="https://..."
export PROJECT_ENDPOINT="https://<resource>.services.ai.azure.com/api/projects/<project>"
export MODEL_DEPLOYMENT="gpt-5-mini"
  1. Smoke test — save as hello_foundry.py and run it:
import os
from azure.identity import DefaultAzureCredential
from azure.ai.projects import AIProjectClient

project = AIProjectClient(
    endpoint=os.environ["PROJECT_ENDPOINT"],
    credential=DefaultAzureCredential(),   # uses your az login, no key
)
client = project.get_openai_client()

response = client.responses.create(
    model=os.environ["MODEL_DEPLOYMENT"],   # the deployment name, not the catalog name
    input="In one sentence: what is a Foundry project?",
)
print(response.output_text)
  1. If you get an authorization error, your account lacks a role on the project. In the Azure portal open the Foundry resource → Access control (IAM) → add the Foundry User role (shown as Azure AI User in some tenants) for yourself, wait a few minutes and retry.
  2. Cleanup. If you will continue with u12 within a few days, you may keep the project and delete only unused deployments. Otherwise: Azure portal → rg-ai901 → Delete resource group.

No subscription, or Foundry blocked on the corporate tenant? Read the code in step 6 line by line and answer: which line signs in, which value is the project endpoint, which is the deployment name, and which call sends the prompt. That is exactly the level of reading the exam asks for.

6. Exam traps — summary

  • Resource = Azure boundary for security, networking, quota, billing. Project = workspace for agents, evaluations, files, indexes, connections. One resource → many projects.
  • AIProjectClient needs the project endpoint, not the Azure OpenAI or Foundry Tools endpoint.
  • DefaultAzureCredential = keyless Entra ID sign-in (az login locally, managed identity in Azure). It stores no secret.
  • If a key is unavoidable → Azure Key Vault, never source code.
  • Least-privilege developer role on a project → Foundry User (formerly Azure AI User).
  • model= in responses.create is your deployment name.
  • Fundamentals exams have no live labs; you read code and portal paths instead.
  • Passing = 700 scaled score.

7. Remember the pictures

Redraw the nesting boxes — RESOURCE ⊃ PROJECT ⊃ DEPLOYMENT and AGENT — and the keyless row: AZ LOGIN → TOKEN → PROJECT checks ROLE, with the KEY crossed out. Then redraw the exam map with its two weights. If you can, you know where every later unit fits.

Sources: Microsoft Learn — Study guide for Exam AI-901; Exam AI-901 exam page; Exam duration and exam experience; learning path Get started with AI applications and agents on Azure (module Get started with AI in Azure: units Microsoft Foundry for AI, Using Microsoft Foundry endpoints); Microsoft Foundry SDKs and endpoints; Role-based access control for Microsoft Foundry; lab Get started with Microsoft Foundry (microsoftlearning.github.io/mslearn-ai-fundamentals).

Practice

Checking here changes nothing: answers start counting once you enrol on the course.

  1. Priya wants a workspace where her team builds the Service Desk agent, keeps its test files and runs evaluations, separate from other teams' AI work on the same Azure resource. What should she create?

  2. Where is each thing primarily managed: at the Foundry resource or in a Foundry project?

    1. Network isolation and the security boundary
    2. Agents built for one use case
    3. Evaluations of an agent
    4. Quota and operational controls
    5. Files and datasets uploaded for testing
  3. Yes or No? A single Foundry resource can contain several Foundry projects, each focused on a different AI use case.

  4. Aldervane's security team forbids storing any secret in source code. A Python app must call a Foundry project from a developer laptop today and from Azure App Service later, with the same code. What should the app use to authenticate?

  5. A script starts with `from azure.ai.projects import AIProjectClient`. Which package must be installed for this import to work?

  6. On a developer laptop, DefaultAzureCredential can reuse the developer's Azure CLI sign-in. The Azure CLI command that performs this sign-in is `az `.

  7. Which value should be passed as `endpoint=` when creating `AIProjectClient`?

  8. In the new Foundry portal, where do you find the project endpoint to copy into your code?

  9. A new developer must build and test agents in an existing Foundry project but must not create projects or change the resource. Which built-in role is the least-privilege choice?

  10. A demo tool only supports API-key authentication for a Foundry endpoint. Where should the production copy of the key be kept?

  11. Yes or No? The AI-901 exam includes live labs in which you deploy a model in a real Foundry project.

  12. Match each skill to the AI-901 domain that measures it.

    1. Identify which Responsible AI principle a scenario violates
    2. Build a lightweight chat client with the Foundry SDK
    3. Choose an appropriate model based on its capabilities
    4. Extract fields from invoices with Azure Content Understanding
    5. Create and test a single-agent solution in the Foundry portal
  13. In `client.responses.create(model=os.environ["MODEL_DEPLOYMENT"], input=...)`, what must MODEL_DEPLOYMENT contain?