Domain 1: Plan and Manage an Azure AI Solution (Part 3 of 3)
This lesson covers 4 exam topics: Monitoring Models, Agents and Search Quality, Securing AI: Identity, Keyless Access and Private Networking, Guardrails, Content Filters and Prompt Shields, Responsible AI Evaluation, Auditing and Agent Oversight. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.
1. Monitoring Models, Agents and Search Quality
Central question: What do you monitor in production, and with which tools?
Foundry observability
- Monitoring with Azure Monitor Application Insights: dashboards for operational metrics, token consumption, latency, error rates and quality scores; alerts when outputs fail quality thresholds or produce harmful content.
- Evaluation on production traces (online evaluation): quality, RAG, safety and agent evaluators.
- Tracing (OpenTelemetry) of LLM calls, tools and agent decisions.
What to watch (design guidance)
| Area | Signals |
|---|---|
| Model performance and drift | Quality scores over time, changes after model updates |
| Safety events | Guardrail detections, blocked content rates |
| Grounding quality | Groundedness evaluator, citation coverage |
| Data ingestion | Indexer run status, failed documents, freshness |
| Search index health and relevance | Document counts, query latency, retrieval evaluators (NDCG, relevance) |
Exam traps
- Monitoring only uptime for a RAG app.
- No indexer monitoring, so stale or missing content goes unnoticed.
- No alerts on safety or quality thresholds.
2. Securing AI: Identity, Keyless Access and Private Networking
Central question: How do you secure access to models, agents and data?
Keyless credentials
Keyless (Microsoft Entra ID) authentication avoids storing keys: use an Azure Identity credential (e.g. DefaultAzureCredential); in Azure, managed identities; locally, developer sign-in.
Role-based access
Foundry roles were renamed: Foundry User (least-privilege developer role), Foundry Owner, Foundry Account Owner, Foundry Project Manager (formerly Azure AI ...). Don't use Cognitive Services roles (except Usages Reader for quota) or Azure AI Developer for Foundry projects.
Private networking
Consider three areas: inbound access to the Foundry resource (private endpoints), outbound access from the resource to other services, and agent outbound via virtual network injection. Hosted agents support network egress controls (preview) in guardrails.
Exam traps
- API keys in code. Use Entra ID.
- Azure AI Developer role for Foundry projects. Use Foundry User.
- Key auth for AI Search over a private network. Use managed identity.
3. Guardrails, Content Filters and Prompt Shields
Central question: How do you configure safety filters and risk detection?
Foundry guardrails
- A guardrail is a named collection of controls; each control defines a risk, intervention points and an action.
- Intervention points: user input, tool call (preview, agents), tool response (preview, agents), output.
- Built on Azure AI Content Safety classifiers; apply to models and Agent Service agents.
Content Safety features
| Feature | Detects |
|---|---|
| Harm categories (text, image) | Sexual, violence, hate, self-harm, with severity levels |
| Prompt Shields | User prompt attacks (on by default in Foundry) and document attacks (indirect injection; off by default) |
| Groundedness detection (preview) | Ungrounded LLM output vs sources |
| Protected material | Known text such as lyrics and articles |
| Task adherence | Misaligned or premature agent tool use |
| Custom categories (preview) | Your own categories |
Exam traps
- Assuming document-attack detection is on. Enable it.
- Prompt Shields to check facts. Use groundedness detection.
- Filters only on output. Agents also need tool call/response checks.
4. Responsible AI Evaluation, Auditing and Agent Oversight
Central question: How do you measure, audit and govern AI behavior?
Responsible AI instrumentation
- Evaluators: quality (coherence, fluency), RAG (groundedness, relevance), safety and security (hate/unfairness, violence, protected material), agent (tool call accuracy, task completion), plus custom evaluators.
- Groundedness detection offers non-reasoning (fast) and reasoning (explanations) modes.
Auditing (verified features; practice is design guidance)
- Trace logging with OpenTelemetry in Application Insights.
- Provenance metadata: citations, source references, model and agent versions.
- Approval workflows: human-in-the-loop steps before high-impact actions.
Governing agent behavior (design guidance on verified features)
| Control | Example |
|---|---|
| Oversight modes | Autonomous vs semi-autonomous (approval required) |
| Constraints | Instructions, step limits, guardrails |
| Tool-access controls | Only needed tools; tool call/response guardrails; egress rules for hosted agents |
| Identity | Agent identities, RBAC, Entra Agent Registry |
Exam traps
- No safety evaluations before launch.
- Agents with every tool enabled.
- No audit trail of tool calls and approvals.
References
- AI-103 study guide — checked Oct 21, 2026
- Observability — checked Oct 21, 2026
- RAG evaluators — checked Oct 21, 2026
- Keyless connections — checked Oct 21, 2026
- RBAC for Foundry — checked Oct 21, 2026
- Network isolation — checked Oct 21, 2026
- Guardrails overview — checked Oct 21, 2026
- Content Safety — checked Oct 21, 2026
- Prompt Shields — checked Oct 21, 2026
- Groundedness detection — checked Oct 21, 2026
Check your understanding
Dashboards for tokens, latency and errors?Show answerHide answer
Answer
Application Insights via Foundry monitoring.Least-privilege role for developers building agents?Show answerHide answer
Answer
Foundry User.Hidden instructions in a retrieved web page?Show answerHide answer
Answer
Prompt Shields document attacks.Evaluate harmful content in outputs?Show answerHide answer
Answer
Safety evaluators.Retrieval quality metric with ground truth?Show answerHide answer
Answer
Document retrieval evaluator (NDCG and more).