Skip to content
Microsoft Certified: Multi-Agent AI Solutions Expert (AI-500) Exam Prep

Lesson 4 of 10 · 14 min

x
4/10

Domain 2: Develop Multi-Agent Solutions in Azure (Part 2 of 4)

This lesson covers 4 exam topics: Multi-Agent RAG Architecture, Knowledge Integration for Agents, Function Calling and Dynamic Tool Use, Building MCP Servers on Azure. Each topic has a short video, then the notes: key facts, exam traps and what to check in the official docs.

1. Multi-Agent RAG Architecture

Video lesson: AI-500 14/39: Multi-Agent RAG Architecture

Central question: How do several agents share retrieval that's precise and well grounded?

Facts

  • Agentic retrieval (Azure AI Search) plans subqueries with an LLM (preview), runs them in parallel, semantically reranks each, merges results and can return source references and an activity log.
  • Foundry IQ knowledge bases: knowledge sources (Blob, SharePoint, OneLake, web) plus retrieval parameters; multiple agents can share one knowledge base; permission-aware retrieval.
  • Foundry IQ automates chunking, embedding generation and metadata extraction for indexed sources, with scheduled indexer runs.
  • RAG quality depends on chunking, a matching embedding model for content and queries, and retrieval metrics (see AI-300 RAG notes).

Design guidance

  • Give each agent a retrieval scope (filters, sources) matching its responsibility; a shared knowledge base avoids duplicated indexes.
  • Measure retrieval precision per agent with labeled queries before tuning prompts or models.

Exam traps

  • A separate index per agent for the same content.
  • Single vector query for complex multi-part questions. Use agentic retrieval.
  • Ignoring permissions in shared retrieval.

2. Knowledge Integration for Agents

Video lesson: AI-500 15/39: Knowledge Integration for Agents

Central question: How do agents consume knowledge from search, RAG, MCP and semantic search?

Facts

  • Choose by content type: Foundry IQ knowledge base for curated organizational content; memory for learned user context; file search for documents a user provides in the interaction.
  • Knowledge can be exposed as MCP tools (for example through a Foundry Toolbox, which can include a Foundry IQ knowledge base) so any MCP client can use it.
  • Agent Framework context providers integrate Azure AI Search, Cosmos DB, Redis and others to inject knowledge before a run.
  • Azure AI Search supports keyword, vector, hybrid and semantic ranking.

Design guidance

  • Expose knowledge once (knowledge base or MCP) and reuse it, so freshness and permissions are managed in one place.

Exam traps

  • Copying documents into prompts instead of retrieval.
  • Memory as the document store.
  • Different embedding models for content and queries.

3. Function Calling and Dynamic Tool Use

Video lesson: AI-500 16/39: Function Calling and Dynamic Tool Use

Central question: How do agents call functions and choose tools at run time?

Facts

  • With function calling, the model returns a function name and JSON arguments; your application executes the function and returns the result, so you stay in control of actions.
  • tool_choice: auto (default, model decides), a named function (force that tool), or none (force a user-facing message).
  • Parallel function calls let the model request several calls at once, reducing API round trips.
  • Foundry Toolbox lets agents discover tools at run time from one MCP endpoint; tools can be added or changed without changing agent code.
  • Agent Framework supports controlling tool availability per run and approval-required function tools.

Design guidance

  • Specified tool use (forced tool) suits deterministic steps; dynamic tool use (auto, discovery) suits open-ended tasks; keep tool descriptions precise because they guide selection.

Exam traps

  • Letting the model execute actions directly. Your code runs functions.
  • Expecting a forced tool with tool_choice auto.
  • Vague tool descriptions causing wrong selection.

4. Building MCP Servers on Azure

Video lesson: AI-500 17/39: Building MCP Servers on Azure

Central question: How do you build MCP servers with Functions, Logic Apps and API Management?

Facts

Build withHowNotes
Azure FunctionsMCP extension; MCP tool trigger functionsRemote MCP server; C# isolated worker only; no PowerShell
Logic Apps StandardWorkflows starting with the HTTP Request trigger and ending with Response become MCP tools (preview)Key-based or OAuth auth
API ManagementExpose REST API operations as MCP tools, or govern an existing MCP serverTools only (no MCP resources or prompts); not in workspaces
  • API Management's AI gateway adds policies (auth, rate limits, logging) in front of MCP servers.
  • Foundry agents connect to remote MCP servers with the MCP tool (server URL, project connection for auth, allowed_tools, require_approval).
  • When logging API Management diagnostics at global scope, set frontend response payload bytes to 0 to avoid logging MCP response bodies.

Exam traps

  • Writing a new MCP server when existing REST APIs in API Management can be exposed as tools.
  • Expecting MCP prompts or resources from an APIM-exposed REST API.
  • Logic Apps workflow without Request trigger and Response action.

References

  1. AI-500 study guide — checked Oct 22, 2026
  2. Agentic retrieval — checked Oct 22, 2026
  3. What is Foundry IQ? — checked Oct 22, 2026
  4. Memory guidance — checked Oct 22, 2026
  5. Toolbox overview — checked Oct 22, 2026
  6. Function calling — checked Oct 22, 2026
  7. Functions MCP bindings — checked Oct 22, 2026
  8. Logic Apps MCP servers — checked Oct 22, 2026
  9. Expose REST API as MCP server — checked Oct 22, 2026

Check your understanding

  • Break a complex question into subqueries?Show answer

    Answer

    Agentic retrieval query planning.
  • User-uploaded PDF during chat?Show answer

    Answer

    File search.
  • Force a specific function?Show answer

    Answer

    tool_choice with the named function.
  • Existing REST API to MCP with no code?Show answer

    Answer

    API Management.
  • Share knowledge across agents?Show answer

    Answer

    One Foundry IQ knowledge base.
Previous

Progress is saved in this browser.

Next Lesson