Domain 4 of 6

AI Agents and Tool Calling

Build bounded agent loops, manage memory and tool permissions, and implement safe retries in a local Python agent.

7
Concepts
~18%
Of the exam
16
Practice questions
Concepts in this domain
01LLM Function Calling: Tool Design, Validation and ExecutionLearn how LLM function calling works and design tool names, schemas, permissions and results that an application can validate before execution.02What Are AI Agents? Tools, Workflows and PermissionsUnderstand how AI agents use tools, how agents differ from fixed workflows and why read access, write permissions and execution controls matter.03How AI Agent Loops Work: ReAct, Planning and Stop ConditionsUnderstand the AI agent loop, compare ReAct with plan and execute designs and set explicit limits on steps, tokens, time and tool actions.04AI Agent Memory: Short-Term Context, State and Long-Term StorageDesign AI agent memory with clear ownership, source records, expiry and retrieval. Separate conversation summaries from authoritative application state.05Multi-Agent Systems: Context Isolation, Delegation and Trade-OffsLearn when multiple AI agents help, how to design subtask contracts and how to measure handoff quality, shared budgets and coordination costs.06AI Agent Failure Modes: Loops, Duplicate Actions and Plan DriftDiagnose common AI agent failures and control retries, duplicate actions, invalid tool calls, plan drift and ambiguous tool results.07Build a Tool-Using AI Agent with Safe Retries in PythonRun a bounded agent over fictional orders, validate tool requests and use SQLite transactions to prevent duplicate actions after a lost response.
Try a question from this domain

A vague tool name and description cause incorrect calls and invented identifiers. What is the strongest repair?

  • AClarify the contract and check identifier existence and authority in the runtime.
  • BTell the model not to invent IDs and remove runtime checks.
  • CRename the tool without changing its description or validation.
  • DAccept every argument that matches the identifier's pattern.
16 questions on this domain.

One per page, with a worked explanation.

Start the set