Try it yourself
AI-103 Practice Labs
A safe, simulated Microsoft Foundry and Cloud Shell in your browser. Deploy models, pin versions, send traffic until you hit a 429, lock down access, build guardrails and approve an agent action.
- ✅ No Azure account
- ✅ No credit card
- ✅ Nothing to install
- ✅ Zero cost, zero risk
Azure Cloud Shell (practice)
learner@Azure:~$ az cognitiveservices account deployment create -n contoso-ai -g rg-agents --deployment-name gpt-4.1-mini --model-name gpt-4.1-mini --sku-name DataZoneStandard --sku-capacity 10
"sku": { "name": "DataZoneStandard", "capacity": 10 }
learner@Azure:~$ python load_test.py --rps 5
HTTP 429 Too Many Requests (retry-after: 20)
learner@Azure:~$ ▌
Guided labs
Lab 1 · Beginner · ⏱ 10 min · ⌨️ Cloud Shell
Choose the model, ground the agent, give it memory
Contoso's support agent has four jobs and a memory problem. Pick the right model or Foundry Tool for each job, build a knowledge base for policy answers, and fix an agent that forgets its customers.
Lab 2 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Set up a Foundry resource and deploy the agent safely
Contoso's data must stay in the EU. Create the Foundry resource, deploy with a Data Zone deployment type, pin the version and capacity, then publish a new agent version and roll it back.
Lab 3 · Intermediate · ⏱ 8 min · ⌨️ Cloud Shell
Ship an agent through a pipeline with an evaluation gate
A prompt change hurt groundedness last month and nobody noticed until customers complained. Read the pipeline, see what happens without a gate, then add the gate.
Lab 4 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Quota, 429s, budgets and monitoring
Traffic triples at noon and users see errors. Read quota, reproduce the 429s, fix them three ways, set a token budget, then check metrics, evaluation scores and the search index.
Lab 5 · Intermediate · ⏱ 8 min · ⌨️ Cloud Shell
Go keyless and private
Security wants no keys and no public endpoint on Contoso's Foundry resource. Give the app's managed identity the right role, turn off key authentication, disable public access and add a private endpoint.
Lab 6 · Intermediate · ⏱ 14 min · ⌨️ Cloud Shell
Guardrails, evaluations and agent governance
Before launch, Contoso needs a guardrail that stops jailbreaks and hidden instructions, evidence that quality and safety hold up, and limits on what the agent may do. Build each, then test a refund through a human approval.
Lab 7 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Deploy two models and call them from Python
Contoso Retail wants one app that sends hard questions to a large model and simple ones to a small one. Deploy both, find the project endpoint, call each deployment keylessly, and see what happens when the app passes a model name instead of a deployment name.
Lab 8 · Intermediate · ⏱ 16 min · ⌨️ Cloud Shell
Ground answers with RAG, then evaluate them
The Contoso chatbot guesses return policies. Connect Azure AI Search, ingest the policy documents, compare an answer with and without retrieval, then score a dataset to find the fabricated reply and check safety.
Lab 9 · Intermediate · ⏱ 14 min · ⌨️ Cloud Shell
Build a checked flow, then route between models
Contoso handles warranty claim emails. Run a five-step flow with a tool and a verification, break the tool to see the fallback, then cut the bill by sending only the hard requests to the large model.
Lab 10 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Create an order agent with a function and memory
Priya asks Contoso's order agent where her order is. Create the agent with a strict function schema and file search, see it ask for a missing order number instead of guessing, then give it memory so it remembers a preference next week.
Lab 11 · Intermediate · ⏱ 15 min · ⌨️ Cloud Shell
Orchestrate agents and gate a refund with approval
A customer was charged twice and hasn't received the order. Run specialist agents in three patterns, then let a refund agent act with a person approving every refund and a hard limit in code.
Lab 12 · Intermediate · ⏱ 16 min · ⌨️ Cloud Shell
Evaluate agent runs, then trace and count tokens
The order agent passes demos, but real runs look odd. Score recorded runs with agent evaluators, read the error analysis, then switch on tracing to Application Insights and measure tokens and latency.
Lab 13 · Beginner · ⏱ 10 min · ⌨️ Cloud Shell
Tune a prompt and its parameters
Contoso's product descriptions come out different every time. Change temperature, add an example, cap the length too low, and try a self-critique pass to see what each one does.
Lab 14 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Generate and edit images with gpt-image
Priya Sweets needs fresh shop banners and a new sky in last week's shop photo. Deploy a gpt-image model, generate images with the right size, quality and format, edit with a mask, and see a guardrail stop an unsafe prompt.
Lab 15 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Create and remix a video with Sora 2
Marketing wants an 8-second clip of a brass tea kettle. Deploy Sora 2, discover its input rules, create the video from a reference image, then remix it with one change.
Lab 16 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Captions, visual Q&A and alt text
A claims team and a web team both have piles of photos. Use one multimodal model for short captions, detailed captions, a grounded question, accessible alt text and object locations.
Lab 17 · Intermediate · ⏱ 14 min · ⌨️ Cloud Shell
Content Understanding analyzers for photos and video
Fabrikam Insurance wants the same fields from every claim photo, and its safety team wants a training video split into topics. Run a prebuilt analyzer, build a custom image analyzer, then compare a video analyzer with and without segmentation.
Lab 18 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Defend against unsafe images and injected photos
Contoso Returns lets customers upload photos of damaged parcels. One photo has a sticky note that tries to order a refund, and the ad team needs banned logos rejected. Watch the attack work, defend against it, see the guardrail refuse an unsafe image request, and build a visual policy analyzer.
Lab 19 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Entities, summaries and strict JSON
Fabrikam's support tickets arrive as free text. Your app must pull out who, what and when, mask personal data, summarise each ticket, and hand the ticketing system JSON it can trust. Try Azure Language first, then a model with structured outputs, then a compliance summary tuned to the domain.
Lab 20 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Sentiment, tone, harmful content and PII
Contoso's community app shows customer reviews and comments, and its support agent reads vendor emails. Score the reviews, catch the tone a classifier misses, hold back a threat, redact only the personal data policy requires, and stop a hidden prompt injection.
Lab 21 · Intermediate · ⏱ 10 min · ⌨️ Cloud Shell
Translate with Azure Translator or a model
Contoso Pay sends refund messages in Tamil, Hindi and French. Translate with Azure Translator, keep the brand name intact, then try an LLM translation with a set tone and compare.
Lab 22 · Intermediate · ⏱ 15 min · ⌨️ Cloud Shell
Give an agent a voice, then translate and reason over audio
Contoso Pharmacy wants a phone agent: it listens, answers and speaks back. Then it has to handle Hindi callers and let supervisors ask questions about recorded calls. Build the speech loop, fix misheard drug names, translate speech and send audio to an audio-capable model.
Lab 23 · Intermediate · ⏱ 15 min · ⌨️ Cloud Shell
Build a search pipeline: data source, index, skillset, indexer
Contoso keeps its HR and finance policies as PDFs in Blob Storage, plus a scanned claim form. Build the four objects of an Azure AI Search pipeline with OCR, Text Split and an embedding model, notice what the first run misses, then fix it.
Lab 24 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Keyword, vector, hybrid and semantic search
The policy index already exists. Ask it the same question in four ways, find out where each one fails, and see why an index needs a semantic configuration before the ranker will run.
Lab 25 · Intermediate · ⏱ 15 min · ⌨️ Cloud Shell
Connect a knowledge base to an agent
The policy index is ready. Wrap it in a knowledge source and a knowledge base, compare minimal and low retrieval effort on a two-part question, then give a Foundry agent the knowledge base as a tool. The first call fails with a 403: find out why.
Lab 26 · Intermediate · ⏱ 12 min · ⌨️ Cloud Shell
Extract fields from claim forms with Content Understanding
Contoso's claims team receives insurance claim forms as PDFs with photos and handwriting. Set up Content Understanding, compare layout output with a custom analyzer, and learn why confidence scores matter.
Free sandbox
No tasks, no rules. Create anything, break anything, and explore the portal and Cloud Shell freely. Nothing here costs real money.
Hands-On Labs for every exam section
Pick the AI-103 section you're studying and practise it straight away.
Domain 1: Plan & Manage
1.1 Choose the appropriate Foundry services for generative AI and agents
1.2 Set up AI solutions in Foundry
1.3 Manage, monitor and secure AI systems
1.4 Implement responsible AI across generative AI and agentic systems
Domain 2: GenAI & Agents
2.1 Build generative applications by using Foundry
2.2 Build agents by using Foundry
2.3 Optimize and operationalize generative AI systems
Domain 3: Computer Vision
3.1 Design and implement image- and video-generation solutions
3.2 Design and implement multimodal understanding workflows
3.3 Implement responsible AI for multimodal content
Domain 4: Text & Speech
4.1 Apply language model text analysis
4.2 Implement speech solutions
Domain 5: Information Extraction
5.1 Build retrieval and grounding pipelines
5.2 Extract content from documents
Ready for the real thing?
The simulator teaches the ideas and the clicks. When you want to try real Azure, Microsoft Learn's free AI-103 training modules include hands-on exercises. Explore Microsoft Learn.