Professional domain 2 · Claude models, prompting and context engineering
Exam guide v1.1 · the exam from 7 December 2026 · This domain in exam guide v1.0 (the exam until 6 December 2026)
Six skills, from choosing a model tier to keeping a long session's context useful. Most give figures: a latency limit, a price, a call volume, a token budget.
Model tier selection
- A workload states limits on latency, cost and quality. The right tier meets all of them at once; the question also wants the reason each other tier fails.
- Work through the limits one at a time and strike out every tier that breaks one. Larger tiers reason better and cost more and answer more slowly; smaller tiers are fast and cheap and fit high-volume, simple work.
- When the workload has parts with different needs, tiers can be mixed: a small model to classify or route, a larger one for the hard cases. That is right only if the figures show the mix inside every limit.
- Read each limit in the terms it is stated in. A latency limit on 95% of requests is tested against the 95th-percentile figure, not the typical one, and an average can hide a slow share of the traffic. Where the figures are given per effort level, treat each tier at each effort level as a candidate of its own.
- Wrong turns: the largest tier "to be safe" when it breaks the latency or cost limit; the cheapest tier when its measured quality is under the floor; judging from a general impression when the question gives measurements.
System prompt diagnosis and revision
- The symptom is degraded or inconsistent output. Find what the prompt leaves unsaid: the scope (what the assistant covers and what it doesn't), the format of the answer, or the behavior in a named case.
- Inconsistent output usually means the prompt is silent or says two things that pull apart, and the model resolves it differently each time. The fix states the rule for the case, with the reason.
- The revision should constrain exactly what went wrong and leave legitimate variation alone. A rule that fixes the complaint and breaks the cases that were working is over-constraint.
- Wrong turns: more emphasis (capitals, "always", "never") where a clear rule is missing; examples that the model then copies too closely; changing the model before the prompt is specified.
Prompting technique selection
- Match the technique to the failure you observe. Zero-shot, a clear instruction, is the starting point. Few-shot examples fix format and style that an instruction fails to pin down; use a few and vary them, because the model copies what they have in common. Structured output fixes answers that have to be parsed. Reasoning fixes multi-step problems where the answer skips the working.
- Reasoning comes two ways. Prompted reasoning asks the model to think in its answer, which puts the reasoning in the output, where a parser meets it. Native thinking is the model's own thinking, which the request controls and which stays apart from the answer. Both are paid for as output tokens, so asking for both pays twice. Some models think by default and some can't have thinking switched off; on those, effort sets how deeply they think.
- The guide adds "without unnecessary token cost": pick the lightest technique that fixes the failure. Thinking on a simple extraction pays for nothing; ten examples where two would do pay on every call.
- Wrong turns: thinking to repair a format problem; examples to repair a reasoning problem; asking for JSON in prose where a schema would guarantee it.
Context composition and token economics
- Lay out what each call sends: system prompt, tool definitions, retrieved content, history, the question. Multiply by the call volume to see where the tokens go.
- Cut what the task doesn't use: tools never called, documents retrieved and not needed, history that could be summarized. "Without loss of task-relevant information" is the limit: a cut that removes what the answer needs is wrong however much it saves.
- Prompt caching lowers the price of content that repeats. A cache write costs more than normal input (1.25 times for the five-minute lifetime, twice for the one-hour one) and a read costs a fraction of it: a tenth on most models, less on some newer ones. Each read renews the lifetime, so caching pays when the same prefix is read again before it expires, and a steady run of calls keeps a five-minute entry alive. Caching changes the price of tokens, not their number: cached tokens are still sent and still count against a limit on tokens per call.
- Wrong turns: caching content that changes on every call; a one-hour lifetime for a prefix that is reused within minutes, or a five-minute one for calls that come every ten; trimming the instructions while a large unused block stays.
Cache breakpoints and reusable packaging
- A cache covers a prefix: everything up to a breakpoint, in the order tools, system, then messages. Any change before a breakpoint means nothing after the change is read from the cache.
- So order the prompt from most stable to least: shared instructions and tools first, then content that changes per customer or per document, then the turn itself. Put breakpoints where one level of stability ends.
- Read the call pattern in the question. Content shared by every call goes before the first breakpoint. Content shared by a group of calls (one tenant, one document) gets its own breakpoint after it.
- Modular prompts and Skills package reusable instructions once, in one copy that one owner keeps. Only a Skill's name and description sit in every prompt; its body loads when a task needs it, at the price of a loading step. So a Skill suits a procedure that is needed now and then. Content needed on every call belongs in the prompt, ahead of a breakpoint, kept as one shared copy.
- Wrong turns: a timestamp or another per-call value near the top; one breakpoint placed after per-customer content, so the shared part is written again for each customer; no breakpoint that moves forward with a growing conversation, so every turn pays full price for the earlier ones; one large prompt copied into every agent.
Reasoning effort and context lifecycle
- Effort sets how much the model spends on a response, thinking included. Higher effort helps hard steps and costs time and tokens; lower effort suits routine steps. Allocate it by step and not once for the whole agent.
- A long session fills its context. Three strategies, each with a cost. Context editing clears old tool results automatically, oldest first: cheap, and what is cleared is gone from the model's view. The memory tool lets the agent write facts to files outside the context and read them back later, so they survive clearing and are there for a later session. Compaction replaces earlier turns with a summary: the session continues, and detail the summary drops is lost. Context editing and compaction work inside one session; only memory carries anything to the next.
- Choose by what must survive. Facts needed hours later go to memory before they are cleared. Bulky tool output that has been used can be cleared. A long conversation whose thread matters is compacted, with instructions on what to keep.
- Clearing or compacting changes the prefix, so cached content after that point is written again. Doing it rarely and in large steps costs less than doing it on every turn.
- Wrong turns: maximum effort everywhere under a latency limit; relying on a larger context window where the session will outgrow any window; compacting away the constraint the task depends on.
See also: Exam guide vs today · Professional, exam guide version 1.1 (from 7 December 2026).
Docs: Choosing a modelPrompting best practicesThinkingEffortStructured outputsPrompt cachingContext windowsAgent SkillsContext editingMemory toolCompaction
Terms explained: Professional (CCAR-P) glossary: the terms the exam guide uses. How to read the questions: Claude Certified Architect exam technique.
Practice Domain 2