CertifyDeck

AI-500 · Sample questions

AI-500 sample questions with answers and explanations

10 real questions from the CertifyDeck AI-500 bank, spread across the domains of the official Microsoft Certified: Multi-Agent AI Solutions Expert skills outline, with the correct answer and a full explanation of why the other options are wrong. They are original questions written from the public syllabus, not exam dumps, and they are the same style you will find in the practice tests and mock exams.

  1. Question 1Domain: Evaluate, optimize, and monitor multi-agent solutionsMedium

    An Agent Framework agent with in-memory history uses SlidingWindowStrategy(keep_last_groups=20). In long sessions it forgets budget limits the user stated early on. Token usage must stay bounded. What should you do?

    • A.Add a SummarizationStrategy ahead of the sliding window in the pipeline
    • B.Add a SelectiveToolCallCompactionStrategy that keeps the last tool call group
    • C.Add a ToolResultCompactionStrategy to collapse older tool results
    • D.Replace the sliding window with a TruncationStrategy on the same budget
    Show answer and explanation

    Correct answer: A. Add a SummarizationStrategy ahead of the sliding window in the pipeline

    Explanation

    A sliding window drops the oldest turns outright, so early facts vanish. SummarizationStrategy uses an LLM to replace older spans with a summary that by default preserves key facts, decisions and user preferences, and placing it before the sliding window in a composed pipeline keeps that context while tokens stay bounded. TruncationStrategy also removes the oldest groups, and the tool-focused strategies only touch tool-call groups, not the user's earlier messages.

    Official references

  2. Question 2Domain: Evaluate, optimize, and monitor multi-agent solutionsMedium

    A booking agent in Foundry calls a reservation API. Before release, you must verify strictly that every tool call has grounded, correctly typed and formatted parameters, includes all required parameters and adds no unexpected ones. Which built-in evaluator should you use?

    • A.Tool Selection
    • B.Tool Call Success
    • C.Tool Input Accuracy
    • D.Tool Output Utilization
    Show answer and explanation

    Correct answer: C. Tool Input Accuracy

    Explanation

    Tool Input Accuracy validates tool call parameters against strict criteria: groundedness, type compliance, format compliance, required parameters, no unexpected parameters and value appropriateness. Tool Call Success only checks whether the calls ran without technical errors, Tool Selection checks that the right tools were chosen, and Tool Output Utilization checks how the agent used the results.

    Official references

  3. Question 3Domain: Secure, govern, and deploy multi-agent solutionsMedium

    You add an item to a blocklist named codes with the body {"properties": {"pattern": "PRJ-[0-9]{4}", "isRegex": true}}. You then update the guardrail with "promptBlocklists": [{"blocklistName": "codes", "blocking": true}]. What is the result?

    • A.Matching prompts are annotated but still sent to the model
    • B.Prompts that contain a code matching the pattern are blocked
    • C.Completions that contain a matching project code are cut off early
    • D.Only prompts with the literal text PRJ-[0-9]{4} are blocked
    Show answer and explanation

    Correct answer: B. Prompts that contain a code matching the pattern are blocked

    Explanation

    Setting isRegex to true makes the item a regular expression instead of an exact match, and attaching the list under promptBlocklists with blocking set to true applies it to user prompts and blocks matches. Completions would be filtered only if the list were attached under completionBlocklists. A literal match would require isRegex set to false, and blocking set to true means the request is rejected rather than only annotated.

    Official references

  4. Question 4Domain: Secure, govern, and deploy multi-agent solutionsMedium

    A planner agent calls a model endpoint and two downstream agents. You must confirm that the system behaves correctly when the model endpoint throttles requests with HTTP 429 or a downstream agent times out. What should your test strategy include?

    • A.Running the groundedness evaluator against a curated golden dataset
    • B.Raising the model deployment quota in the test environment
    • C.Scheduled red teaming scans that use the Crescendo strategy
    • D.Simulated throttling and timeouts to verify retry and backoff
    Show answer and explanation

    Correct answer: D. Simulated throttling and timeouts to verify retry and backoff

    Explanation

    The Well-Architected testing guidance says to simulate throttling such as HTTP 429 errors, backend timeouts and service unavailability, and to validate that clients handle retries, backoff and circuit breaking; it also recommends simulating tool or agent failures to test reliability. Groundedness measures answer quality, raising quota avoids the failure instead of testing it, and Crescendo is an adversarial safety strategy.

    Official references

  5. Question 5Domain: Architect multi-agent solutionsEasy

    A Foundry agent at Kelderwood Freight runs every night with no user present and writes reconciliation files to Azure Storage under its own authority. Access must be governed only by the role assignments of the agent. Which authentication scenario should you specify?

    • A.Unattended app-only access with the client credentials flow
    • B.Attended delegated access with the OAuth 2.0 on-behalf-of flow
    • C.OAuth identity passthrough that sends each user a consent link
    • D.A storage account key stored in the instructions of the agent
    Show answer and explanation

    Correct answer: A. Unattended app-only access with the client credentials flow

    Explanation

    Agent identities support an unattended, application-only scenario in which the agent acts under its own authority through the OAuth 2.0 client credentials flow, with access governed by its own RBAC role assignments and no human user involved. The on-behalf-of flow and OAuth identity passthrough both require a signed-in user, and placing a key in instructions embeds a secret, which agent identities are designed to avoid.

    Official references

  6. Question 6Domain: Architect multi-agent solutionsMedium

    You create this rule with the Foundry SDK: EvaluationRule(action=ContinuousEvaluationRuleAction(eval_id=eval_id, max_hourly_runs=100), event_type=EvaluationRuleEventType.RESPONSE_COMPLETED, filter=EvaluationRuleFilter(agent_name=agent.name), enabled=True). What does the rule do?

    • A.Starts an adversarial scan each time a new agent version is created
    • B.Runs the evaluation once a day over a stored test dataset
    • C.Blocks every response that fails the violence evaluator before the user can see it
    • D.Evaluates the agent's responses as they complete, with a cap on runs per hour
    Show answer and explanation

    Correct answer: D. Evaluates the agent's responses as they complete, with a cap on runs per hour

    Explanation

    An EvaluationRule with a ContinuousEvaluationRuleAction and the RESPONSE_COMPLETED event type is the continuous evaluation setup: it fires on the filtered agent's response completions, and max_hourly_runs caps the evaluation runs. A daily run over a dataset is the scheduled evaluation, which uses a Schedule with a RecurrenceTrigger instead, and evaluation rules score responses after the fact rather than blocking them like a guardrail.

    Official references

  7. Question 7Domain: Architect multi-agent solutionsEasy

    Your Python Agent Framework agent uses FoundryChatClient against a Foundry project that is already connected to Application Insights. You need its traces in that Application Insights resource with the least code. What should you do?

    • A.Set the ENABLE_SENSITIVE_DATA environment variable to true
    • B.Call await client.configure_azure_monitor() on the chat client
    • C.Run the app with opentelemetry-instrument and a console exporter
    • D.Add an OTLP exporter that points to a local Aspire Dashboard
    Show answer and explanation

    Correct answer: B. Call await client.configure_azure_monitor() on the chat client

    Explanation

    configure_azure_monitor on FoundryChatClient sets up Azure Monitor with the connection string taken from the Foundry project, so traces reach the connected Application Insights resource without wiring exporters yourself. ENABLE_SENSITIVE_DATA only adds prompt and response content to telemetry that is already being exported, and the console or Aspire options send traces to local tools instead of Application Insights.

    Official references

  8. Question 8Domain: Develop multi-agent solutions in AzureEasy

    A classification agent in your multi-agent pipeline uses a long prompt with dozens of few-shot examples on every call. You have several thousand high-quality labeled examples. Which benefit of fine-tuning the agent's model in Microsoft Foundry addresses this situation?

    • A.It guarantees better accuracy without a held-out evaluation
    • B.It gives the model access to information published after training
    • C.It can reduce prompt overhead, lowering token costs and latency
    • D.It replaces the need for application-level safety controls
    Show answer and explanation

    Correct answer: C. It can reduce prompt overhead, lowering token costs and latency

    Explanation

    Fine-tuning adjusts the model weights instead of adding examples to each prompt, so fewer prompt examples are needed, which can lower token costs and latency. The fine-tuning overview states that fine-tuning does not replace retrieval for current information or application-level safety controls, and that benefits are not guaranteed, so a held-out evaluation against the baseline is still needed.

    Official references

  9. Question 9Domain: Develop multi-agent solutions in AzureEasy

    An Agent Framework workflow pauses for a manager's approval, which can take days. The host process might restart or be redeployed while the request is pending. You need to resume without replaying prior agent work and still capture the pending approval. What should you implement?

    • A.Handoff autonomous mode so that agents continue without waiting for human input
    • B.Checkpointing, then answer the pending request that is re-emitted on restore
    • C.Keep the workflow object in memory and avoid redeployments while approvals are pending
    • D.Restart the workflow from its initial input after each restart and ask the manager again
    Show answer and explanation

    Correct answer: B. Checkpointing, then answer the pending request that is re-emitted on restore

    Explanation

    Checkpoints capture the workflow state at superstep boundaries, and pending requests are saved as part of that state; when you restore from a checkpoint, pending requests are re-emitted as request events so you can answer them. Restarting from the initial input replays prior work, which the requirement rules out, and keeping state only in memory doesn't survive a restart. Autonomous mode removes the human gate instead of preserving it.

    Official references

  10. Question 10Domain: Develop multi-agent solutions in AzureMedium

    Your Foundry prompt agent uses MCPTool(server_label="repo", server_url=..., require_approval="always"). After a call to responses.create, the output contains an item of type mcp_approval_request. A reviewer must decide before the tool runs. What should your application do next?

    • A.Call the MCP server directly from the application and append its output to the conversation
    • B.Send an mcp_approval_response with the approval_request_id and the reviewer's decision
    • C.Recreate the agent version with require_approval set to never and resend the same prompt
    • D.Log the request only, because the MCP tool already ran and the approval is informational
    Show answer and explanation

    Correct answer: B. Send an mcp_approval_response with the approval_request_id and the reviewer's decision

    Explanation

    With require_approval set to always, the agent emits an mcp_approval_request instead of running the tool; the app reviews the server, tool name and arguments and sends an mcp_approval_response that references approval_request_id with approve set to true or false, linked to the previous response. The tool hasn't run yet, so treating the request as informational skips the gate. Turning approval off or calling the server directly bypasses the reviewer, which fails the requirement.

    Official references

How to use these AI-500 sample questions

Answer each question before opening the explanation, and write down why you discarded the other options. On AI-500, most mistakes come from choosing an option that is technically possible but does not meet every requirement in the scenario.

These 10 questions are a taste of the format, not a diagnostic. To know which domains you fail, practice by domain for free and take a timed mock exam that mirrors the official weights and duration.

Practice AI-500 with hundreds more questions

Start for free, no sign-up or card. Every question includes an explanation like the ones above, and the mock exam reproduces the official AI-500 format.