Professional domain 3 · Integration
Exam guide v1.1 · the exam from 7 December 2026 · This domain in exam guide v1.0 (the exam until 6 December 2026)
Eight skills, the largest domain. Each shows a configuration, a design or a trace and asks what to remove, what is missing, or which change fits the limits.
Least-privilege tool configuration
- For each tool an agent or subagent holds, ask whether the task uses it. Three actions: remove a tool the task never needs, scope down one that is broader than the task (read where it has write, one folder where it has all), or replace it with an access pattern that costs less context.
- Minimal footprint covers context as well as permission: every tool definition is sent on every request. A large tool set that is rarely used can be loaded on demand through tool search or a Skill.
- Give a subagent only the tools its part needs. A reviewer reads; it doesn't deploy.
- A context-efficient access pattern also covers what a tool returns. Query at the source for the records and fields the task needs, not the whole list. Where the agent needs a figure worked out over a large file, let code execution do the sum, so that only the result enters the context. Prefer the pattern that narrows access as well: filtering at the source keeps other people's data out altogether, while a full export processed in code or by a subagent saves tokens and still hands all of it to the agent's side.
- Least privilege covers time as well as scope: access needed for one window is granted for that window and not left standing. Loading tools on demand cuts context, not privilege, so a connection the role never uses is removed and not merely deferred.
- Wrong turns: removing a tool the task does need; keeping a broad tool and adding an instruction not to misuse it; a deny list that has to name every dangerous tool and misses the next one.
Authentication and authorization posture
- Two risks to find in a design. Credential exposure: a key or token where the model, a log or another party can read it. Privilege escalation: the agent able to do more than the user it acts for.
- Each has its own mitigation. Keep secrets in configuration or a vault, outside the context and outside logs. Make each call with the user's identity and permissions, so the data source enforces access. Grant each tool the narrowest scope, and prefer short-lived tokens.
- For MCP: when an HTTP server uses authorization it follows OAuth; a server accepts only tokens issued for it and doesn't pass a client's token on to another service. A local server takes credentials from its environment.
- Escalation is often indirect: an agent with few rights writes something that a more privileged system then acts on. Close it where the privilege is used. The acting system checks the rights of the original requester, taken from the authenticated session and never from an argument the model fills in. Protect the step that a stronger control depends on as strongly as the control. A token captured once goes stale, so each run gets a short-lived one from the rights the user holds at that time.
- Wrong turns: one shared service account behind every user; telling the model in the prompt which records a user may see; rotating a key that is still printed in the log.
Relieving the binding performance constraint
- The system has one dominant problem, accuracy or latency, and several candidate changes: retrieval depth, model tier, caching, call pattern. Choose the change that fixes the binding constraint and costs the other the least.
- First find where the problem is. If the answer is wrong because the right passage wasn't retrieved, a larger model doesn't help; if the time goes in three sequential calls, a faster model helps less than running them together.
- Know what each lever moves. Deeper retrieval and a larger tier raise accuracy and add latency and cost; reranking, or context added to each chunk when the index is built, raises accuracy for little or no time at the query. A smaller tier, lower effort and a shorter answer cut latency, and each may cost accuracy, so check the measured figure against the floor. Caching cuts cost and time on repeated prefixes and leaves accuracy alone. Parallel calls cut waiting time and leave cost alone. Batches cut cost and give up immediacy. Streaming shows the answer sooner without finishing it sooner.
- Wrong turns: improving the constraint that isn't binding; a change that fixes accuracy and breaks the latency limit; several changes at once, so nobody knows which one worked.
Instrumentation and monitoring gaps
- A failure went unnoticed. Ask what signal would have shown it, and whether anything recorded that signal.
- Trace each request end to end: inputs, prompt version, model, retrieved items, each tool call with its arguments and result, tokens, latency, outcome. Per-subagent traces are needed in a multi-agent system, or a failure can't be placed.
- Averages hide failures in one segment, one tool or one tenant. Monitor by the dimension the failure lived in, and alert on a change in the outcome that matters, not only on errors: an agent can fail without raising one.
- Some failures look like success on the usual dashboards: a tool that returns nothing or is no longer called, a fallback that quietly takes most of the traffic, a cache that is no longer read, one session that runs far past the normal length. Count each as a rate (per tool, per route, per session) and compare it with the level before the last change. Measure the outcome where it shows, which may be after the conversation has ended, and mask sensitive arguments when the trace is captured, not afterward.
- Wrong turns: dashboards for volume and latency while quality goes unmeasured; logging everything and alerting on nothing; a weekly manual review as the only detector.
Retrieval architecture selection
- Three architectures. A pre-built RAG pipeline indexes the corpus and retrieves in one step: fast and predictable, suited to large corpora and questions answered by a few passages. Agentic search gives the model search tools and lets it look, read and look again: better for multi-step questions, slower and dearer. Full-corpus context puts everything in the prompt, with caching: simplest, and only possible while the corpus fits.
- Decide from the corpus (size, how often it changes, structure), the query pattern (single fact or several hops) and the latency and cost limits.
- When indexing is chosen, the guide expects the configuration. Contextual retrieval adds a short description of each chunk's place in its document before indexing, which rescues chunks that don't say what they are about. Keyword search (BM25) beside the embeddings catches exact codes and names. A reranker reorders the candidates and can't bring back a chunk the search never returned. Plan a fallback for when retrieval finds nothing good: widen the search or try a second retriever, pass multi-step questions to agentic search where time and cost allow, and otherwise say that nothing was found. Never answer from weak passages or from the model's general knowledge.
- Wrong turns: an index for a corpus small enough to send whole; full context for a corpus that outgrows the window or the budget; agentic search under a tight latency limit.
Connection mechanism selection
- Three mechanisms, judged on latency, security and statefulness. An MCP server exposes tools and data in a standard way to many clients, with discovery and authorization. A direct API or CLI call wrapped as a tool is the shortest path for one application. An agent-to-agent handoff passes a task to another agent that keeps its own state and rules.
- MCP fits when several agents or clients share the integration. A direct call fits one consumer, low latency and the fewest moving parts. A handoff fits when the other side owns the process and its state, often another team or vendor.
- Where the transaction and its state live often decides it: let the system that owns them carry them out, and call it through the narrowest interface.
- On security, ask what the agent could reach and whose identity each call carries. A shell with a command-line tool offers everything its profile allows, while a server's tools can expose a few named operations with checked parameters and an audit entry each. Per-user sign-in ties a call to a person; one shared key ties it to the application. A server run by someone else is one more party that handles the data and the credentials. On latency, each hop adds time, and a handoff adds a model turn.
- Wrong turns: an MCP server for a single internal call on a tight latency budget; a direct call copied into six agents; a handoff where a simple tool call would do.
See also: Foundations domain 2 · MCP primitives: who controls what.
Progressive discovery vs. monolithic context loading
- Monolithic: everything the task might need is in context from the start. One call, predictable, easy to cache, and fine while the content is small and stable.
- Progressive discovery: the agent starts with an index or a few tools and loads the rest when needed, through tool search, Skills, retrieval or subagents. It keeps the context small and costs extra turns.
- Compare the context economics for the workload described: how much of the material a typical task uses, how large the whole is, and how much delay each extra loading step may add.
- The two can be mixed: load the small part that every task needs up front and discover the rest. Two checks before loading up front: material that fits the window can still leave too little room for the task's own work, and a cached block is cheap only while calls arrive inside the cache lifetime.
- Wrong turns: loading a large library when a task uses a small part of it; discovery steps for content every task needs, or under a latency limit they break; an index so thin the agent can't tell what to load.
Production reliability controls
- Read the trace or the throughput figures and name the pattern, then the control. Rate-limit errors: cap concurrency, wait for the time the response gives in
retry-after, queue, or move work that can wait to batches. Limits count tokens a minute as well as requests, and a model's limit is shared by everything in the organization that calls that model. Transient errors and overload: retry with exponential backoff and a limit, for each request and for the service as a whole. Invalid requests: fail at once, since a retry fails the same way. Timeouts on long requests: stream, or split the work. An outage or a retired dependency: fallback routing to another model or path. - Any retry of a tool with a side effect needs idempotency: one key per operation, so a repeat is recognized and not carried out twice. The guide's phrase is "without introducing duplicate effects".
- Check the fallback too: a second path must meet the same rules (data, quality) as the first, and its use should be logged.
- Wrong turns: immediate retries that deepen a rate limit; retrying a payment with no key; a fallback that silently lowers quality.
See also: Exam guide vs today · Professional, exam guide version 1.1 (from 7 December 2026).
Docs: Tool search toolMCP authorizationMCP security best practicesContextual retrievalBatch processingErrorsReducing latencyRate limits
Terms explained: Professional (CCAR-P) glossary: the terms the exam guide uses. How to read the questions: Claude Certified Architect exam technique.
Practice Domain 3