Community Q&A
AI-500 — frequently asked questions
Community-vetted answers to 39 common questions about this exam, each traced back to a specific practice question.
Questions from real practice questions
Each Q&A comes from a specific question — follow the link for the full analysisHow Should You Configure Foundry Multi-Agent Prompt Evaluations?
Which evaluator catches a Foundry connected agent that skips mandated evidence gathering?
A prompt-adherence evaluation, because it measures whether the subagent follows its prompt instructions, including the required evidence-gathering tool steps before it answers.
How do you detect when a subagent's JSON handoff payload cannot be processed downstream?
Add a schema-match evaluation that validates each handoff payload against the expected JSON structure, flagging any change that breaks deserialization by the next agent.
Can groundedness or task-completion evaluators detect out-of-scope agent work?
No. Those score factual support and goal attainment, so scope drift goes unnoticed; use a responsibility-boundary evaluation that tests in-scope responses and out-of-scope refusals.
Which Evaluator Isolates RAG Retrieval Failures per Agent
Why isn't groundedness the right evaluator for these failed traces?
Groundedness scores whether the final response is supported by retrieved context; it cannot show that an embedding or analyzer change altered which chunks were retrieved or their rank order.
Why do both agents get the same evaluator in this drag-and-drop?
Both the support agent and the policy agent query the same Foundry IQ knowledge base, so the embedding and analyzer changes degrade retrieval for both, requiring the document retrieval evaluator in each slot.
Yes/No: Multi-Agent Observability Monitoring in Microsoft Foundry
Why are token usage and TTFT counted as No in this Foundry observability hotspot?
The scenario says the dashboard includes token usage and TTFT, but the only alert rules configured are for latency anomalies and tool invocation failures, so no alerting coverage exists for those signals.
How do trace ID, span ID and conversation ID help in a multi-agent solution with concurrent agents?
The single conversation trace plus emitted trace and span IDs let you correlate Agent1 and Agent2 spans, MCP tool invocations, and external REST calls back to one user request for end-to-end tracing.
Physician Approval for ER Triage in Lead Orchestrator Workflow
Why can't a Deliver a message node satisfy the physician approval requirement?
A message node only outputs text to the conversation and never pauses execution, so the workflow would proceed without any physician decision being captured or enforced.
How does Ask a question differ from adding an ER recommendation to the system prompt?
Hardcoding ER rules in the prompt violates the safety requirement to keep logic out of core prompts; the Ask a question node enforces approval dynamically at the workflow level through human-in-the-loop review.
Which Knowledge Type for Foundry Multi-Agent Docs?
Why not use a File knowledge type for the shared documentation?
File grounding requires re-uploading content per agent, breaks the single maintained layer, and does not return structured query answers or citation metadata with each response.
How does Azure AI Search handle wording that doesn't match the documentation?
Vector/hybrid search plus the semantic ranker and synonym maps match meaning rather than exact tokens, so conversational follow-ups and unfamiliar terminology still retrieve relevant passages.
Which Identity Access Configs for Foundry Agent Tools?
Why does interactive ticket search need On-Behalf-Of delegated permissions?
OBO passes the signed-in employee's Entra token to the ticket tool, so the tool's existing per-employee authorization still applies to every query.
How do these configs avoid embedded secrets while staying least-privilege?
OBO exchanges tokens through Entra and app-only access uses a managed identity, so no key is stored, and each identity receives only the rights its context needs.
Mapping Azure Services for Multi-Agent Workflow Deployment
Why not use Azure Functions for modernization workflows?
Azure Functions is serverless but typically executes code snippets or small functions rather than full container images with complex state management. Azure Container Apps is better suited for running packaged container images with predefined handoffs.
Can Azure App Service host agent workflows?
While technically possible to deploy custom code to App Service, the question specifies 'prompt-defined agents' and 'fully managed environment,' which are best served by Microsoft Foundry Agent Service to leverage built-in orchestration and security features.
Optimizing Multi-Agent Orchestration for Throughput and Concurrency Limits
Why can't we just throttle the 30-request batch?
Throttling the 30-request batch to reduce concurrency would require pausing/dequeueing fewer items, which directly reduces throughput below the 120 req/min target unless you have infinite parallel resources, which is restricted by the '30 max simultaneous' rule.
What is the difference between Group Chat and ConcurrentBuilder?
Group Chat implies a conversational loop where agents interact with each other iteratively, which adds latency. ConcurrentBuilder is designed for parallel execution of independent tasks that produce a combined output, fitting this scenario better.
Fix Multi-Agent Routing and Output Format with Few-Shot Prompts
Why don't system-level role instructions (option C) solve this problem?
Role instructions set abstract agent domains and task boundaries, which helps routing in principle, but they do not demonstrate how to decompose a specific compound request or enforce an exact response schema, so the inconsistent final format can remain.
Why is adding per-request prompt cues (option A) rejected?
Per-request cues must be injected by application code on every call, which violates the requirement to minimize code changes and does not provide one durable fix that applies to all future conversations automatically.
What should few-shot examples for this scenario include?
Include compound input/output pairs such as a request combining a data-analysis calculation with a literature summary, showing which agent is selected at each step and a schema-compliant final response with consistent section labels and prefixes.
Integrating a Partner Agent with A2A in Microsoft Foundry
When should I choose A2A instead of MCP in an AI-500 question?
Choose A2A when the requirement involves a peer agent hosted elsewhere, discovering its capabilities, or tracking long-running tasks. Choose MCP when the requirement is calling tools, prompts, or reading resources from a service.
Why is in-process agent-as-tool wrong for a partner-operated agent?
In-process composition requires the agent to run within your solution's process and framework, which contradicts a partner agent that exposes its own endpoint and is operated by another organization.
Does A2A provide authenticated and auditable access?
Yes. A2A defines authentication and authorization between agent hosts and structured message exchange over a protocol, giving auditable interactions while keeping each side's implementation private.
Save the Foundry agent version before running its evaluation
Why must I save Agent1 as a new version before running an evaluation?
An evaluation in Microsoft Foundry targets a concrete saved version of the agent, so unsaved playground instruction edits have no stable artifact to test. Saving as a new version freezes the updated instructions and gives the synthetic-dataset evaluation a versioned target.
What is the difference between saving and publishing an agent version?
Saving creates an unpublished version visible only to the development team that already has access to Agent1, while publishing exposes it through its own endpoint and identity to other consumers. That extra exposure is why publishing violates a dev-only requirement.
Can I use Preview in the playground instead of a full evaluation?
Preview is a manual chat check of the updated instructions, not an automated full evaluation and not a substitute for running a synthetic dataset. Use it for a quick sanity check, then run the real evaluation against the saved version.
Reducing Patient Intake latency with Responses API compaction
Why doesn't a sliding window solve the Patient Intake latency problem?
A sliding window reduces prompt size by discarding old turns, but it truncates rather than compacts. The earliest symptoms a patient reports can be deleted outright, breaking the requirement to preserve a compacted version of critical triage details.
What does previous_response_id do in the Responses API?
It lets each new turn reference a stored prior response, so the API appends only the new user input instead of resending the full transcript. This keeps per-turn token growth minimal while retaining server-side conversation state.
Which RAG retrieval configuration is most reliable?
Why isn't the candidate with the highest precision the most reliable?
Precision alone ignores how many relevant documents were missed (recall) and how far down the list the first relevant hit appears (MRR). A configuration that tops one column but trails on the others is inconsistent, so it is less reliable across real queries.
What do Precision@10, Recall@10 and MRR measure in a RAG search system?
Precision@10 is the share of the top 10 results that are relevant, Recall@10 is the share of all relevant documents found within those 10, and MRR scores how high the first relevant result ranks. Reliable systems need all three to be strong.
Does using the same query set and human labels matter when comparing candidates?
Yes — a shared query set and identical human relevance labels make the metrics directly comparable across configurations, so differences in the table reflect the search configuration itself rather than evaluation noise.
Implementing Governance Review in Microsoft Foundry Multi-Agent Solutions
Why is Content Safety insufficient for full governance review?
Content Safety primarily filters content at input/output boundaries. It does not natively provide the granular control needed to review and approve intermediate steps, tool calls, or internal prompts within a multi-agent orchestration loop.
What role do traces play in multi-agent governance?
Traces capture the detailed sequence of actions, including prompts sent to models, tool invocations, and subagent interactions. They allow reviewers to inspect the full context of an interaction, ensuring that every step complies with governance policies.
Validating Custom Guardrails Across a Multi-Agent Workflow
Why does annotate-only mode fail to validate the guardrail here?
Annotate-only still depends on live production traffic arriving after rollout, which lacks pre-labeled ground truth and a clean control point. It cannot reliably count false positives, false negatives, or prove coverage of every workflow path.
What does a control and intervention point mean in guardrail testing?
The control point runs the workflow without the guardrail's blocking action; the intervention point runs the same labeled cases with the guardrail active. Comparing annotations and logs between the two runs measures how accurately the guardrail intervenes.
Why must test cases pass through each workflow path?
A custom guardrail assigned across intake, retrieval, and resolution agents can behave differently at each hop — for example, allowing injected instructions found only in retrieved documents. Testing one entry point hides those gaps.
Split Shared Foundry Azure OpenAI Costs by Project in Cost Management
Why is a project tag filter not the best choice for shared Foundry costs?
A tag filter depends on manually tagging chargeback data, which conflicts with the requirement to minimize manual tagging. It also cannot be assumed to split usage on a shared Foundry resource across three projects.
Does grouping by Meter separate Azure OpenAI spend by project?
No. Meter groups cost by model or usage meter such as tokens or deployment type, not by the business-unit project that generated the usage.
What is the role of saved views in the correct Cost Management approach?
Saved views let each project or business unit reopen the same Foundry-scoped Cost Analysis with the Resource grouping already applied, avoiding repeated manual filtering while keeping data reconcilable in Cost Management.