Key details for this exam, checked against the published exam outline
Each question shows the correct answer and an explanation of why it is right
You need to recommend a Microsoft Foundry multi-agent solution that has the following domain-specific requirements:
* Agent responses must never include the names of two specific sanctioned companies.
* Agent responses must NOT expose customer account numbers
Which guardrail strategy should you include in the recommendation?
Both stated restrictions concern content that must not appear in the agent's final output. A custom blocklist should therefore be applied to agent output so the two sanctioned company names are detected before a response is returned. The customer-account requirement likewise belongs at the output boundary, where PII/sensitive-data detection can identify protected identifiers in generated content. Applying the controls only to user input would not stop the model from generating the prohibited names or identifiers itself. Task Adherence focuses on whether agent behavior stays within assigned procedures and is not a substitute for explicit output filtering. Microsoft Foundry guardrails are designed to attach controls to the intervention point where the relevant risk occurs. Because the risk is disclosure in the response, option C is the configuration that places both controls at the correct boundary. The same configuration should be paired with auditable identity, trace, and evaluation data so reviewers can prove which principal acted, which policy was applied, and why a request was allowed or blocked. That is particularly important for production multi-agent systems with external tools.
Official Microsoft reference: Microsoft Foundry guardrails - intervention points
You have a Microsoft Foundry multi-agent customer support solution that routes requests from an intake agent to a retrieval agent, and then to a resolution agent. A custom guardrail is assigned to the agents.
You discover that some legitimate support requests are blocked, and some injected instructions in retrieved documents are allowed.
You need to validate the updated guardrail. The solution must meet the following requirements:
* Identify false positives and false negatives.
* Verify policy coverage across the agent solution
* Prevent changing the production agent behavior during testing
* Measure intervention accuracy by using a control and intervention point.
What should you do?
The updated guardrail must be evaluated with known benign and adversarial cases so false positives and false negatives can be measured explicitly. Running labeled cases through every relevant workflow path also tests whether the guardrail is applied consistently at the intended intervention points. Microsoft AI-500 guidance includes guardrail testing with synthetic or curated data and emphasizes evaluation before production rollout. Playground-only spot checks are too narrow to establish coverage. Switching production to annotate-only would change live behavior and use customers as the test population, violating the requirement to avoid production changes. A compliance configuration review verifies that a policy exists but does not measure whether it correctly detects or misses real inputs. Option B is therefore the only approach that produces repeatable evidence of intervention accuracy and policy coverage without changing production behavior. A robust evaluation program separates process metrics from final-response metrics. The selected answer measures the layer where the stated failure actually occurs, which is essential for deciding whether to change retrieval, orchestration, prompt behavior, or the final generator.
Official Microsoft reference: AI-500 Study Guide - guardrail testing and evaluation
You have a Microsoft Foundry multi-agent solution.
A developer publishes a new version of a specialist agent. Once the agent goes live in production, the solution starts mishandling requests.
You need to restore the previous behavior as quickly as possible
What is the fastest way to roll back the agent?
The fastest safe rollback is to route the stable endpoint back to the previous known-good immutable agent version. Current Foundry lifecycle guidance supports versioned agents and endpoint/version selection so production traffic can be redirected without rebuilding the agent from scratch. Deleting the newly published version is a destructive cleanup action and is not the preferred rollback mechanism because it removes an artifact that may be needed for diagnosis. Creating a new agent changes the lifecycle identity and takes longer, while a complete redeployment is unnecessary if the earlier version already exists. Option C is therefore correct when interpreted as changing the endpoint's active-version or version-selector configuration to the previous version while keeping the endpoint URL stable. From a security and governance perspective, the control should be enforced at the narrowest platform boundary that can deterministically block or constrain the action. Relying only on prompt text is weaker because the model can still be induced to behave unexpectedly.
Official Microsoft reference: Microsoft Foundry agents - development lifecycle and versioning
You have a Microsoft Foundry project that processes customer requests through several stages: A routing agent receives investigation requests, delegates calculations to a data analysis agent that can use Code Interpreter, and delegates source-grounded summaries to a literature review agent.
You discover the following issues:
* Tasks are sometimes routed to the incorrect agent.
* The format of the final response is inconsistent.
You need to ensure that compound requests are routed consistently, and the final response is in a consistent format. The solution must meet the following requirements:
* Minimize changes to the application code.
* Apply to every future conversation handled by the agents.
* Clarify the expected behavior for representative compound inputs.
Which prompt design should you implement?
The requirements ask for behavior that applies to every future conversation, improves routing for representative compound inputs, and standardizes final output with minimal application-code change. Few-shot instruction examples satisfy all three by demonstrating both the desired routing decision and the expected schema-compliant response for representative cases. Repository-wide constraints list rules but do not demonstrate how ambiguous compound requests should be handled. Per-request prompt cues are not durable across future conversations and would require application logic to inject them repeatedly. System role instructions define domains and objectives but provide less behavioral specificity than examples. Microsoft AI-500 prompt-engineering objectives explicitly include examples and dynamic prompt techniques for shaping complex agent behavior. Therefore C is the strongest design. The implementation should also preserve clear inputs and outputs around this step so that later agents receive only the information they require. This improves debuggability and keeps token, permission, and state growth under control as the workflow becomes more complex.
Official Microsoft reference: AI-500 Study Guide - advanced prompt engineering
You have a Microsoft Foundry multi-agent solution. The solution includes a parent agent that can call an Azure logic app and delegate to two subagents.
You need to implement a review process for flagged interactions. The solution must meet the following requirements;
* Identify requests that call third-party services.
* Moderate the prompts, steps, and tool calls.
* Include a governance review.
What should you do?
The review process must cover the full sensitive interaction, including third-party calls, prompts, intermediate steps, and tool actions, and it must feed a governance review process. A centralized sensitive-use intake combined with guardrails and tracing provides the required evidence, while human reviewers must be able to approve, edit, or reject flagged interactions rather than reviewing only the final message. Content Safety alone does not provide full process governance over tool use. Routing only subagent findings or requiring approval only for the final response misses earlier third-party actions. CI/CD evaluation is important for release quality but does not control individual flagged production interactions. The source duplicated the label C for the final option; that final option should be labeled D. With that label correction, D is the best answer. From a security and governance perspective, the control should be enforced at the narrowest platform boundary that can deterministically block or constrain the action. Relying only on prompt text is weaker because the model can still be induced to behave unexpectedly.
Official Microsoft reference: AI-500 Study Guide - governance, guardrails, tracing, and HITL
You have a Microsoft Foundry multi-agent solution. The solution includes an orchestrator agent that sends a mix of simple requests, reasoning-heavy tasks, and tool-calling workflows to a single premium model deployment.
Response quality is acceptable, but costs are too high, and latency varies significantly across requests.
You need to recommend a solution to reduce token utilization based on the complexity of the user input.
What should you include in the recommendation?
The workload mixes simple prompts, reasoning-heavy tasks, and tool-calling workflows, so a single premium model is over-provisioned for many requests. Microsoft Foundry's model router evaluates request complexity and routes each request to an appropriate model from a configured pool. Simple work can use lower-cost, lower-latency models, while complex reasoning can still be assigned to a more capable model. Structured outputs constrain response format but do not reduce model capability according to request complexity. Prompt Optimizer can improve prompt quality but does not perform per-request model selection, and choosing another flagship model would preserve the same all-requests-use-premium pattern. Therefore A directly addresses the cost and latency variability by matching model capacity to workload complexity. A robust evaluation program separates process metrics from final-response metrics. The selected answer measures the layer where the stated failure actually occurs, which is essential for deciding whether to change retrieval, orchestration, prompt behavior, or the final generator.
Official Microsoft reference: Microsoft Foundry - Model router
Exam domains verified against: Official Microsoft AI-500 exam guide, last checked September 2026.
Design logical architecture for multi-agent solutions by decomposing goals into workflows, agents, and tools. Specify agent personas, scopes, boundaries, and autonomy levels. Design technology components including integration, identity, state persistence, compute, observability, monitoring, and developer tools to meet scalability, reliability, security, and cost requirements.
Design advanced prompt engineering strategies, context-aware behaviours, and fine-tuning approaches. Implement agent memory, context management, and multi-agent RAG architectures. Build tool ecosystems using function calling, MCP servers, and error handling. Implement multi-agent orchestration patterns and frameworks including Agent Framework, LangChain, and LangGraph.
Sample question from this domain above: Q4
Design human review processes and evaluation strategies for memory, knowledge, tools, and prompts. Optimize task duration, diagnose context window issues, and implement continuous improvement loops. Design monitoring strategies for reliability, availability, performance, and cost. Implement tracing and alerting in Foundry with token optimization.
Design resource access controls, authentication flows, and secrets management using Azure Key Vault. Implement shift-left security and multi-intervention guardrails. Deploy using release methodologies including DTAP, blue-green, and canary. Design testing strategies and CI-CD requirements with infrastructure-as-code deployments.
Common questions about the exam itself