Claude Certified Architect — Professional · Free practice question 3 of 12
Mid-conversation system messages keep the cache
An assistant at Fairmile Bank needs to switch into a stricter compliance mode partway through long conversations. Editing the top-level system prompt each time invalidates the cached history. On models that support it, what is the better approach?
- A.Edit the top-level system prompt anyway, since cache invalidation only affects latency, never cost.
- B.Put the new instruction in the user's next message so it looks like the customer asked for it.
- C.Append a role system message to messages, leaving the cached prefix unchanged.
- D.Start a brand-new conversation with a different system prompt and drop the earlier history.
Show answer and explanation
Correct answer: C. Append a role system message to messages, leaving the cached prefix unchanged.
Why: Supported models accept mid-conversation system messages appended to messages, which keeps the cached prefix intact and carries operator authority. Restarting loses context, disguising operator instructions as user text weakens their authority, and invalidating the cache raises both cost and latency.
More free Claude Certified Architect — Professional questions
- Adaptive thinking on current models
- Key batch results by custom_id
- Reuse uploaded files by ID
- Prioritize use cases by value and feasibility
- Adversarial and integration testing
- Watch tail latency, not averages
- Read-only roles behind MCP servers
- Plan mode for unfamiliar code
- Minimize sensitive data sent to the model
- Vault credentials in Managed Agents
- Pick a light model for high-volume moderation