‹ All AI-103 questions

AI-103 Practice Question 21: Guardrail Intervention Points

Microsoft Azure AI Apps and Agents Developer Associate (AI-103) · Test 3 · question 1 of 10

Plan and manage an Azure AI solutionmedium

A support agent in Foundry Agent Service reads ticket text through an MCP tool that pulls from a third-party helpdesk. The team assigned a guardrail to the model deployment with hate and violence controls on user input and on output. In testing, abusive language that arrives in the tool's response is carried into the agent's final answer without being flagged at the point it enters the conversation, even though the same words typed by a user are caught immediately.

What should the team do?

Select one answer
Show answer and explanation

Answer:

  • C. Assign a guardrail to the agent that includes controls at the tool call and tool response intervention points

Foundry guardrails scan at four intervention points: user input, tool call, tool response, and output. The applicability table is the key: *tool call* and *tool response* apply to agents only; they are marked not applicable to models. A guardrail attached to a model deployment therefore has no way to inspect what a tool returns, which is exactly the gap here. The other half of the rule matters too: risks are detected in an agent based on the guardrail it is assigned, and an agentic guardrail fully overrides the model's guardrail.

- A is wrong because a threshold only changes *how much* content is flagged at the points that are being scanned. The tool response is not scanned at all on a model guardrail, so no threshold value produces a detection there. - B is wrong twice over: annotate is listed as not applicable to agents (agents support annotate and block only), and annotating rather than blocking would let the content through even if it were detected. - D is wrong because a blocklist matches literal terms and, like the rest of the model deployment's guardrail, still never runs against the tool response.

Reference: Guardrails and controls overview in Microsoft Foundry

Practice Test 3 ›

Study guides for AI-103

AI engineer roadmap 2026: skills, certs and the orderAI engineer roadmap for 2026: skills to learn in order, AI engineer vs ML engineer, which certifications fit each stage, and what to skip.
AI-200 exam guide: Azure AI Cloud Developer AssociateAI-200 replaced AZ-204: what the Azure AI Cloud Developer exam tests, how it differs from AI-103, price in USD and INR, format and how to prepare.
How AI Is Changing Software Jobs: Where to PrepareHow AI is changing software jobs: what history shows, the evidence on junior developers, what Klarna learned, new AI roles and five domains to prepare for.
AI-901 exam guide: Azure AI Fundamentals after AI-900AI-901 replaced AI-900: learn what changed, how much Python and Microsoft Foundry you need, exam costs in India, and how to prepare.
Best AI certifications 2026: AWS, Google, Microsoft, ClaudeThe best AI certifications in 2026 from AWS, Google, Microsoft, Claude and Databricks, by level, with price, status and which one to take first.
Microsoft AI certification path 2026: which exam firstMicrosoft AI certification path for 2026 - AI-901, AB-730, AI-103, AI-200, AI-300, AB-100, AI-500 and GH-300 by role, and which exam to take first.
AI-103 Certification Guide: What Changed From AI-102The AI-103 certification replaced AI-102 in 2026. Exam format, cost, the five skill domains, what changed and how to prepare, with free practice questions.
What Is RAG? How Retrieval-Augmented Generation WorksWhat RAG is and how it works: chunking, embeddings, vector search, hybrid search, reranking, GraphRAG and agentic RAG on AWS, Google and Azure.
Prompt engineering vs RAG vs fine-tuningWhen to use prompt engineering, retrieval-augmented generation, fine-tuning or continued pre-training, compared on cost, freshness, hallucination and privacy.