Skip to content
Microsoft Certified: Azure AI Apps and Agents Developer Associate (AI-103) Exam Prep

Lesson 5 of 9 · 16 min

x
5/9

Domain 2: Implement Generative AI and Agentic Solutions (Part 2 of 3)

1. Designing Agents: Roles, Goals, Conversations, Tool Schemas

Video lesson: AI-103 18/40: Designing Agents: Roles, Goals, Conversations, Tool Schemas

Central question: What must you decide before building an agent?

Design elements (design guidance on verified features)

ElementDecide
Role and goalInstructions: who the agent is, what success means, scope, refusals
Agent typePrompt, voice-based prompt, or hosted agent
Conversation trackingConversations for short-term context; long-term memory store for preferences
Tool schemasFunction name, description, typed parameters; precise descriptions drive correct tool choice
KnowledgeFile search, AI Search, Foundry IQ
GuardrailsInput, tool call, tool response, output controls

Function tools are configured with the SDK or REST API (the portal can run but not edit function definitions); runs expire after 10 minutes, so return tool outputs promptly (verified).

Exam traps

  • Vague tool descriptions, so the model picks the wrong tool.
  • Long-term facts in conversation history only.
  • No scope or refusal rules in instructions.

2. Function Calling, Retrieval and Memory in Agents

Video lesson: AI-103 19/40: Function Calling, Retrieval and Memory in Agents

Central question: How do agents call your code, find knowledge and remember?

Function calling

  1. Define a function (name, parameters, description) on the agent.
  2. The model requests a call with arguments.
  3. Your app executes the function and returns the output.
  4. The agent continues with real data. Runs expire 10 minutes after creation.

Retrieval

Azure AI Search tool (inline citations), file search, Foundry IQ knowledge bases (agentic retrieval, permissions).

Memory

Conversations hold current-session context; Agent Service memory (preview) stores long-term items with CRUD operations and TTL.

Exam traps

  • Expecting Foundry to run your function. Your app runs it and returns results.
  • Slow function outputs past the 10-minute run expiry.
  • Retrieval without citations for audited answers.

3. Integrating Agent Tools: Search, MCP, APIs, Content Understanding

Video lesson: AI-103 20/40: Integrating Agent Tools: Search, MCP, APIs, Content Understanding

Central question: How do you connect agents to the tools they need?

Tools

ToolGives the agent
Azure AI SearchGrounded answers with citations (managed identity for private networks)
File searchSearch uploaded files
Web searchPublic, current information
Code interpreterRun code, analyze data, chart
MCP serversTools from Model Context Protocol servers (e.g. Azure Language MCP server)
OpenAPI / custom functionsYour business APIs
Content UnderstandingClean, structured inputs from files
ToolboxesCurated tools shared via one managed MCP endpoint with central auth, versioning, policy

The tool catalog lists available tools (verified).

Exam traps

  • Duplicating credentials per agent instead of toolboxes.
  • Key-based auth to AI Search over private networks.
  • Giving every tool to every agent.

4. Multi-Agent Orchestration

Video lesson: AI-103 21/40: Multi-Agent Orchestration

Central question: How do several specialized agents work together?

Patterns (verified in Foundry workflow docs)

PatternHowUse
SequentialOutput of one agent passes to the nextPipelines, staged processing
Group chatControl passes dynamically by context or rulesEscalation, expert handoff
Human in the loopWorkflow pauses for a personApprovals, clarifications

Building it

  • Microsoft Agent Framework: agents, workflows (functional and graph-based), integrations, middleware, MCP clients, sessions and context providers; recommended for new multi-agent builds.
  • Foundry workflows (visual, preview) retire December 1, 2026; migrate to Agent Framework.
  • Run code-based orchestration as hosted agents in Foundry.

Exam traps

  • One agent with every responsibility instead of specialists.
  • Starting new work on Foundry workflows.
  • No approval step before high-impact actions.

5. Safeguards and Approvals in Autonomous Workflows

Video lesson: AI-103 22/40: Safeguards and Approvals in Autonomous Workflows

Central question: How much autonomy should an agent have, and how do you control it?

Controls (verified features; levels are design guidance)

ControlPurpose
Human-in-the-loop approvalsPerson approves before high-impact steps
Guardrails on tool calls and tool responses (preview)Check what agents send to and receive from tools
Task adherence (Content Safety)Detect misaligned or premature tool use
Prompt Shields document attacksBlock injected instructions in tool output
Egress controls (hosted agents, preview)Limit outbound destinations
Instructions, step limits, least-privilege toolsConstrain behavior

Autonomous: agent acts end to end (low-risk tasks). Semi-autonomous: agent proposes; a person approves sensitive actions.

Exam traps

  • Full autonomy for payments or deletions.
  • Ignoring indirect prompt injection in tool results.
  • Broad tool permissions.

References

  1. AI-103 study guide — checked Oct 21, 2026
  2. Function calling — checked Oct 21, 2026
  3. Agents in Foundry — checked Oct 21, 2026
  4. Memory — checked Oct 21, 2026
  5. AI Search tool — checked Oct 21, 2026
  6. Tool catalog — checked Oct 21, 2026
  7. MCP tool — checked Oct 21, 2026
  8. Foundry workflows — checked Oct 21, 2026
  9. Agent Framework — checked Oct 21, 2026
  10. Guardrails overview — checked Oct 21, 2026
  11. Content Safety — checked Oct 21, 2026

Check your understanding

  • What makes the model choose the right function?Show answer

    Answer

    Clear name, description and parameters.
  • Who executes a function tool's code?Show answer

    Answer

    Your application.
  • Share tools across agents with central governance?Show answer

    Answer

    Toolbox.
  • Expert handoff based on context?Show answer

    Answer

    Group chat pattern.
  • Stop a premature tool call?Show answer

    Answer

    Task adherence / tool call guardrail.
Previous

Progress is saved in this browser.

Next Lesson