MockCertMockCert
Menu

Test yourself in exam conditions

A full Microsoft Certified: Multi-Agent AI Solutions Expert mock exam: 60 questions in 100 minutes, scored against the real exam's pass mark. Your first one is free.

Start a free mock exam
Domain 3 · 3 topics · about 22 minTopics in this domainTopics

Domain 3 · Overview

Overview

Up next: Design and implement evaluation and validation strategies for multi-agent solutions · 11 steps + check · 7 min

Domain 3 · Topic 1 of 3

Design and implement evaluation and validation strategies for multi-agent solutions

Step 1 of 11

Think first How would you combine human reviewers and automated evaluators to judge whether a multi-agent solution is ready for production?

Why it matters: Questions describe an evaluation goal and ask which Foundry evaluator, role, template setting or comparison step fits it.

Automated evaluators score tool use, grounding and safety, but automated safety labels can be wrong. Human reviewers, such as domain experts, approve or flag results before release. Pinned versions keep scores comparable across runs, and t-testing makes run comparisons more reliable.

Step 2 of 11

Term Meaning
Evaluation template The set of questions human reviewers answer about agent responses in Foundry.
Tool Use Quality A preview composite evaluator that scores the whole tool-use process in one judge call.
Groundedness A RAG quality evaluator you can apply to an agent's final text response to assess knowledge grounding.
Judge model The chat-completion deployment an AI-assisted evaluator uses to score responses.

Step 3 of 11

Automated safety labels can be wrong, so humans check them. An AI-generated severity label or its reasoning may contain errors. The portal's human feedback column lets a reviewer give a thumbs up or thumbs down to approve or flag each instance. Microsoft recommends domain experts review results before you deploy to end users. Safety evaluations also do not replace manual red teaming for your own domain.

Exam trap Passing the automated safety evaluations is not full coverage. They augment testing but were not designed to replace manual red teaming aimed at your use cases and users.

Step 4 of 11

Only one template is active at a time. A template can mix slider, multiple choice, free-form text and thumbs up/down questions. A new template starts as Inactive, and you activate it before reviewers begin. Activating another template switches the previous one off automatically.

Exam trap You cannot run two human evaluation templates side by side. Activating a second template deactivates the first one, so plan one template per review round.

Step 5 of 11

Template owners need more rights than reviewers. Managing templates takes Foundry Project Manager or higher. Reviewers need Foundry User on the project and Reader on the account. Viewing results in the portal needs Foundry User on the project.

Minimum roles for each human review task

Task Role on the project Role on the account
Create and manage templates Foundry Project Manager or higher Not stated
Submit reviewer feedback in the web app Foundry User Reader
View evaluation results in the portal Foundry User Not stated

Exam trap Foundry User and Azure AI User are the same role. The roles were renamed, but role IDs and core permissions did not change.

Step 6 of 11

Results export as a CSV file per template. Reviewers may skip some responses or rate the same response more than once. Select Download Results to get every evaluation for a template, with all fields from the JSON view. The data lives in Application Insights and follows its retention policy.

Step 7 of 11

Tool Use Quality batches five tool evaluators into one judge call. It covers Tool Selection, Tool Call Accuracy, Tool Input Accuracy, Tool Call Success and Tool Output Utilization, which cuts cost and latency. For strict checks, Tool Input Accuracy tests parameters against six criteria and returns a binary Pass or Fail.

Exam trap Tool-focused evaluators and groundedness have limited support for Bing Grounding and Foundry IQ calls. Avoid them when the conversation includes those tools.

Step 8 of 11

Use Relevance and Groundedness for knowledge grounding. These RAG evaluators judge the final text response of an agent. An unexpectedly low Groundedness score points to incomplete retrieval or context. Ground agents on curated content with a Foundry IQ knowledge base rather than memory. Protect memory against prompt injection and corruption, because bad stored data can steer later responses.

Step 9 of 11

System evaluators target the orchestrator or final agent. In a multi-agent system, score the main orchestrator or the agent that completes the task. Every AI-assisted evaluator takes its judge in initialization_parameters, and the judge must be a chat-completion deployment in your project. Target-based evaluation only works with synchronous, non-streaming agents on the responses or invocations protocol. Use trace evaluation for A2A, Activity, long-running or streaming agents.

Step 10 of 11

Pin versions so scores stay comparable. Pin datasets, model deployments, evaluator versions and rubric versions across runs. Foundry compares runs with t-testing, and ImprovedStrong means p of 0.001 or lower in the desired direction. A result is Inconclusive with too few examples or p of 0.05 or more. The comparison view is not saved, so reselect the runs and select Compare again.

Step 11 of 11

Check

Check: Design and implement evaluation and validation strategies for multi-agent solutions

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Optimize prompt and model performance for multi-agent solutions · 11 steps + check · 7 min

Domain 3 · Topic 2 of 3

Optimize prompt and model performance for multi-agent solutions

Step 1 of 11

Think first When a multi-agent solution gets slow, forgetful or stale, how do you tell whether to fix parallelism, context or the prompt itself?

Why it matters: Questions describe a slow, rate-limited or forgetful agent workflow and ask which change or improvement loop fixes it.

Parallel agents finish sooner, but a single model endpoint or shared knowledge store can rate-limit them. Context grows with every agent, so compact it between agents or keep long-running state in a durable store. A judge model then scores each agent response against your criteria.

Step 2 of 11

Term Meaning
TPM and RPM Tokens and requests per minute. Without subscription-level quota, these limits are set per region, subscription and model.
Compaction Summarizing or trimming older history so a conversation stays within token limits.
Context provider A source whose context sits in the prompt on every call, unlike a tool called on demand.
Composite score The agent optimizer's overall score for a candidate, from 0.0 to 1.0.
Eval model The judge model that reads each response and criterion and returns a binary score.

Step 3 of 11

Concurrent agents cut run time but spike model use. In concurrent orchestration, agents work in parallel rather than one after another. Many simultaneous model calls can then hit limits on a single model endpoint or shared knowledge store.

Exam trap Parallel is not always faster. Avoid concurrent orchestration when model quota or other resource limits make parallel work inefficient or impossible.

Step 4 of 11

HTTP 429 means a TPM or RPM limit was exceeded. Retry with exponential backoff and honor the Retry-After header. Increase load gradually instead of in sharp jumps. Models without their own row default to 400,000 TPM, 1,000 RPM and 300 concurrent requests. For sustained high throughput, consider provisioned throughput deployments.

Exam trap Under subscription-level quota, Global Standard deployments of one model and version share a single pool across all regions. Adding a region does not add quota.

Step 5 of 11

Readiness time covers process start to HTTP 200 on /readiness. To check startup, send x-ms-debug-latency-enabled: true and watch x-ms-debug-latency-container-readiness-ms on several cold requests. Keep model calls, migrations, tool discovery and downloads out of startup, and run independent setup in parallel. For .NET, ReadyToRun speeds startup but enlarges the image and build.

Exam trap Low readiness time with slow requests means startup is not the problem. The delay is in request handling.

Step 6 of 11

Past the window limit, the oldest or least relevant context is cut. That truncation can drop facts the agent still needs. Very long windows can also degrade model performance. If an agent needs only new instructions, pass those alone instead of the earlier context.

Exam trap A context provider is not free between calls. It spends tokens on every invocation, while a tool spends tokens only when called.

Step 7 of 11

Summarize or prune context between agents. Each agent adds reasoning, tool results and outputs, so multi-agent context grows fast. Monitor its size and compact older history while keeping key information. For long or multi-session work, store progress, intermediate results and history in a durable store, not only in memory.

Step 8 of 11

File search combines keyword and semantic search, then reranks. By default it uses 800-token chunks with 400 tokens of overlap and adds at most 20 chunks to context. If a conversation's vector store is still processing files, a response waits up to 60 seconds. That wait does not apply to the agent's vector store.

Step 9 of 11

Candidates are ranked by a composite score from 0.0 to 1.0. The eval model can be any deployed chat-completion model, but the optimization model must be on the supported list. The optimizer makes 5 candidates by default and learns from earlier ones. Tool optimization rewrites descriptions only, not types, defaults or required fields. Hosted agents need the Responses protocol.

Reading agent optimizer results

Result What it means What to do
Starred candidate Highest composite score Review it as the optimizer's recommendation
Gain under 0.03 Noise, not a meaningful improvement Do not treat it as a real gain
Every candidate below baseline Nothing beat the current setup Deploy none; the baseline stays active

Step 10 of 11

Each reoptimization builds on the latest optimized text. Prompt Optimizer handles text instructions only, not tools or knowledge sources. The portal wizard takes data from agent traces, a registered dataset or an uploaded JSONL file. User feedback on a Likert scale passes at 3.0 or above by default. Score nondeterministic outputs with rubrics or a model judge, not exact matches.

Step 11 of 11

Check

Check: Optimize prompt and model performance for multi-agent solutions

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Up next: Design and implement observability and monitoring for multi-agent solutions · 11 steps + check · 7 min

Domain 3 · Topic 3 of 3

Design and implement observability and monitoring for multi-agent solutions

Step 1 of 11

Think first How would you know, within minutes, that a multi-agent solution is failing, drifting or overspending, and trace the cause?

Why it matters: Questions describe a monitoring, tracing, quota or cost need and ask which Foundry or Azure feature, setting or role meets it.

Traces flow into Application Insights, where dashboards track tokens, latency, error rates and quality scores. Trace context propagation correlates client-side spans with server-side spans. Alerts and scheduled evaluations with test datasets help you catch problems and drift after deployment.

Step 2 of 11

Term Meaning
Server-side tracing Traces Foundry records automatically once Application Insights is connected, with no code changes.
Trace context propagation Adding W3C traceparent and tracestate headers so client spans join server spans.
Continuous evaluation Quality and safety scoring of a sample of production traffic.
PTU deployment A Provisioned Throughput deployment with dedicated capacity and a latency SLA.
Copilot harness A preview harness that manages some response settings itself, such as max_output_tokens, so requests must not send them.

Step 3 of 11

Connect Application Insights to start server-side tracing. Foundry then records traces with no code changes, and you get built-in traces for the past 90 days. Agents built with Agent Framework or Semantic Kernel emit traces with no extra packages. Only a Foundry Account Owner or Foundry Owner can enable collection. Telemetry storage can cost money based on volume and retention.

Exam trap Turning tracing off does not delete what was collected. Earlier trace data stays under the Application Insights retention policies.

Step 4 of 11

Trace context propagation joins client spans to server spans. In the Python SDK it is on by default once tracing is enabled. Set AZURE_EXPERIMENTAL_ENABLE_GENAI_TRACING to true before calling AIProjectInstrumentor().instrument(). Spans can go to Application Insights, the console or any OTLP backend. Hosted agent packages tag every span with project, agent name, version and ID.

Exam trap In a workflow, the target executor's executor.process span is not a child of the source's message.send span. It is linked to it, because execution is not nested.

Step 5 of 11

Record message content in development, not in production. Content recording shows full requests and responses while you debug; turn it off in production to protect sensitive data. On execute_tool spans, gen_ai.tool.call.arguments holds tool arguments. With sensitive capture off, workflow failures keep ERROR status but drop exception messages. Querying telemetry needs Log Analytics Reader.

Exam trap Turning off message capture does not hide custom function data. The @trace_function decorator always records parameters and return values.

Step 6 of 11

Watch success rate, latency and tokens on the dashboard. Application Insights dashboards track tokens, latency, error rates and quality scores in real time. Find traces by Response ID or Trace ID. The thresholds below suggest where to look first.

Agent Monitoring Dashboard signals

Signal Warning level What it may mean
Run success rate Below 95% Failed runs need investigation
Latency Above 10 seconds Throttling, complex tool calls or network issues
Token usage High for the time range Verbose prompts or responses to optimize

Step 7 of 11

Scheduled evaluation with test datasets detects drift. Continuous evaluation scores sampled live traffic. Link evaluation run IDs to traces to see quality and performance together. Alerts can fire on latency, token usage, scores or red team findings. Insights flag recurring failures, hallucinations and token spikes, each with a likely cause and next action.

Exam trap Playground evaluations are not free or off by default. They are on for every project and billed by consumption until you unselect all evaluators.

Step 8 of 11

ModelAvailabilityRate is successful calls over total calls. It subtracts server errors from total calls. When latency is a core need, PTU gives dedicated capacity and a latency SLA. API Management with a circuit breaker can route around unhealthy backends. Global Standard and Data Zone add resilience but do not replace a multi-region failover plan.

Exam trap Azure Service Health reports platform problems and maintenance, not slow regressions in your own workload. Use Azure Monitor metric alerts for those.

Step 9 of 11

Raise max_tokens to stop truncated responses. For GPT-4o it defaults to 4,096. An agent can register at most 128 tools. A vector store file can hold up to 2,000,000 tokens. These file, message and tool limits are fixed and cannot be increased. The Copilot harness manages max_output_tokens, max_tool_calls and parallel_tool_calls, so do not send them.

Step 10 of 11

Quota is enforced per subscription, not per tenant. For sustained 429 errors, back off and honor Retry-After, spread load through an API Management AI gateway, or ask for more quota. For regional_session_quota_exceeded, back off or use another region. Idle or stopped hosted sessions keep state but do not count toward session quota.

Exam trap Approved PTU quota is a limit, not reserved capacity. It does not guarantee capacity in the region you asked for.

Step 11 of 11

Check

Check: Design and implement observability and monitoring for multi-agent solutions

Cards to recall, then questions on this topic. About 2 minutes. Nothing is saved without an account.

Loading the cards and questions…

Domain 3 · after the last topic

Domain 3 review

Each topic's Check tested it on its own; this mixes them.

Mixed quiz

Take the Domain 3 quiz

14 questions mixed from every topic in this domain, each answer explained. Mixing topics is harder than one at a time, and it is what the exam does. No account needed; with a free account your answers also build your estimated exam score.

Flashcards

Domain 3 flashcards

6 cards with this domain's key facts. Flip each one and check what you knew. No account needed.

Test yourself in exam conditions

A full Microsoft Certified: Multi-Agent AI Solutions Expert mock exam: 60 questions in 100 minutes, scored against the real exam's pass mark. Your first one is free.

Start a free mock exam
Next domain · 20–25% of the examSecure, govern, and deploy multi-agent solutions3 topics

Report a problem

On “”. Tell us what looks wrong; we read every report.

What is the problem?

Optional.