CCAR-P · Solution Design and Architecture
Deployment surface and agent runtime, which constraint decides and what you accept in return
A logistics company wants an agent that reconciles shipments against carrier invoices. Procurement requires all AI spend to come out of the cloud contract it has already committed to. The data team needs a feature that so far it has only seen documented for the Anthropic API. And security wants the files the agent downloads and generates to stay in its own storage. All three requests are reasonable and they don’t necessarily fit together: the architect has to say which one rules and what is accepted in return.
Two different decisions
Choosing where Claude is called and who runs the agent are separate decisions, even though they affect each other.
Deployment surface: the Anthropic API, Amazon Bedrock, Google Vertex AI or Microsoft Foundry. On the Anthropic API, new models and features tend to arrive first. On the other three, Claude is consumed from the cloud the organization already uses, with its billing, its identity and its network controls; in return, model and feature availability may lag and differ. Those differences change over time: in a scenario, the fact that matters is that the surface constrains which features and which runtime are available, so you confirm it against current documentation.
Agent runtime: who executes the tool loop.
| Runtime | Who operates it | What falls to you |
|---|---|---|
| Your own loop on the Messages API | Your code | Everything: the loop, the tools, the state, the retries |
| Self-hosted Agent SDK (or headless Claude Code) | Your infrastructure | The host, the sandbox, the session state, permissions and logs |
| Claude Managed Agents | Anthropic hosts the loop, the session state and the sandboxed environment | Defining the agent and its tools; the data passes through Anthropic’s platform |
Which constraint decides
Think of it as elimination in order: hard constraints first (the ones that rule options out), preferences after.
- Residency and compliance. If data can’t leave the corporate cloud boundary or needs the provider’s controls, the surface is fixed by that. It is a hard constraint: it isn’t compensated by anything else.
- Feature and model availability. If an indispensable feature isn’t on that surface, you either accept a different design or reconsider the surface. You verify it in the documentation; you don’t assume it.
- Data custody and session state. A runtime hosted by Anthropic (Managed Agents) takes the server, the sandbox and the state out of your hands, but it means session content passes through its platform. If policy requires state and files to live in your infrastructure, the runtime must be yours.
- Who operates. If there is an experienced platform team, the self-hosted agent gives full control; if not, hosted saves operations.
The costs you justify
The right exam answer isn’t “the best” option but the one that meets the hard constraint and names the price. Examples of that price:
- Corporate-cloud surface: latency or feature availability different from the direct API, and the organization takes on more configuration.
- Self-hosted Agent SDK: full control, but the sandbox, session storage and scaling are yours.
- Managed Agents: less operation, but custody of session data sits on the platform.
- Own loop: maximum flexibility and maximum engineering work.
The usual traps
- Choosing the surface for new features when there is a residency constraint.
- Assuming all surfaces have the same features and the same runtime.
- Confusing a data-retention setting with residency: one says how long, the other where.
- Choosing a hosted runtime without considering where session state ends up.
- Saying “there is no trade-off”: every surface and runtime choice has one.
In the exam
Locate the scenario’s hard constraints (residency, compliance, indispensable features, who must operate) and order them: hard ones filter; preferences break ties. Then choose the option that meets the hard ones and mentions what is given up (latency, features, hosting, session state, sandbox, data custody). Discard answers that claim every request is met at no cost.
Quick question
A practice exam question on this domain. It counts towards your progress.
A utilities company receives a shared support inbox with five well-understood request types: billing questions, outage reports, meter-reading submissions, move-in or move-out requests and complaints. Each type has a distinct policy, a different tone and different data to extract. Today a single prompt of about 6,000 words tries to handle all of them, and the team sees recurring mix-ups: complaint wording appearing in billing replies and the wrong fields extracted for meter readings.
The types are stable and the mix of volume is predictable. There is no need to decide the order of steps dynamically; each email needs one kind of treatment.
The team wants better quality without a large increase in cost per email.
Which pattern most directly addresses the problem?