CertKeen

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?

  1. A.Edit the top-level system prompt anyway, since cache invalidation only affects latency, never cost.
  2. B.Put the new instruction in the user's next message so it looks like the customer asked for it.
  3. C.Append a role system message to messages, leaving the cached prefix unchanged.
  4. 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