Exam CCDV-F Topic 1 Question 90 Discussion
Actual exam question for Anthropic's CCDV-F exam
Question #: 90
Topic #: 1
Question #: 90
Topic #: 1
Your application uses the Messages API to handle multi-turn conversations. Each new turn resends the entire conversation history, and your token costs are growing as conversations get longer. You suspect there is a more efficient approach.
How would you address this?
How would you address this?
Suggested Answer: A Vote an answer
Option A is the technically verified answer. Anthropic documents that multi-turn agentic requests resend the growing conversation context on subsequent turns. Prompt caching allows repeated prompt prefixes-such as system instructions, tool definitions, and prior unchanged conversation content-to be reused at the lower cache-read rate rather than repeatedly charged as ordinary uncached input. Anthropic specifically identifies caching repeated context as a major production cost optimization.
B is incorrect even though the supplied PDF contains a duplicated screenshot in which B appears selected.
The Batch API is designed for asynchronous workloads that can tolerate delayed completion; it is not the appropriate mechanism for every interactive turn in a multi-turn conversation. Because the user requested verified answers rather than blindly reproducing marked selections, A is retained.
C discards potentially essential conversation state arbitrarily. D is a valid context-management technique in some long-running workflows, but summarizing after every turn creates additional model work and loses detail; it does not exploit repeated-prefix caching.
Therefore, A directly addresses the stated cost pattern while preserving conversation fidelity. Relevant Study Guide topics: Messages API, stateless conversation history, prompt caching, cached input tokens, multi-turn applications, token economics, and cost optimization.
B is incorrect even though the supplied PDF contains a duplicated screenshot in which B appears selected.
The Batch API is designed for asynchronous workloads that can tolerate delayed completion; it is not the appropriate mechanism for every interactive turn in a multi-turn conversation. Because the user requested verified answers rather than blindly reproducing marked selections, A is retained.
C discards potentially essential conversation state arbitrarily. D is a valid context-management technique in some long-running workflows, but summarizing after every turn creates additional model work and loses detail; it does not exploit repeated-prefix caching.
Therefore, A directly addresses the stated cost pattern while preserving conversation fidelity. Relevant Study Guide topics: Messages API, stateless conversation history, prompt caching, cached input tokens, multi-turn applications, token economics, and cost optimization.
by Patrick at Nov 19, 2026, 10:02 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).