Free AI-500 Exam Braindumps
Designing and Implementing Multi-Agent AI Solutions Questions 31–35 (page: 8)

Updated On: 2-Oct-2026
View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You have a Microsoft Foundry agent built by using LangGraph. The agent retrieves policy content from a vector store. The LangGraph orchestration runs in Azure Container Apps, and the operations team uses Azure
Monitor to inspect agent runs.
You discover that the vector store is sometimes unreachable during Azure regional maintenance windows.
You need to configure the tool ecosystem to ensure that the agent can answer policy questions during outages.
The solution must meet the following requirements:
● Use the project vector store without adding a local retrieval node for the primary path.
● Run the cached-policy lookup in the same compute environment as the LangGraph code.
● Emit agent, model, and tool spans that can be inspected in Azure Monitor.
How should you configure the tool ecosystem? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: A LangChain retriever on a local node
The best option to set up the tool to provide corpus access while meeting all three requirements is a LangChain retriever on a local node, specifically, using a local tool/retriever implementation via langchain_azure_ai.
Primary path uses vector store without a local retrieval node
Met. The primary path directly queries the project vector store (e.g., Azure AI Search) via a retriever.
Backup/Cached lookup runs in the same compute environment
Met. Local tools/nodes run colocated in the same compute environment (Azure Container Apps) where your
LangGraph code is executing. You can conditionally route to a fallback file-cache node.
Emits agent, model, and tool spans to Azure MonitorMet. The langchain-azure-ai tracer emits OpenTelemetry spans for agent execution, model calls, tool execution, and retrieval operations directly to Application Insights.
Box 2: FileSearchTool attached to a fallback agent
The best configuration choice to meet all requirements is a FileSearchTool attached to a fallback agent.
Primary Path Vector Store: The primary path will naturally route queries to the Microsoft Foundry project vector store via the standard FileSearchTool. There is no need to add a local retrieval node for the primary execution branch.
Co-located Execution: The LangChain retriever is already configured on a local node. In the langchain-azure-ai ecosystem, local tools run colocated inside the exact same compute environment (Azure Container Apps)
where the LangGraph orchestration code executes.
Azure Monitor Spans: The fallback path leverages standard agent logic and OpenTelemetry-instrumented nodes.
When configured with the Microsoft OpenTelemetry distribution (langchain-azure-ai), node transitions,
model calls, and local tool executions automatically emit rich end-to-end spans into Azure Monitor Application
Insights.
Box 3: AzureAI OpenTelemetry Traces added as callbacks
To best set up telemetry collection according to the requirements, you should use the
AzureAIOpenTelemetryTracer added as callbacks.
Configure OpenTelemetry for Azure Monitor
To fulfill the third requirement you must instrument your LangChain and LangGraph application using
OpenTelemetry. This automatically registers and links spans for your graph nodes, model invocations, and your custom fallback tool (policy_retrieval_tool), streaming them directly to Azure Application Insights.
Incorrect:
Enabling langchain_azure_ai debug logging will only output flat text strings into standard logs. It completely fails the third requirement because logging cannot generate the structured parent-child agent, model, and tool spans required for visual inspection in Azure Monitor.


Reference:

https://learn.microsoft.com/en-us/azure/foundry/how-to/develop/langchain-agents



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You have a Microsoft Foundry multi-agent ticket triage system. Each agent uses an 80-example system prompt.
Evaluations reveal incorrect tool selection on multi-product tickets and the poor use of retrieved runbook snippets.
Reviewers have labeled final summaries for 2,000 tickets as either preferred or rejected. New ticket categories are added monthly.
You need to recommend a fine-tuning strategy that meets the following requirements:
● Tunes final summaries based on reviews
● Uses retrieved snippets only when relevant
● Minimizes prompt tokens
What should you recommend? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Supervised fine-tuning followed by Direct Preference Optimization
A sequence of Supervised Fine-Tuning (SFT) followed by Direct Preference Optimization (DPO) is the ideal customization strategy for this Microsoft Foundry multi-agent system.
The system currently suffers from high prompt costs (due to the 80-example system prompts), poor context utilization (hallucinating or misusing runbooks), and alignment issues (rejected summaries). Moving these behaviors from the prompt into the weights of the models will directly resolve these bottlenecks.
Box 2: Chat-completion JSONL with retrieved context and preference
The best training data for this fine-tuning strategy is Chat-completion JSONL with retrieved context and preference.
A Chat-completion JSONL format containing the conversation history, retrieved context, and human preference directly addresses all three of your requirements:
Summary Tuning: Including the "preferred" human-labeled summaries as the target assistant response trains the model to generate the exact style, tone, and quality reviewers expect, while filtering out or penalizing the
"rejected" behaviors.
Context Relevance: By training on examples where retrieved snippets are either integrated (when relevant) or ignored/omitted (when irrelevant), the model learns the implicit logic of when and how to use runbook snippets based on the ticket context.
Token Minimization: Fine-tuning embeds the behavioral patterns, system instructions, and task formatting directly into the model's weights. This allows you to strip away most of the massive 80-example system prompt,
drastically reducing input token overhead for every single production API call.


Reference:

https://techcommunity.microsoft.com/blog/azure-ai-foundry-blog/building-a-multimodal-multi-agent-system-usin g-azure-ai-agent-service-and-openai/4396267
https://aramradif.github.io/Multi-Agent-AI-Ticket-Triage-System-Microsoft-Foundry/



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You have a multitenant platform that uses Microsoft Foundry agents. The agents use conversation-based history for active turns, and the platform runs on multiple stateless container instances. Each tenant has a different transcript retention period, and users expect preferences from previous conversations to influence future sessions.
You need to persist cross-session memory after a service conversation is deleted. The solution must meet the following requirements:
● Apply tenant-specific retention to transcript exports.
● Keep the compute tier stateless during scale-out.
● Minimize operational complexity.
What should you include in the solution? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Azure Blob Storage
To meet the requirements, you should use Azure Cosmos DB for NoSQL paired with Azure Blob Storage for transcript exports.
Cross-Session Memory Persistence: When a service conversation transcript is deleted from Blob Storage to satisfy the tenant's retention policy, the extracted memory facts remain safely inside Cosmos DB. This ensures future sessions are still influenced by past preferences without storing the prohibited raw chat logs.
Low Latency for Active Turns: Cosmos DB offers single-digit millisecond response times, ensuring your stateless containers can quickly pull a user's preference profile at the beginning of a conversation turn.
Box 2: Azure Managed Redis with tenant-prefixed keys
For a stateless, multitenant architecture using Microsoft Foundry agents, you should use Azure Cosmos DB for active conversation history and Azure Managed Redis solely as a distributed cache for transient session states.
Keep the Compute Tier Stateless During Scale-Out
Active Turns: The stateless container instances must not store any session state in memory. For the active conversation turn, the container pulls the recent history from Azure Managed Redis using tenant-prefixed keys
(e.g., TenantA:Session123).
Session Handshake: If a container instance scales down or terminates mid-session, any overlapping or subsequent request can be routed to a new instance, which immediately hydrates the agent's context from
Redis.
Box 3: For each tenant, a separate blob container that has Lifecycle Management policies
You should use a separate blob container for each tenant to store the transcript exports.
Tenant-Specific Retention: Azure Blob Storage applies Lifecycle Management policies at the container or folder level. By using a separate container for each tenant, you can easily apply native Azure Lifecycle
Management rules to automatically delete or archive transcripts based on each tenant's specific retention period. If you used a shared container, managing varying retention periods would require complex custom metadata tagging and a custom-built worker service to periodically delete blobs, increasing overhead.


Reference:

https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/manage-hosted-sessions



View Related Case Study

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?

  1. Add per-request prompt cues that provide JSON openers section labels, and final-answer prefixes.
  2. Add repository-wide constraints that list approved agent names, tool names, and response rules.
  3. Add system-level role instructions that define agent domains, task boundaries, and response objectives.
  4. Add few-shot instruction examples that cover routing decisions and schema-compliant final outputs.

Answer(s): C

Explanation:

To address the routing errors and inconsistent response formats with minimal changes to your application code, the most effective solution is to update the system prompts of your agents. By shifting the routing logic and formatting rules into the LLM system instructions, you ensure the behavior applies universally to all future conversations without rewriting your orchestration layer.
To resolve both routing errors and inconsistent final responses while strictly minimizing application code changes, you can inject comprehensive system-level role instructions directly into the Microsoft Foundry agent prompts. Because the platform evaluates conversations using the agents' instruction profiles, updating the system instructions applies to all future conversations globally without touching your hosted application backend code.


Reference:

https://learn.microsoft.com/en-us/azure/foundry/agents/how-to/structured-inputs



View Related Case Study

HOTSPOT (Drag and Drop is not supported)
You have a Microsoft Foundry claims-assistance solution that includes a primary claims agent and three specialist agents. The primary claims agent invokes the specialist agents.
You need to recommend a coordination approach. The solution must meet the following requirements:
● The primary claims agent must retain ownership of the task and synthesize the final response.
● The specialist agents must have a least-privilege view of the claim for their assigned work.
What should you recommend? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Box 1: Agent-as-tools orchestration
The best orchestration pattern to use to meet the requirements is Agent-as-tools orchestration.
Retention of Task Ownership: In an Agent-as-tools design, the primary agent acts as a supervisor or coordinator. It retains full, ultimate responsibility for the conversation and task execution. It treats the specialist agents as functions or callable tools rather than independent conversational entities.
Control Flow & Synthesis: Once a specialist agent completes its sub-task, control is automatically and strictly returned back to the primary agent. This guarantees that the primary agent gathers all the necessary expert data and seamlessly synthesizes the final comprehensive response for the user.
Box 2: The scoped claim data
Only the specific claim subset relevant to that agent's task should be passed as context to each specialist agent.To satisfy the least-privilege requirement, you should avoid passing the full claim context or a universal claim identifier that allows unrestricted data fetching. Instead, use a Hub-and-Spoke coordination approach with data masking or payload minimization.


Reference:

https://learn.microsoft.com/en-us/agent-framework/workflows/orchestrations/handoff



Viewing page 8 of 23
Viewing questions 36 - 40 out of 107 questions


Post your Comments and Discuss Microsoft AI-500 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!