Microsoft AI-500 Practice Questions with Explanations
Free Microsoft AI-500 practice questions. 18 of them, each with the correct answer, a full explanation, and the reason every other option is wrong.
AI-500 practice questions
Question 1
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
Show answer and explanation ▾
Correct answer: B
AKS runs each tenant's workload in its own containers with namespaces, network policies and resource quotas, and it scales pods and nodes automatically with demand. This suits latency-sensitive inference and growth from 20 to 200 tenants.
Why the other options are wrong:
- A. Azure Container Instances is not an orchestrator with built-in demand-based scaling and tenant policy controls for hundreds of tenants.
- C. Foundry Agent Service is a managed agent service, not the container orchestration platform this design needs to isolate each tenant's workloads.
- D. GPU virtual machines are not containerized by default and leave scaling and operating system management to you.
Question 2
You have a Microsoft Foundry multi-agent solution for loan applications. Each agent scores a full application independently and does NOT require output from other agents. You need to recommend an orchestration pattern that meets the following requirements: ● Produces one aggregated recommendation ● Preserves independent scoring ● Minimizes end-to-end latency ● Minimize development effort What should you recommend?
- A. group chat
- B. magnetic
- C. sequential
- D. concurrent
Show answer and explanation ▾
Correct answer: D
Concurrent orchestration runs all agents on the same input at once and then aggregates their results. Each agent scores independently, latency is bounded by the slowest agent, and little custom code is needed.
Why the other options are wrong:
- A. Group chat has agents discuss and react to each other, which adds turns and latency and weakens independent scoring.
- B. Manager-planned orchestration adds planning overhead and development effort for tasks that are already independent.
- C. Sequential orchestration runs the agents one after another, which raises end-to-end latency.
Question 3
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"
Show answer and explanation ▾
Correct answer: A
Setting tool_choice to a specific function name forces the model to call that function on the request. This makes refund-estimate turns call calculate_refund every time instead of depending on the model's choice.
Why the other options are wrong:
- B. The auto setting lets the model decide whether to call any tool, which is the inconsistent behavior already seen.
- C. Instructions guide the model but do not force a call.
- D. The required setting forces some tool call but does not guarantee it is calculate_refund.
Question 4
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 common instructions 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
Show answer and explanation ▾
Correct answer: D
Prompt caching reuses the processed prefix of a request when the leading tokens match exactly, which cuts input cost and time to first token for shared instructions and tool definitions. The model still generates a fresh completion for each user message, with no application changes.
Why the other options are wrong:
- A. Retrieval caching stores retrieved documents or search results and does not reuse the processed prompt prefix.
- B. Semantic caching matches similar queries rather than requiring an exact prefix match.
- C. Response caching returns a stored completion instead of generating a new one for each request.
Question 5
You have a Microsoft Foundry project that contains an incident triage agent.
You have a Model Context Protocol (MCP) server registered in the organizational tool catalog. The MCP server exposes two tools named docs_search and deployment_delete.
You need to ensure that the agent can only invoke docs_search.
What should you configure?
- A. the project details
- B. the agent run configuration
- C. the agent tool configuration
- D. the agent instructions
Show answer and explanation ▾
Correct answer: C
The allowed tools list belongs in the agent's tool configuration for the MCP server. Listing only docs_search there means the agent can see and call that tool, while deployment_delete stays unavailable to it.
Why the other options are wrong:
- A. Project details describe the project itself and do not filter which MCP tools an agent may call.
- B. Run configuration sets per-run options and is not where an MCP server's tool list is restricted.
- D. Instructions only ask the model to behave a certain way and do not enforce which tools can be invoked.
Question 6
You have an Azure API Management Premium instance that hosts a REST API named InventoryAPI. You plan to provide Microsoft Foundry agents with the ability to call API operations by using the Model Context Protocol (MCP). You will use API Management as the gateway without a separate MCP backend. You need to recommend a solution for the MCP deployment that supports the following: ● Microsoft Entra JSON Web Token (JWT) validation ● Azure Monitor diagnostics ● Request quotas What should you recommend?
- A. Use Azure Functions to host an MCP server that wraps InventoryAPI.
- B. Use Azure Logic Apps to create an MCP server from connector actions.
- C. Use API Management to expose InventoryAPI as an MCP server.
- D. Use Azure API Center to register InventoryAPI as an API asset.
Show answer and explanation ▾
Correct answer: C
API Management can expose an existing REST API as an MCP server directly at the gateway. Because the traffic passes through API Management, you can apply JWT validation, Azure Monitor diagnostics, and quota policies without a separate backend.
Why the other options are wrong:
- A. Hosting a wrapper in Azure Functions adds a separate MCP backend, which the scenario says to avoid.
- B. Logic Apps builds an MCP server from connector actions and does not expose InventoryAPI through the API Management gateway.
- D. API Center only catalogs APIs as assets and does not serve MCP or enforce gateway policies.
Question 7
You are designing a Microsoft Foundry multi-agent solution for claims processing. The design 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 a claims hub that has direct specialist delegation, gate the final settlement output against a checklist, and route conflicts through the hub.
- B. Define connected agents grouped by domain under a main agent use natural-language delegation, and accept narrative summaries from the specialist agents.
- C. 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.
- D. Define domain-scoped sub-orchestrators under a claims supervisor, gate each output against a structured contract, and route conflicts through the supervisor.
Show answer and explanation ▾
Correct answer: D
Domain-scoped sub-orchestrators give each business domain its own boundary, so adding a specialist affects only that domain. A supervisor owns conflicts, and a structured contract lets each output be validated before downstream agents use it.
Why the other options are wrong:
- A. A single hub with direct delegation does not isolate domains, and it gates only the final output instead of each agent output.
- B. Natural-language delegation and narrative summaries cannot be validated against a contract and give no clear conflict owner.
- C. Letting consuming domains resolve conflicts leaves no single owner, and shared case state couples the domains together.
Question 8
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have a Microsoft Foundry Agent Service solution that includes two agents. You need to configure memory for the agents. The solution must meet the following requirements: ● Isolate the memory between end users. ● Isolate the memory between the agent domains. ● Support the deletion of one user's memory without deleting other users' memory. Solution: You create a dedicated memory store for each agent and set scope for each memory search tool to {{$userId}}. Does this meet the goal?
- A. Yes
- B. No
Show answer and explanation ▾
Correct answer: A
A separate memory store for each agent keeps the agent domains apart. Setting the search scope to the user identifier isolates users from each other and lets one user's memories be deleted without touching anyone else's.
Why the other options are wrong:
- B. The design isolates users and agent domains and supports per-user deletion, so rejecting it is not supported by the requirements.
Question 9
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. platform-native subagent orchestration
- B. Agent-to-Agent (A2A)
- C. an in-process agent-as-tool composition
- D. Model Context Protocol (MCP)
Show answer and explanation ▾
Correct answer: D
MCP exposes the partner's capabilities as structured tools and data behind an authenticated, auditable endpoint. The orchestration agent depends only on that interface, not on how the partner agent is built.
Why the other options are wrong:
- A. Platform-native subagent orchestration ties the solution to agents inside the same platform, not a partner's separate framework.
- B. Agent-to-Agent is not the approach that provides authenticated, auditable access to structured tools and data.
- C. In-process agent-as-tool composition requires the partner agent to run inside the same process, which couples the solution to its implementation.
Question 10
You have a Microsoft Foundry multi-agent customer support solution that retrieves grounding data from a shared vector index. The indexed corpus contains product runbooks in Markdown and support articles in HTML Both document types use a consistent hierarchical markup.
You discover that current fixed-size token chunking creates chunks that cross section boundaries.
You need to recommend a chunking approach for the ingestion pipeline. The solution must preserve existing document structure boundaries and minimize custom chunking code.
What should you recommend?
- A. semantic chunking with topic-shift detection
- B. format-specific chunking with header splitters
- C. recursive character chunking with structure-aware separators
- D. fixed-size chunking with token overlap
Show answer and explanation ▾
Correct answer: B
Markdown and HTML with consistent hierarchical markup can be split on their headers using built-in header splitters. That keeps chunks inside section boundaries with almost no custom chunking code.
Why the other options are wrong:
- A. Semantic chunking splits by detected topic shifts, which does not guarantee the existing section boundaries are kept.
- C. Recursive character chunking relies on separator characters and needs custom configuration to follow the document hierarchy.
- D. Fixed-size chunking with overlap is the current approach that crosses section boundaries.
What people say about the full Microsoft AI-500 pack 5.0 from 3
It helped me a lot to prepare for my Microsoft AI-500.
great experience shopping with Dailydebian The Microsoft AI 500 study file made prep easy.
Question 11
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. sequential
- B. handoff
- C. group chat
- D. concurrent
Show answer and explanation ▾
Correct answer: B
Handoff orchestration fits because exactly one agent is active at a time and that agent decides, from context, to transfer control to a better-suited specialist. The triage agent routes the request and each specialist can pass control onward.
Why the other options are wrong:
- A. Sequential runs agents in a fixed order and does not let the active agent choose who takes over.
- C. Group chat has several agents contributing to a shared conversation, not one active agent at a time.
- D. Concurrent runs agents in parallel, which conflicts with only one agent being active.
Question 12
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have a Microsoft Foundry Agent Service solution that includes two agents. You need to configure memory for the agents. The solution must meet the following requirements: ● Isolate the memory between end users. ● Isolate the memory between the agent domains. ● Support the deletion of one user's memory without deleting other users' memory. Solution: You create one memory store per end user and configure both agents to use each user's memory store with a static scope value. Does this meet the goal?
- A. Yes
- B. No
Show answer and explanation ▾
Correct answer: B
A separate store for each user does isolate users, but both agents share each user's store with the same static scope, so memory is not isolated between the two agent domains. The goal is not met.
Why the other options are wrong:
- A. This design leaves both agents reading and writing the same memory, so agent domains are not isolated.
Question 13
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?
- A. Add per-request prompt cues that provide JSON openers section labels, and final-answer prefixes.
- B. Add repository-wide constraints that list approved agent names, tool names, and response rules.
- C. Add system-level role instructions that define agent domains, task boundaries, and response objectives.
- D. Add few-shot instruction examples that cover routing decisions and schema-compliant final outputs.
Show answer and explanation ▾
Correct answer: C
System-level role instructions apply to every conversation without application code changes. Defining each agent's domain, task boundaries, and response objectives gives consistent routing of compound requests and a consistent final format.
Why the other options are wrong:
- A. Per-request cues must be added by the application on each call, so they do not apply to every future conversation without code changes.
- B. Repository-wide constraints listing names and rules are not instructions the agents receive in each conversation.
- D. Examples alone do not define the agent domains and boundaries that govern every conversation.
Question 14
You need to recommend a knowledge integration design for a Microsoft Foundry multi-agent solution. The agents answer questions by using shared documentation. The solution must meet the following requirements: ● Updates must be available from a single maintained knowledge layer. ● Retrieval responses must include citations and query details. ● Content must support natural-language queries. Users will ask the agents complex conversational questions. The questions will include follow-up context and terminology that does NOT always match the wording in the documentation. Which knowledge type should you recommend?
- A. File
- B. Fabric IQ (OneLake Catalog)
- C. Azure AI Search Index
- D. Work IQ
Show answer and explanation ▾
Correct answer: C
An Azure AI Search index is a single maintained knowledge layer that supports natural-language queries and returns citations with its results. Hybrid retrieval with semantic ranking handles follow-up context and terminology that differs from the documentation wording.
Why the other options are wrong:
- A. A file source is not a maintained retrieval layer that provides the query details and matching needed here.
- B. Fabric IQ is a semantic layer over Microsoft Fabric data, not a maintained index of shared documentation.
- D. Work IQ is a context layer over Microsoft 365 work data, not a shared documentation knowledge layer.
Question 15
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 conversation-scoped, server-managed history with automatic input truncation.
- D. Use as elective summarization of older low-value conversation turns.
Show answer and explanation ▾
Correct answer: A
An enrollment-state snapshot holds the latest value of each field, including corrections, while a sliding window of recent turns bounds tokens. Nothing is stored beyond the conversation, so no durable cross-session memory is created.
Why the other options are wrong:
- B. Chaining a fixed number of responses can drop earlier turns, so field values collected early are not guaranteed to be kept.
- C. Automatic truncation removes older input and can discard field values or corrections.
- D. Summarizing older turns can lose exact field values and corrections that must be preserved.
Question 16
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution. After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. You have a Microsoft Foundry Agent Service solution that includes two agents. You need to configure memory for the agents. The solution must meet the following requirements: ● Isolate the memory between end users. ● Isolate the memory between the agent domains. ● Support the deletion of one user's memory without deleting other users' memory. Solution: You create a dedicated memory store for each agent and configure a static agent scope value for each memory search tool. Does this meet the goal?
- A. Yes
- B. No
Show answer and explanation ▾
Correct answer: B
A dedicated store for each agent isolates the agent domains, but a static agent scope puts all users in the same scope. Users are not isolated, and one user's memory cannot be deleted on its own. The goal is not met.
Why the other options are wrong:
- A. A static agent scope does not separate end users, so the user isolation and per-user deletion requirements fail.
Question 17
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. Publish Agent1 as a new version.
- B. Create a new evaluation for Agent1.
- C. Preview Agent1.
- D. Save Agent1 as a new version.
Show answer and explanation ▾
Correct answer: D
Saving the playground changes creates a new agent version inside the Foundry project, where only developers with project access can run and test it. A full evaluation with a synthetic dataset can then target that saved version.
Why the other options are wrong:
- A. Publishing distributes the agent beyond the project, for example through Microsoft 365 and Teams, so the changes would not stay limited to the development team.
- B. An evaluation needs a saved version with the updated instructions to run against, so it is not the first step.
- C. Previewing does not save the updated instructions as a version that a full evaluation can target.
Question 18
You have a Microsoft Agent Framework workflow. The workflow includes three specialized agents that wrap custom Hugging Face Transformers pipelines for Personally Identifiable Information (PII) detection, sentiment classification, and summarization.
Each ticket must be processed by the PII 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. group chat
- B. sequential
- C. handoff
- D. concurrent
Show answer and explanation ▾
Correct answer: B
Each agent depends on the output of the one before it: PII detection first, then sentiment on the redacted text, then summarization using both outputs. Sequential orchestration runs agents in that fixed order and passes results along.
Why the other options are wrong:
- A. Group chat lets agents converse freely and does not enforce this fixed dependency order.
- C. Handoff transfers control based on context, not a guaranteed fixed pipeline.
- D. Concurrent runs agents in parallel, so later agents would not have the earlier outputs they need.
That was 18 of 107.
The full Microsoft AI-500 pack has all 107 questions, each with the answer, the explanation and why the other options are wrong, plus a questions-only copy for timed runs. $39.00 USD, paid once, with free monthly updates and a pass-or-your-money-back guarantee.
Get the full packNot ready yet? Get the first 38 free as one PDF by email. Get the Half Pack →
About the AI-500 exam
These 18 Microsoft AI-500 questions are free here. The free PDF has 38, free by email.
They are drawn from the same bank as the full AI-500 pack, which has 107 questions in total.