Free AI-500 practice questions: 20 with answers

Updated November 23, 2026

Twenty original scenario questions, spread over the four AI-500 domains in line with Microsoft’s published weights: four on architecting multi-agent solutions, six on development, five on evaluation, optimization and monitoring, and five on security, governance and deployment. The exam is aimed at production multi-agent systems on Azure with Microsoft Foundry, so the scenarios lean on trade-offs rather than syntax. Every question has one correct answer. Identify the constraint first (security boundary, cost, latency, quality or oversight), then eliminate the options that ignore it.

Architect multi-agent solutions

Question 1. A single agent has forty tools and often picks the wrong one, and its prompt keeps growing. Which redesign best fits a multi-agent approach?

  • A. Add ten more tools so that every case is covered
  • B. Make the prompt longer with a rule for each tool
  • C. Split into specialised agents with narrow toolsets and an orchestrator that routes requests
  • D. Remove all tools and rely on the model’s knowledge
Show answer

Answer: C

Splitting the work into agents with narrow responsibilities and small, relevant toolsets, with an orchestrator routing between them, reduces tool confusion and makes each part easier to test and secure. Adding more tools or a longer prompt makes the selection problem worse, and removing the orchestration loses the capability.

Want more questions like this? Full AI-500 practice tests →

Question 2. A multi-tenant agent platform stores long-term memory about users. Customers require that one tenant can never retrieve another tenant's memories, and that old memories expire. What should you specify?

  • A. A tenant-isolated memory store with a retention and expiry policy
  • B. One shared store, with the prompt telling the agent not to mix tenants
  • C. A shared store with no expiry so nothing is ever lost
  • D. Memory kept only in the model’s context window
Show answer

Answer: A

Long-term memory needs tenant isolation and a lifecycle policy such as retention or expiry, which is how the outline describes multi-tier state persistence. A shared store filtered only by a prompt instruction can leak data, indefinite retention conflicts with the expiry requirement, and keeping memories only in the context window loses them when the session ends.

Want more questions like this? Full AI-500 practice tests →

Question 3. A solution has a routing step that classifies each incoming request into one of six categories, and a separate planning step that decomposes complicated requests into sub-tasks. Latency and cost matter for routing, quality matters for planning. How should you choose models?

  • A. The largest reasoning model for both steps
  • B. The smallest model for both steps
  • C. A large reasoning model for routing and a small model for planning
  • D. A small, fast model for routing and a stronger reasoning model for planning
Show answer

Answer: D

Matching the task to the model family means using a small, fast, cheap model for simple classification and a stronger reasoning model for the planning step. Using the largest model everywhere wastes cost and latency, using the smallest everywhere risks poor plans, and swapping them reverses the logic.

Want more questions like this? Full AI-500 practice tests →

Question 4. Your design needs a coordinator agent to hand work to an agent owned by another team, and also to call a catalogue lookup and a calculator. Which pairing of communication standards fits the design?

  • A. MCP between the agents and A2A for the calculator
  • B. A2A for the other team’s agent and MCP for the lookup and calculator
  • C. Email between the agents and a shared database for the tools
  • D. A shared table that each agent polls for new work
Show answer

Answer: B

Agent2Agent (A2A) is meant for communication between agents, and the Model Context Protocol (MCP) is meant for connecting agents to tools and data sources, so the pairing uses A2A for the other team’s agent and MCP for the lookup and calculator. The reversed pairing mismatches the purposes, and email or a shared polling table are not standards for agent communication.

Want more questions like this? Full AI-500 practice tests →

Develop multi-agent solutions in Azure

Question 5. A support agent must answer using the current customer's plan, open tickets and region, which change on every request. Hard-coding examples for every customer is impossible. Which prompting technique fits?

  • A. Write a separate hard-coded prompt for each customer
  • B. Inject the retrieved customer details into the prompt at run time
  • C. Make the fixed system prompt as long as possible
  • D. Fine-tune one model per customer for each ticket
Show answer

Answer: B

Dynamic context injection adds the retrieved customer data to the prompt at run time, so the same prompt serves every customer. Hard-coding customers does not scale, a bigger fixed prompt cannot hold per-request data, and fine-tuning a model per customer is far too heavy for facts that change each call.

Want more questions like this? Full AI-500 practice tests →

Question 6. A research agent works for hours and its conversation now fills the context window. It must keep key decisions, entities and open questions. What should you implement?

  • A. Drop the oldest messages whenever the window is full
  • B. Raise the temperature setting
  • C. Compact older turns into a summary that keeps entities, decisions and open questions
  • D. Start a brand new conversation without any history
Show answer

Answer: C

Context compaction summarises or condenses older turns while preserving the important entities and decisions, so work can continue within the window. Dropping the oldest messages blindly loses earlier constraints, raising the temperature changes randomness and not capacity, and starting a fresh conversation discards the state.

Want more questions like this? Full AI-500 practice tests →

Question 7. In a RAG solution over product manuals, retrieved chunks often cut a table in half, so answers are incomplete. Which change most directly improves retrieval precision for this problem?

  • A. Revise the chunking so that chunk boundaries respect tables and headings, with some overlap
  • B. Increase the model temperature
  • C. Switch to a larger model without changing retrieval
  • D. Remove all tables from the manuals
Show answer

Answer: A

Chunking is the cause: using structure-aware chunk boundaries and sensible overlap keeps tables and their headings together. Increasing temperature does not change what is retrieved, a larger model cannot read text that was never retrieved, and removing the tables loses information users need.

Want more questions like this? Full AI-500 practice tests →

Question 8. An agent calls an external pricing tool that times out about one call in twenty. At present the whole task fails. What is the best design change?

  • A. Remove the pricing tool
  • B. Hide the error and let the model guess the price
  • C. Retry without limit until the call succeeds
  • D. Retry with backoff, fall back to a cached or alternative source, and validate the result
Show answer

Answer: D

Robust tool use includes error handling with retries and backoff for transient faults, a fallback path, and validation of results, so a single timeout does not fail the task. Removing the tool loses the capability, hiding the error from the model invites invented prices, and an unlimited retry loop can spin and burn cost.

Want more questions like this? Full AI-500 practice tests →

Question 9. A request needs inventory, price and shipping information. The three lookups are independent of each other and the user is waiting. Which orchestration pattern minimises latency?

  • A. Sequential, one lookup after another
  • B. Parallel, running the three lookups at the same time and combining the results
  • C. A peer-to-peer discussion until the agents agree
  • D. Repeat the whole sequence twice to double-check
Show answer

Answer: B

Independent work can run in parallel, so the total time is about that of the slowest lookup. Running the lookups one after the other adds their durations, and a peer-to-peer debate or a repeat of the whole sequence adds time without need.

Want more questions like this? Full AI-500 practice tests →

Question 10. Many users ask the same question in different words, and each call to the model is costly. You want to return a stored answer when a new question means the same thing as an earlier one. Which caching strategy is this?

  • A. Prompt caching of the repeated system prompt
  • B. Exact-match response caching on the question text
  • C. Semantic caching keyed on the meaning of the question
  • D. Increasing the output token limit
Show answer

Answer: C

Semantic caching matches new questions to earlier ones by meaning and returns the stored response. Prompt caching reuses a repeated prompt prefix to cut cost but still generates a new answer, and exact-match response caching only helps when the text is identical, which paraphrases are not.

Want more questions like this? Full AI-500 practice tests →

Evaluate, optimize and monitor multi-agent solutions

Question 11. You must score thousands of agent answers for helpfulness and tone after every change, and human reviewers cannot read them all. Which approach fits, and how do you make it trustworthy?

  • A. Have humans read every answer
  • B. An LLM-as-a-judge with a rubric, calibrated against a sample that humans reviewed
  • C. An LLM-as-a-judge used without any validation
  • D. Use answer length as the quality score
Show answer

Answer: B

An LLM-as-a-judge with a clear rubric scales to large volumes, and calibrating it against a sample reviewed by humans shows whether its scores can be trusted. Reading every answer is not feasible, an unvalidated judge may be biased, and counting answer length does not measure helpfulness.

Want more questions like this? Full AI-500 practice tests →

Question 12. In long chats the agent forgets a constraint the user stated early, and the application keeps only the last 20 messages. Which problem is this?

  • A. Sliding-window amnesia
  • B. Summary drift
  • C. Vector-only recall
  • D. Rate limiting
Show answer

Answer: A

Keeping only the most recent messages drops early instructions, which is sliding-window amnesia. Summary drift concerns facts changing across repeated summaries, vector-only recall concerns missing exact terms in retrieval, and entity continuity concerns losing track of who or what is referred to.

Want more questions like this? Full AI-500 practice tests →

Question 13. A retrieval step finds relevant passages for natural language questions but misses documents when users search for an exact part number. Which change best addresses it?

  • A. Raise the temperature of the model
  • B. Lengthen the system prompt
  • C. Delete part numbers from the index
  • D. Combine vector search with keyword matching in a hybrid search
Show answer

Answer: D

Pure vector similarity can miss exact identifiers, so combining it with keyword matching in a hybrid search recovers them. A higher temperature, a longer system prompt or deleting the part numbers do not improve retrieval of exact terms.

Want more questions like this? Full AI-500 practice tests →

Question 14. Two agents sometimes ask each other for clarification in a loop, and one such run consumed a month of token budget over a weekend. What should you add?

  • A. A larger token quota
  • B. Remove usage monitoring to reduce noise
  • C. A maximum turn count, token limits and an alert on unusual usage
  • D. Nothing, because it is unlikely to recur
Show answer

Answer: C

Loop controls such as a maximum number of turns, together with token limits and alerts on unusual usage, stop runaway exchanges and contain cost. A bigger quota only lets the loop spend more, removing monitoring hides the problem, and hoping it will not recur is not a control.

Want more questions like this? Full AI-500 practice tests →

Question 15. A single user request passes through an orchestrator and four agents, and engineers cannot tell which agent caused a wrong answer. What should you implement in Foundry?

  • A. A larger model for the orchestrator
  • B. Tracing with a correlation ID that follows the request through every agent
  • C. Two extra agents that re-check the final answer
  • D. Reviewing only the final answer
Show answer

Answer: B

Tracing with a correlation ID that follows the request through every agent, capturing prompts, tokens and tool calls, lets you reconstruct who did what. Larger models, more agents or reading only the final answer do not show the path of the request.

Want more questions like this? Full AI-500 practice tests →

Secure, govern and deploy multi-agent solutions

Question 16. An agent hosted in Azure Container Apps must read documents from Azure Blob Storage. The security team forbids stored keys. What should you configure?

  • A. A managed identity for the app with a least-privilege role on the storage account
  • B. The storage account key in a configuration file
  • C. A SAS token written into the system prompt
  • D. Public anonymous access to the container
Show answer

Answer: A

A managed identity with an appropriate role assignment on the storage account gives identity-based access with no stored key to leak or rotate. Account keys in a config file, a shared access signature pasted into the prompt or public anonymous access all weaken the boundary.

Want more questions like this? Full AI-500 practice tests →

Question 17. An agent calls an internal HR API for a signed-in manager. The API must only return the data that this manager is allowed to see, not everything the agent's own service account could read. Which authentication flow fits?

  • A. A shared API key held by the agent
  • B. The agent’s own administrator service account
  • C. Ask the manager to type their password into the chat
  • D. The on-behalf-of flow with the signed-in user’s token
Show answer

Answer: D

The on-behalf-of flow passes the signed-in user’s identity downstream so that the API enforces that user’s permissions. An API key or the agent’s own broad service account would return data beyond what the manager may see, and asking users for their passwords is insecure.

Want more questions like this? Full AI-500 practice tests →

Question 18. Before each release you want automated adversarial testing of the agent, such as attempts at jailbreaks and data exfiltration, as part of a shift-left approach. What should you use in Foundry?

  • A. Wait for user reports after release
  • B. Lengthen the system prompt with more warnings
  • C. Run the AI Red Teaming Agent against the agent in the pipeline
  • D. Unit tests for the output formatting only
Show answer

Answer: C

The AI Red Teaming Agent in Foundry runs automated adversarial probes so that weaknesses are found before release. Waiting for users to report problems is the opposite of shift-left, a longer prompt does not test anything, and unit tests of the formatting code do not probe safety.

Want more questions like this? Full AI-500 practice tests →

Question 19. An agent summarises web pages through a browsing tool. A page contains hidden text that tells the agent to email the customer list to an outside address. Which guardrail intervention point is most directly responsible for catching this?

  • A. A check on the user input only
  • B. A check on the tool response before the model uses it
  • C. A check on the final output only
  • D. No check, because the browsing tool is trusted
Show answer

Answer: B

The malicious instruction arrives in the tool response, so a guardrail that inspects tool responses before they reach the model is the most direct control. Checking only the user input misses it because the user typed nothing harmful, and checking only the final output might be too late if a tool call has already been made.

Want more questions like this? Full AI-500 practice tests →

Question 20. You are releasing a new prompt version for a production agent. It might lower answer quality in ways unit tests miss, and you need a quick way back. Which release approach fits?

  • A. Canary release with automated evaluations, and rollback by routing back to the previous version
  • B. Replace the production prompt for all users at once
  • C. Skip evaluations to ship faster
  • D. Edit the prompt directly in production with no versioning
Show answer

Answer: A

A canary release sends a small share of traffic to the new version while automated evaluations and monitoring compare quality, and rollback means routing traffic back to the previous version. Replacing the production version at once exposes every user, skipping evaluation removes the quality check, and editing the prompt live leaves no version to return to.

Want more questions like this? Full AI-500 practice tests →

After the questions

Count misses by domain. Development is the heaviest at 30-35% of the exam, then evaluation and security at 20-25% each, so a weak spot in those matters most. Go back to the guides for architecture, development, evaluation and monitoring and security and deployment, use the cheat sheet for the decision rules and the study plan to schedule your revision. Microsoft’s exam page says no official practice assessment exists for AI-500 yet, so these questions check your recall of the outline and do not predict the real exam.