Domain 1: Plan and Manage an Azure AI Solution (Part 2 of 3)
This lesson covers 4 exam topics: Designing Infrastructure for AI Apps and Agents, Deployment Options and Configuration, CI/CD for Foundry Projects, Quotas, Rate Limits, Scaling and Cost. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.
1. Designing Infrastructure for AI Apps and Agents
Central question: Which Azure resources make up an AI app or agent solution?
Building blocks (verified services; architecture is design guidance)
| Layer | Resources |
|---|---|
| AI platform | Foundry resource with projects; model deployments; Agent Service |
| Knowledge | Azure AI Search, Blob Storage, Cosmos DB, Foundry IQ |
| App hosting | Azure App Service, Container Apps, Functions; hosted agents run as containers in Foundry |
| Identity | Microsoft Entra ID, managed identities, RBAC (Foundry User / Owner roles) |
| Networking | Private endpoints, virtual networks, agent VNet injection |
| Observability | Application Insights (tracing, monitoring) |
| Secrets | Azure Key Vault (only where keys are unavoidable) |
Agent setups: basic (Microsoft-managed resources) vs standard (bring your own Storage, Search, Cosmos DB for data control) (design guidance based on Agent Service docs).
Exam traps
- Keys stored in app settings instead of managed identity.
- No Application Insights, so no traces.
- Public endpoints when the requirement is private access.
2. Deployment Options and Configuration
Central question: How do you deploy and configure models and agents?
Model deployment types
Global Standard (default; pay per token), Data Zone Standard (US/EU/APAC), Standard (geography), Provisioned (Global, Data Zone, Regional; reserved PTU), Batch (Global, Data Zone; 50% discount, 24-hour), Developer (fine-tune evaluation). Serverless API vs managed compute for open-source and custom models. Instant access (preview) calls some models without a deployment.
Configuring deployments
- Assign TPM quota per deployment (sets TPM and proportional RPM limits).
- Set content filtering / guardrails on the deployment.
- Pin model versions or use auto-update policies (general background).
Agent deployments
Prompt agents (configuration), voice-based prompt agents, hosted agents (containers with managed endpoint, scaling, identity); versions and stable endpoints; publish to Teams, Microsoft 365 Copilot and the Entra Agent Registry.
Exam traps
- Provisioned for bursty dev traffic.
- Global types under strict residency.
- Forgetting to assign TPM, causing 429s.
3. CI/CD for Foundry Projects
Central question: How do AI apps and agents move to production safely and repeatably?
Pipeline elements (verified where linked; flow is design guidance)
| Stage | Practice |
|---|---|
| Source | Prompts, agent definitions (create_version), infrastructure templates in Git |
| Build | Package app or hosted agent container |
| Evaluate | Foundry evaluation GitHub Action (preview) runs test queries with evaluators, reports confidence intervals and significance |
| Deploy | Infrastructure as code (Bicep, Terraform), Azure Developer CLI (azd) for hosted agents |
| Release | Agent versions, stable endpoints; staged rollout |
| Monitor | Application Insights dashboards, online evaluation |
Microsoft calls automated quality gates in CI/CD part of observability (verified).
Exam traps
- Manual portal edits in production with no version history.
- Shipping prompt changes without evaluation gates.
- Hard-coded keys in pipelines. Use workload identity / managed identity.
4. Quotas, Rate Limits, Scaling and Cost
Central question: How do you keep AI workloads within limits and budget?
Quota and limits
- Quota is assigned per subscription, per region, per model, per deployment type, in tokens per minute (TPM).
- Assigning TPM to a deployment sets its TPM rate limit and a proportional RPM limit (e.g. 6 RPM per 1,000 TPM for many models).
- Exceeding limits returns HTTP 429; request quota increases when needed.
- Quota visibility needs Cognitive Services Usages Reader at subscription scope.
Scaling and cost levers (design guidance; verified features)
| Lever | Effect |
|---|---|
| Split quota across deployments/regions | More total throughput |
| Provisioned (PTU) | Predictable throughput, latency |
| Batch | 50% cheaper async work |
| Smaller models / model router | Lower cost per request |
| Prompt and context trimming, caching | Fewer tokens |
| Retry with exponential backoff | Handle 429s gracefully |
| Token analytics | Find expensive agents and prompts |
Exam traps
- Retrying 429s immediately in a tight loop. Back off.
- One giant deployment holding all quota.
- Ignoring agent token growth from long conversations and tool output.
References
- AI-103 study guide — checked Oct 21, 2026
- What is Microsoft Foundry — checked Oct 21, 2026
- Network isolation — checked Oct 21, 2026
- Set up tracing — checked Oct 21, 2026
- Deployment types — checked Oct 21, 2026
- Manage quota — checked Oct 21, 2026
- Agents in Foundry — checked Oct 21, 2026
- Evaluation GitHub Action — checked Oct 21, 2026
- Observability — checked Oct 21, 2026
- Quotas and limits — checked Oct 21, 2026
- RBAC for Foundry — checked Oct 21, 2026
Check your understanding
Where do traces go?Show answerHide answer
Answer
Application Insights.Reserved, predictable throughput?Show answerHide answer
Answer
Provisioned (PTU).Evaluate agents automatically on each pull request?Show answerHide answer
Answer
Foundry evaluation GitHub Action.Unit of Azure OpenAI quota?Show answerHide answer
Answer
Tokens per minute.Control where agent data is stored?Show answerHide answer
Answer
Standard agent setup with your own resources.