Designing and Implementing Multi-Agent AI Solutions
Update Date
27 Nov, 2026
Total Questions
73 Questions Answers With Explanation
$79
$89
$99
Prepare Smarter for the AI-500 with Pass4itexam
At Pass4itexam, we believe in smart preparation. That’s why we’ve built a complete guide to help you succeed in the Microsoft AI-500 exam. Whether you’re a first-time test taker or revisiting certification, our expert-curated PDF dumps for AI-500 are your shortcut to confidence and clarity.
This isn’t just a question bank—it’s a full prep system. Our materials reflect real exam objectives, with relevant scenarios and actual exam-style questions. You’ll get to know the format, practice effectively, and reduce test-day anxiety.
What to Expect from Our AI-500 Preparation
1. Straightforward Study Material
Exam-Aligned Content: Every topic we cover is mapped to Microsoft's objectives, so no wasted time.
Easy to Understand: No fluff, no filler—just simplified concepts that actually stick.
2. Real Practice for Real Exams
True-to-Exam Questions: Practice on material that mirrors the real AI-500 exam format.
Instant Feedback: Learn from your mistakes and understand the “why” behind the answers.
3. Smart Strategies That Work
Master time management to reduce pressure during the exam.
Use our proven techniques to handle tricky or unexpected questions.
Learn patterns and question logic to boost your confidence.
4. Always Updated, Always Relevant
90 Days Free Updates: We keep your dumps current, so you’re never studying outdated content.
Based on Real Feedback: We monitor exam changes and adjust quickly.
Your Success Is Our Promise
If you use our AI-500 prep materials and still don’t pass, we’ll refund you—simple as that. No hidden terms. No stress.
We stand behind our products with a full 100% Money-Back Guarantee, because we know our materials deliver results.
Final Thoughts
If you’re serious about passing the Microsoft AI-500 certification, you’re in the right place. Our resources are designed to help you save time, study smarter, and get certified faster.
You have a multi-agent solution in Microsoft Foundry. Every request begins with the same 1,800-token instruction block and Model Context Protocol (MCP) tool definitions, and then appends a unique user message.Input-token costs and Time to First Token (TTFT) increase during peak hours.You need to reduce the input-token costs and TTFT for requests that share commoninstructions and tool definitions. The solution must meet the following requirements:Reuse cached work only when the common prefix matches exactly.Generate a new completion for each user request.Minimize application changes.Which type of caching should you use?
A. retrieval caching B. semantic caching C. response caching D. prompt caching
Answer: D
Explanation:
Every request begins with the same 1,800-token instruction block and MCP tool definitions, followed by a unique user message, and input-token costs and time to first token increase during peak hours. The solution must reuse cached work only when the common prefix matches exactly, generate a new completion for each user request, and minimize application changes. Prompt caching is the correct type of caching. With prompt caching, the model service caches the computation for the beginning of a prompt. When a later request starts with exactly the same prefix, typically at least 1,024 tokens, the service reuses the cached computation for that prefix and only processes the new tokens. Cached input tokens are billed at a discount, and because the model does not need to reprocess the shared prefix, time to first token is reduced. The completion is still generated fresh for each request, because only the processing of the prompt prefix is reused, not the output. Prompt caching is applied automatically by supported models when the prefix matches exactly, so the main application change is to keep the static instructions and tool definitions at the beginning of the prompt. Retrieval caching (option A) caches search results for RAG queries, which does not reduce processing of static instructions. Semantic caching (option B) returns stored responses for semantically similar queries, which violates the exact match requirement and would not generate a new completion. Response caching (option C) returns a previously generated response, which also does not generate a new completion for each request. Therefore prompt caching is correct.
Question # 2
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?
A. Use Foundry Content Safety to prioritize sensitive messages for moderators, require moderator approval for final responses, and allow selected calls to proceed automatically. B. Route subagent findings to compliance reviewers, correlate the parent and subagent. and require approval for only the final parent-agent message. C. Run agent evaluators during CI/CD, require a reviewer to approve the release, and collect production transcripts for sensitive-use intake after the pilot. D. Submit the requests by using central sensitive-use intake, enable guardrails and traces, and require reviewers to approve, edit, or reject messages.
Answer: D
Explanation:
The parent agent can call an Azure logic app and delegate to two subagents. The review process must identify requests that call third-party services, moderate prompts, intermediate steps and tool calls, and include a governance review. Option D meets these requirements. Submitting the requests through a central sensitive-use intake process provides the governance review, because the organization's responsible AI or compliance team assesses the use case, its risks and its integrations with third-party services before and during operation. Enabling guardrails applies content safety and prompt shield controls to prompts, tool calls, tool responses and outputs, moderating the entire interaction rather than only the final message. Enabling traces records the full execution path, including calls
from the parent agent to the logic app and to the subagents, so reviewers can identify which requests reached third-party services. Requiring reviewers to approve, edit or reject flagged messages establishes a human review step with clear outcomes. Option A prioritizes messages and approves only final responses while allowing selected calls to proceed automatically, so tool calls and intermediate steps are not moderated. Option B routes subagent findings to reviewers but only requires approval for the final parent message, so prompts and tool calls are not moderated and third-party calls are not identified. Option C focuses on pre-release evaluation and collects transcripts after the pilot, so it neither moderates live interactions nor provides timely governance review. Therefore option D is correct.
Question # 3
You have a Microsoft Foundry agent named Agent1.You open Agent1 in the playground and update the instructions.You need to run a full evaluation against the updated instructions. The solution must meet the following requirements:• Test the changes by using a synthetic dataset.• Ensure that the changes are available only for the development team that has access to Agent1.What should you do first?
A. Save Agent1 as a new version. B. Create a new evaluation for Agent1. C. Publish Agent1 as a new version. D. Preview Agent1.
Answer: A
Explanation:
The developer updated the instructions of Agent1 in the playground and needs to run a full evaluation against the updated instructions by using a synthetic dataset, while ensuring the changes are available only to the development team that has access to Agent1. The first step is to save Agent1 as a new version. In Microsoft Foundry, agents are versioned.
Changes made in the playground are a working draft until they are saved. Saving creates a new immutable agent version that captures the updated instructions and configuration.
Evaluations run against a specific agent version, so the version must exist before an evaluation can target it. Saving does not publish the agent, so the new version remains accessible only within the project to users who already have access to Agent1, such as the development team, and it is not exposed to consumers of the published agent. Option B, creating a new evaluation first, would evaluate the currently saved version, which does not include the updated instructions. Option C, publishing Agent1 as a new version, would make the changes available beyond the development team through the published endpoint before they are evaluated, which violates the requirement. Option D, previewing Agent1, lets the developer interact with the agent manually, but it does not create a version that a full evaluation with a synthetic dataset can target. Therefore, saving Agent1 as a new version is the first step, after which the developer can create an evaluation that targets the new version and uses a synthetic dataset.
Question # 4
You have a Microsoft Foundry agent that completes benefits enrollment during a single user conversation The agent collects the required enrollment fields during 15 turns. Users can correct earlier values before final submission. The current implementation sends the complete transcript with every model request.You need to change the context accumulation strategy for the active enrollment. The solution must meet the following requirements:• Preserve the latest value for each required enrollment field until submission.• Bound the maximum number of tokens sent with each model request• Preserve user corrections until submission.• Prevent durable cross-session memory.What should you do?
A. Use an enrollment-state snapshot with a recent-turn sliding window B. Use response chaining with a fixed number of previous responses, relying on the conversation history to preserve the enrollment field values. C. Use a selective summarization of older low-value conversation turns. D. Use conversation-scoped, server-managed history with automatic input truncation.
Answer: A
Explanation:
The benefits enrollment agent collects required fields across 15 turns, users can correct earlier values, and the current implementation sends the complete transcript with every request. The new strategy must preserve the latest value of each field until submission, bound the tokens sent with each request, preserve corrections, and prevent durable cross-session memory. An enrollment-state snapshot with a recent-turn sliding window meets every requirement. The application maintains a structured snapshot, such as a JSON object, that stores the current value of each required field. When the user provides or corrects a value, the snapshot is updated, so it always holds the latest values and corrections. Each request sends the snapshot plus only the last few turns for conversational context, so the number of tokens sent is bounded regardless of how many turns have occurred. Because the snapshot exists only for the active enrollment and is discarded after submission, there is no durable cross-session memory. Option B relies on chaining a fixed number of previous responses and the conversation history to preserve values, but values
provided in early turns fall out of the window and are lost. Option C summarizes older turns, but summaries are lossy and can drop or blur specific field values and corrections, and summaries also grow over time. Option D uses server-managed history with automatic truncation, which silently removes older turns, potentially losing early field values or corrections, and the token count is less predictable. Therefore option A is correct.
Question # 5
Solution: Use separate a managed identity for each agent and environment Assign Azure roles at the resource level. Does this meet the goal?
A. Yes B. No
Answer: A
Explanation:
This question belongs to the same series as the earlier identity questions: a Microsoft Foundry multi-agent solution uses Agent-to-Agent delegation, and the agents access separate Azure Storage containers within resource group RG1. The identity design must eliminate stored application secrets and limit the impact of a compromised agent or deployment. The proposed solution uses a separate managed identity for each agent and environment and assigns Azure roles at the resource level. This meets the goal. Managed identities are automatically managed by Microsoft Entra ID. Azure issues and rotates the credentials, and code obtains tokens through the platform without storing client secrets, certificates or connection strings, so stored application secrets are eliminated. Using a separate identity for each agent ensures that each agent can be granted only the permissions it needs, and a compromise of one agent does not give an attacker the permissions of the others. Using a separate identity for each environment, such as development, test and production, prevents a compromised development deployment from
being used to access production data. Assigning roles at the resource level, for example Storage Blob Data Reader or Contributor on the specific storage account or container each agent needs, rather than at the resource group or subscription scope, keeps permissions narrow and follows least privilege. Together, these choices minimize the blast radius of any single compromise and remove secret management overhead. In contrast, shared app registrations, shared groups and subscription-scope assignments fail these requirements.
Therefore the answer is Yes.
Question # 6
You are designing a Microsoft Foundry multi-agent solution for claims processing. Thedesign includes multiple specialized agents.You need to specify the agent personas. scopes, boundaries, and autonomy levels. The solution must meet the following requirements:• Provide a clear owner for conflicts between specialist agents.• Validate agent outputs before downstream agents consume the outputs.• Prevent specialist agents from invoking tools outside the assigned domain.• Isolate each business domain so that adding a specialist agent affects only that domain.What should you do?
A. Define connected agents grouped by domain under a main agent, use natural-language delegation, and accept narrative summaries from the specialist agents. B. Define a claims hub that has direct specialist delegation, gate the final settlement output gainst a checklist, and route conflicts through the hub. C. Define domain-scoped sub-orchestrators under a claims supervisor, gate each output against a structured contract, and route conflicts through the supervisor. D. Define domain-scoped workflows that have local quality gates, publish the accepted results to a shared case state, and let the consuming domains resolve conflicts.
Answer: C
Explanation:
The claims processing design must provide a clear owner for conflicts between specialist agents, validate agent outputs before downstream agents consume them, prevent specialist agents from invoking tools outside their domain, and isolate each business domain so that adding a specialist affects only that domain. Option C meets all requirements. Domain-scoped sub-orchestrators under a claims supervisor create a hierarchical structure in which each business domain has its own orchestrator that manages only its specialist agents and their tools. Adding a specialist only changes the corresponding sub-orchestrator, so other domains are unaffected, and tool access is scoped by domain. Gating each output against a structured contract validates the output of each agent, such as a JSON schema with required fields and value ranges, before downstream agents use it, which prevents malformed or incomplete data from propagating.
Routing conflicts through the supervisor gives a single, clear owner for resolving disagreements between specialists. Option A uses natural-language delegation and accepts narrative summaries, which cannot be reliably validated and does not define a conflict owner. Option B uses a flat hub with direct specialist delegation and only gates the final settlement output, so intermediate outputs are not validated and adding a specialist affects the shared hub. Option D publishes results to a shared case state and lets consuming domains resolve conflicts, which leaves no clear owner and couples domains through shared state. Therefore option C is the correct design.
Question # 7
You have a Microsoft Foundry multi-agent solution that includes the following agents:• An orchestration agent• An external risk-review agent operated by a partner organization The partner agent runs in a different framework, exposes its own endpoint, and manages long-running review tasks. You need to identify an integration approach for the partner agent. The solution must meet the following requirements:• Use authenticated and auditable access for structured tools and data• Support capability discovery and task tracking for the partner agent.• Prevent coupling the solution to the partner agent implementation.What should you identify?
A. Agent-to-Agent(A2A) B. platform-native subagent orchestration C. an in-process agent as-tool composition D. Model Context Protocol (MCP)
Answer: A
Explanation:
The orchestration agent must integrate with an external risk-review agent operated by a partner organization. The partner agent runs in a different framework, exposes its own endpoint and manages long-running review tasks. The integration must use authenticated and auditable access, support capability discovery and task tracking, and avoid coupling the solution to the partner's implementation. The Agent-to-Agent (A2A) protocol is designed for this scenario. A2A is an open protocol for communication between independent agents, regardless of the framework or vendor used to build them. Each A2A agent publishes an agent card that describes its skills, supported content types, endpoint and authentication requirements, which provides capability discovery. The protocol defines tasks with lifecycle states, such as submitted, working, input-required and completed, along with streaming and push notifications, so the orchestrator can track long-running reviews. Requests are
authenticated using standard HTTP authentication schemes, and they can be logged for auditing. Because both sides interact only through the protocol, the solution is not coupled to how the partner builds its agent. Platform-native subagent orchestration (option B) requires both agents to run in the same platform, which is not the case. An in-process agent-as-tool composition (option C) requires the agent code to run in the same process, which tightly couples the solution to the partner's implementation. Model Context Protocol (option D) is designed for exposing tools and data to agents, not for agent-to-agent collaboration with task lifecycles. Therefore A2A is correct.
Question # 8
You have a Microsoft Foundry multi-agent solution that routes requests from an intake agent to a retrieval agent, and then to a resolution agent. The retrieval agent uses a knowledge search tool.Security testing reveals the following recurring issues:• Some users submit jailbreak-style prompts at the start of a conversation.• Some retrieved documents contain hidden instructions intended to manipulate the downstream agentThe legal department at your company requires that final responses be flagged for review if they contain protected text. You need to configure guardrails to resolve the security issues and meet the legal requirements. What should you configure?
A• User output attacks at User output set to Annotate and block• Indirect attack at Tool response set to Annotate and block• Protected material for text at Output set to Annotate and block B• User input attacks at User input set to Block• Indirect attack at Tool call set to Block• Protected material for text at Output set to Block C• User input attacks at User input set to Annotate and block• Indirect attack at Tool response and Action set to Annotate and block• Protected material for text at Output set to Annotate only
Answer: C
Explanation:
Security testing reveals two issues: users submit jailbreak-style prompts at the start of a conversation, and retrieved documents contain hidden instructions that try to manipulatethe downstream agent. In addition, the legal department requires that final responses be flagged for review if they contain protected text. Option C addresses all of these. User input attacks at the user input intervention point set to Annotate and block detects jailbreak attempts in the user's message and blocks them, while annotating them for monitoring.
Indirect attack at the tool response and action intervention points set to Annotate and block inspects content returned from the knowledge search tool before it reaches the downstream agent, and blocks content containing hidden instructions, which is where cross-domain prompt injection occurs. Protected material for text at the output intervention point set to Annotate only detects copyrighted or protected text in final responses and flags it with annotations without blocking the response, which matches the legal requirement to flag for review rather than block. Option A refers to a non-existent user output attack setting for jailbreaks and blocks protected material instead of flagging it. Option B evaluates indirect attacks at the tool call point, which inspects outgoing arguments instead of returned document content, so the injected instructions in retrieved documents would not be detected, and it also blocks protected material rather than flagging it for review, and plain block settings do not provide annotations for analysis. Therefore option C is the correct configuration.
Question # 9
ou 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?
A. Test a small set of jailbreak prompts by using Try in Playground Review the displayed risk messages and tune the highest-triggered categories. B. Run labeled benign and adversarial test cases through each workflow path and evaluate the results from annotations and logs. C. Update the guardrail to annotate-only mode, collect live user interactions, and summarize blocked and annotated events after rollout D. Review the Guardrails tab in the Compliance workspace, export deployment configurations, and mark each deployment as Compliant or Noncompliant
Answer: B
Explanation:
The custom guardrail is producing both false positives, where legitimate support requests are blocked, and false negatives, where injected instructions in retrieved documents are allowed. The validation must identify false positives and false negatives, verify coverage across the whole agent solution, avoid changing production behavior during testing, and measure intervention accuracy by using control and intervention points. Running labeled benign and adversarial test cases through each workflow path, and evaluating the results from annotations and logs, meets all requirements. Labeled benign cases reveal false positives when legitimate requests are blocked, and labeled adversarial cases, including injected instructions in retrieved documents, reveal false negatives when attacks pass through. Running the cases through every path, intake to retrieval to resolution, verifies that the guardrail covers all intervention points, including user input and tool responses.
Comparing the expected labels with the actual guardrail decisions recorded in annotations and logs measures intervention accuracy at each point. This can be done in a test environment, so production behavior is not affected. Option A tests only a small set of jailbreak prompts in the playground, which does not cover benign traffic, retrieved documents or all workflow paths. Option C changes the production guardrail to annotate-only mode, which alters production behavior and exposes users to unblocked attacks during the test. Option D reviews compliance configuration and status, which does not measure detection accuracy. Therefore option B is correct.
Question # 10
You are designing a Microsoft Foundry multi-agent solution. The solution includes a triage agent that receives a request and passes the request to one of three specialist agents.Only one agent will be active at a time. The active agent must be able to transfer control to a better-suited agent based on context.Which orchestration pattern should you recommend for the planned solution?
A. group chat B. handoff C. sequential D. concurrent
Answer: B
Explanation:
The solution includes a triage agent that receives a request and passes it to one of three specialist agents. Only one agent is active at a time, and the active agent must be able to transfer control to a better-suited agent based on context. The handoff orchestration pattern is designed for this behavior. In handoff orchestration, each agent can decide, based on the conversation context and its own instructions, to transfer control to another agent through a handoff. The receiving agent takes over the conversation, including interacting with the user, until the task is completed or it transfers control again. Only one agent is active at any point, and the routing decisions are made dynamically by the agents themselves rather than by a fixed sequence. This is ideal for customer support scenarios in which a triage agent routes to specialists and specialists can escalate or redirect to each other. Microsoft Agent Framework provides a handoff builder that defines which agents can hand off to which others. Group chat orchestration (option A) has multiple agents contributing to a shared conversation under a manager, which means several agents participate rather than a single active owner. Sequential orchestration (option C) runs agents in a fixed predefined order, which cannot transfer control dynamically based on context. Concurrent orchestration (option D) runs several agents at the same time on the same input and aggregates the results, which contradicts the requirement that only one agent is active. Therefore handoff orchestration is correct.
Question # 11
You are designing a multitenant software as a service (SaaS) platform that uses multiple agents. Users will send latency-sensitive inference requests to the platform by using a shared API.Initially, there will be 20 tenants, and the platform will expand to 200 tenants.You need to identify the compute component for a production agent runtime. The solution must meet the following requirements:Isolate workloads for each tenant by using containerization.Dynamically scale based on demand.Minimize administrative effort.What should you use?
A. Azure Container Instances B. Azure Kubernetes Service (AKS) C. Microsoft Foundry Agent Service D. GPU-enabled Azure virtual machines
Answer: C
Explanation:
The SaaS platform serves latency-sensitive inference requests through a shared API, will grow from 20 to 200 tenants, and requires containerized isolation per tenant, dynamic scaling based on demand and minimal administrative effort. Microsoft Foundry Agent Service is the best fit for the production agent runtime. Foundry Agent Service is a fully managed runtime for agents, including hosted agents that run containerized agent code.
The platform handles provisioning, isolation between agent instances, scaling based on demand, identity, networking and observability, so the team does not have to manage clusters, nodes or orchestration infrastructure. This matches the goal of minimizing administrative effort while still using containerization and dynamic scaling, and it scales naturally as the number of tenants increases. Azure Container Instances (option A) can run containers without managing servers, but it lacks built-in autoscaling and orchestration; managing hundreds of container groups for 200 tenants would require building custom scaling and routing logic. Azure Kubernetes Service (option B) provides isolation and autoscaling, but it requires significant operational effort, including cluster upgrades, node pool management, networking, security policies and per-tenant namespace configuration, which contradicts the requirement to minimize administrative effort. GPU-enabled virtual machines (option D) do not provide containerized isolation or dynamic scaling by default and carry the highest management overhead and cost. Therefore Microsoft Foundry Agent Service is the recommended compute component.
Question # 12
You have a Microsoft Foundry resource that hosts Azure OpenAI model deployments for three projects. Each project is for a different business unit. The projects share the same Foundry resource.You need to implement a Microsoft Cost Management view that separates the shared model spend by the project The solution must meet the following requirements:• Use cost data that can be reconciled by using Azure Cost Management.• Minimize manual tagging.What should you use?
A. cost analysis scoped to the resource group with grouping by Meter and exports for each project B. cost analysis scoped to the subscription with a Service tier: Azure OpenAI filter and budgets for each business unit C. cost analysis scoped to the Foundry resource with grouping by Resource and saved views for each project D. cost analysis scoped to the Foundry resource with a tag filter on project
Answer: D
Explanation:
Three projects share the same Foundry resource that hosts Azure OpenAI model deployments, and each project belongs to a different business unit. The goal is a Cost
Management view that separates shared model spend by project, uses cost data that can be reconciled in Azure Cost Management, and minimizes manual tagging. Cost analysis scoped to the Foundry resource with a tag filter on the project is the correct approach. Usage charges for model inference within a Foundry resource are recorded in Cost Management with the tags that are applied, and Foundry projects can carry tags that propagate to usage records, so filtering or grouping by the project tag separates spend per project while still using the official cost data from Cost Management, which can be reconciled with invoices. Because the tag is applied once at the project level rather than on every deployment or request, manual tagging effort is minimal. Option A groups by meter at the resource group scope, which shows spend by model or token type but not by project, and exporting per project does not separate shared costs. Option B filters subscription costs by Azure OpenAI, which shows total model spend, and budgets per business unit do not split the costs themselves. Option C groups by resource, but all three projects share the same Foundry resource, so their costs appear as a single resource line and cannot be separated by project. Therefore cost analysis scoped to the Foundry resource with a tag filter on project best meets the requirements.
Question # 13
You have a multi-agent solution in a Microsoft Foundry project. The project connects to an Azure Storage account named stgaudit.You plan to enable a storage-backed tool for the agent The tool will read and write blobs to stgaudit.You need to create a role assignment for the agent. The solution must follow the principle of least privilege.Which role should you use?
A. Storage Account Contributor B. Storage Blob Data Owner C. Contributor D. Storage Blob Data Contributor
Answer: D
Explanation:
The project connects to the storage account stgaudit, and the agent's storage-backed tool must read and write blobs. The role assignment must follow the principle of least privilege.
Azure separates management plane permissions, which control the storage account resource itself, from data plane permissions, which control access to the data inside the account. Reading and writing blobs is a data plane operation. Storage Blob Data Contributor is the built-in role that grants read, write and delete access to blob containers and blobs. It allows the agent's tool to read existing blobs and write new ones, which is exactly what the tool requires, without granting control over the storage account configuration and without the ability to manage access control. Storage Account Contributor (option A) is a management plane role that allows managing the storage account, such as configuration and keys; because it allows listing account keys, it indirectly provides full data access and much more than necessary. Storage Blob Data Owner (option B) includes everything in Storage Blob Data Contributor plus the ability to set POSIX access control lists and take ownership, which goes beyond the requirement. Contributor (option C) grants full management of all resources in its scope, which is far too broad. Assigning Storage Blob Data Contributor to the agent's managed identity, ideally scoped to the specific container or to stgaudit, provides the minimal permissions needed for the tool and follows least privilege.
Question # 14
You have a LangGraph multi-agent workflow that uses Azure Cosmos DB as acheckpointer.You plan to change the pruning rules for the running message list before the next releaseYou need to implement evaluations tor memory. The solution must meet the followingrequirements:• Verify that claim-related state values remain correct at transition points.• Verify that conversation context is preserved after an interruption.• Identify the source of any loss of continuity during a runWhich three actions should you perform Each correct answer presents part of the solutionNOTE: Each correct selection is worth one point.
A. Store the expected values in short-term memory and remove durable external artifacts before each run. B. Run each turn with a different threaded and evaluate the final response text for the case. C. Capture the tool.call.arguments and tool.call.results attributes as the memory evaluation data for each tool invocation. D. Run a scripted multi-turn case through all the agents by using a single thread id before and after a process restart. E. Compare the persisted checkpoints documents for the evaluation thread_id with the expected State values after each handoff. F. Correlate the evaluation run ID with trace spans for agent-to-agent interactions and state management.
Answer: D,E,F
Explanation:
The LangGraph workflow uses Azure Cosmos DB as a checkpointer, and the pruning rules for the running message list are about to change. The memory evaluations must verify that claim-related state values remain correct at transition points, that conversation context is preserved after an interruption, and that the source of any loss of continuity can be identified. Running a scripted multi-turn case through all agents with a single thread_id before and after a process restart (option D) verifies continuity after interruption. Using the same thread_id ensures that LangGraph reloads the persisted checkpoint after the restart, so the evaluation can confirm that the conversation context survives. Comparing the persisted checkpoint documents for the evaluation thread_id with the expected state values after each handoff (option E) verifies that claim-related state values are correct at every transition point, by inspecting the actual durable state rather than relying on the final text.
Correlating the evaluation run ID with trace spans for agent-to-agent interactions and state management (option F) makes it possible to pinpoint where continuity was lost, because traces show which agent, handoff or state operation dropped or altered information. Option A removes the durable artifacts that the evaluation needs to inspect. Option B uses a different thread for each turn, which breaks continuity by design and only evaluates final text. Option C captures tool arguments and results, which show tool behavior but not the graph state or message list that the pruning rules affect. Therefore D, E and F are correct.
Question # 15
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 numbersWhich guardrail strategy should you include in the recommendation?
A. Apply the built-in blocklist to user inputs. Configure Task Adherence at the tool call intervention point B. Create a blocklist that applies to user input. Configure Personally Identifiable Information (Pll) detection at the user input intervention point. C. Create a blocklist that applies to agent outputs. Configure Personally Identifiable Information (Pll) detection at the output intervention point. D. Apply the built-in blocklist to agent outputs. Configure Task Adherence at the tool call intervention point.
Answer: C
Explanation:
The requirements apply to what the agents produce: responses must never include the names of two specific sanctioned companies, and responses must not expose customer account numbers. Both requirements concern agent output, so the controls must be applied at the output intervention point. For the sanctioned company names, a custom blocklist is required. The built-in blocklist covers generic profanity, not the names of specific companies chosen by the organization. A custom blocklist contains the exact terms that must be blocked, and applying it to agent outputs ensures that any response containing those names is blocked or filtered, regardless of whether the names came from the user, retrieved documents or the model itself. For customer account numbers, Personally Identifiable Information detection is the appropriate control. PII detection identifies sensitive data types such as account numbers, and configuring it at the output intervention point prevents responses that contain this information from reaching users. Option A and option D use the built-in blocklist, which does not include the company names, and Task Adherence at the tool call intervention point checks whether tool usage aligns with the task rather than filtering sensitive content in responses. Option B applies both controls only to user input, which would block users from mentioning the terms but would not prevent the agent from including company names or account numbers that come from retrieved data or tool results. Therefore creating a custom blocklist for agent outputs and configuring PII detection at the output intervention point is correct.
Question # 16
You have a Microsoft Foundry agent that handles customer support chats. The agent has two tools named get_contract_terms and calculate_refund.On turns where refunds must be calculated, the agent inconsistently calls the tools.You need to reliably force refund-estimate turns to call calculate_refund.Which request configuration should you use?
A. tool_choice: {"type": "function", "function": {"name": "calculate_refund"}} B. tool_choice: "auto" C. instructions: "Use calculate_refund for refund estimates." D. tool_choice: "required"
Answer: A
Explanation:
The agent has two tools, get_contract_terms and calculate_refund, and it inconsistently calls the tools on turns where a refund estimate is needed. The requirement is to reliably force those turns to call calculate_refund. The tool_choice parameter of the request controls how the model selects tools. Setting tool_choice to an object that specifies the function type and the name calculate_refund forces the model to call that specific function on that request. The model must produce a call to calculate_refund with arguments, so the behavior is deterministic for those turns. The application can apply this setting only on refund-estimate turns, for example after classifying the user intent, while leaving other turns unconstrained. Option B, tool_choice set to auto, is the default behavior in which the model decides whether to call a tool and which one, which is exactly what produces the inconsistent behavior. Option C, adding an instruction to use calculate_refund, improves the probability but is still guidance that the model may ignore, so it is not reliable. Option D, tool_choice set to required, forces the model to call at least one tool, but the model can still choose get_contract_terms instead of calculate_refund, so it does not guarantee the correct tool is called. Therefore the correct configuration is tool_choice with type function and the name calculate_refund, which deterministically forces the model to call the refund calculation tool whenever the application sends a refund-estimate turn.
Question # 17
You have a Microsoft Foundry project that contains a multi-agent customer support solution. The solution includes a final response agent.You need to provide reviewers with the ability to assess agent responses in the preview web app and record a completion score for each agent response. The solution must follow the principle of least privilege.Which roles should you assign to the reviewers?
A. only Application Insights Reader on the Foundry account B. only Foundry User on the project C. Foundry User on the project and Reader on the Foundry account D. only Foundry Project Manager on the project
Answer: C
Explanation:
Reviewers need to assess agent responses in the preview web app and record a completion score for each response, following the principle of least privilege. The Foundry
User role on the project grants the permissions needed to use the project: interacting with agents, running them in the preview or playground experience, and creating and annotating evaluation data such as human feedback and scores. It does not grant management permissions such as creating projects, managing connections or assigning roles. However, the preview web app and its related data, such as agent metadata and resources that live at the parent Foundry resource level, also require read access to the Foundry account so that the reviewer's session can load the account-level information that the experience depends on. Assigning the Reader role on the Foundry account provides this read-only visibility without granting any ability to change the account or its deployments. The combination of Foundry User on the project and Reader on the Foundry account therefore gives reviewers exactly what they need and nothing more. Option A, only Application Insights Reader, allows viewing telemetry but not interacting with the agent or recording completion scores. Option B, only Foundry User on the project, lacks the account-level read access required by the preview experience. Option D, Foundry Project Manager, includes management permissions such as managing the project and assigning roles, which exceeds what reviewers need and violates least privilege. Therefore option C is correct.
Question # 18
You are designing Microsoft Foundry multi-agent solution. The agents will use Agent-toAgent (A2A) delegation and access separate Azure Storage containers within a resource group named RG1.You need to recommend identity components for the design. The solution must meet the following requirements:• Eliminate stored application secrets.• Limit the impact of a compromised agent or deployment.Solution: Use delegated user permissions for agent actions. Assign Azure roles by using a shared security group. Does this meet the goal?
A. Yes B. No
Answer: B
Explanation:
This question is part of a series in which a Foundry multi-agent solution uses Agent-to-Agent delegation and accesses separate Azure Storage containers in resource
group RG1. The identity design must eliminate stored application secrets and limit the impact of a compromised agent or deployment. The proposed solution uses delegated user permissions for agent actions and assigns Azure roles by using a shared security group.
This does not meet the goal. Delegated user permissions mean that agents act on behalf of the signed-in user and inherit the user's permissions. Users often have broader access than any single agent needs, so a compromised agent acting with delegated rights could reach any resource the user can access, and background or delegated agent-to-agent actions may run when no user is present. More importantly, assigning roles through a shared security group gives every member of the group, and therefore every agent or user using it, the same set of permissions across all the storage containers. If one agent or deployment is compromised, the attacker obtains access to all containers granted to the group, so the blast radius is not limited. The design also does not separate agents from each other, which is the core of limiting impact. The recommended design is a separate managed identity for each agent and environment, with Azure roles assigned at the specific resource or container level. Managed identities eliminate secrets, and per-agent identities scoped to individual containers contain the impact of any compromise. Therefore the answer is No.
Question # 19
You have a Microsoft Agent Framework workflow. The workflow includes three specialized agents that wrap custom Hugging Face Transformers pipelines for Personally Identifiable Information (P(l) detection, sentiment classification, and summarization Each ticket must be processed by the Pll detection agent first. The sentiment classification agent must receive the redacted ticket text. The summarization agent must receive both the redacted text and the sentiment result You need to coordinate the agents to meet the dependencies.Which orchestration pattern should you use?
A. concurrent B. handoff C. sequential D. group chat
Answer: C
Explanation:
The workflow includes three agents for PII detection, sentiment classification and summarization. Each ticket must first be processed by the PII detection agent. The sentiment agent must receive the redacted text, and the summarization agent must receive both the redacted text and the sentiment result. These are strict, linear data dependencies: each step needs the output of the previous step, and the order never changes. Sequential orchestration is designed for exactly this situation. In sequential orchestration, agents run in a predefined order, and the output of one agent becomes the input of the next, while the shared conversation context accumulates. The PII agent runs first and produces redacted text, the sentiment agent then processes the redacted text, and the summarization agent receives the redacted text together with the sentiment result. This guarantees that unredacted text never reaches downstream agents, which is critical for privacy. Microsoft Agent Framework provides a sequential builder to create this pipeline with minimal code. Concurrent orchestration (option A) would run agents in parallel on the same input, so the sentiment and summarization agents would receive the original unredacted text and the summary would not have the sentiment result. Handoff orchestration (option B) lets agents dynamically transfer control based on context, which is unnecessary and less predictable for a fixed pipeline. Group chat orchestration (option D) has agents collaborate in a shared conversation managed by a manager, which adds overhead and does not enforce the strict order. Therefore sequential orchestration is correct.
Question # 20
You have a Microsoft Agent Framework multi-agent workflow. The workflow includes a context provider that injects a condensed memory summary into each agent invocation.Requirements and acceptance criteria are stored in GitHub issues.During a long-running workflow, the acceptance criteria changes. Later agents sometimes apply the earlier criteria. Token telemetry shows condensed summaries grow across handoffs. causing older content to be truncated.You need to ensure that the later agents use the current requirements. The solution must limit context window growth.What should you do?
A. Use a larger-context model and retain an accumulated workflow summary for handoffs B. Persist the workflow thread in Azure Cosmos DB and retrieve transcript excerpts during each handoff. C. Build each handoff context from the current GitHub issue state and discard invalidated memory. D. Give each subagent a GitHub issue lookup tool and continue injecting a shared summary.
Answer: C
Explanation:
In the long-running workflow, a context provider injects a condensed memory summary into each agent invocation. When the acceptance criteria change in the GitHub issue, later agents still apply earlier criteria, and the summaries grow across handoffs until older content is truncated. The solution must ensure later agents use the current requirements and limit context window growth. The correct approach is to build each handoff context from the current GitHub issue state and discard invalidated memory. The GitHub issue is the authoritative source of truth for requirements. Rebuilding the handoff context from the current state means that every agent always receives the latest acceptance criteria, regardless of what happened earlier in the workflow. Discarding memory that has been
invalidated by the change prevents stale criteria from being carried forward and keeps the context compact, because the context does not accumulate history at each handoff. Using a larger-context model and keeping an accumulated summary (option A) only delays truncation, increases cost and still carries outdated criteria that can confuse agents. Persisting the full thread in Azure Cosmos DB and retrieving transcript excerpts (option B) provides durability, but excerpts can still include outdated criteria and do not guarantee the current state is used. Giving each subagent a lookup tool while continuing to inject the shared summary (option D) still injects the growing, stale summary and relies on the model choosing to call the tool, so stale criteria may still be applied. Therefore option C solves both correctness and growth.
0 Review for Microsoft AI-500 Exam Dumps