CCDV-F Prompt and Context Engineering Practice Question
A developer is using Prompt Caching for a high-traffic customer support bot. The prompt includes a large knowledge base and the current conversation history. What is the most cost-effective way to structure the cache checkpoints?
⚠ Common exam trap
Candidates mistakenly try to cache the dynamic conversation history instead of the static knowledge base, destroying the cost-saving efficiency of prompt caching.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Place the knowledge base first and add a cache checkpoint at the end of it.
Prompt Caching is most effective when the cached content is stable and reused across many requests. By placing the large, static knowledge base at the beginning and caching it, the developer avoids re-processing those tokens for every turn. Caching the conversation history is less efficient because it changes every turn, but caching the static base provides consistent savings.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Place the conversation history first, then the knowledge base, and cache the whole block.
Why it's wrong here
Caching depends on matching the prefix of the prompt. If the conversation history is at the beginning, it changes every time the user speaks, which invalidates the cache for everything following it. This would result in cache misses for the large knowledge base, making the caching strategy largely ineffective and expensive.
- ✓
Place the knowledge base first and add a cache checkpoint at the end of it.
Why this is correct
This is the optimal strategy. By putting the static, heavy content first and marking it with a checkpoint, every subsequent request can reuse those tokens. This drastically reduces latency and costs for multi-turn conversations because only the new user message and specific response need to be processed from scratch.
- ✗
Add a cache checkpoint after every user and assistant turn in the conversation history.
Why it's wrong here
While this might seem efficient, caching too many small segments can lead to management overhead and may not provide significant savings if the turns are short. The most significant benefit comes from caching the largest static part of the prompt. Over-caching dynamic content often leads to higher costs than expected.
- ✗
Disable caching for the knowledge base and only cache the system prompt persona.
Why it's wrong here
The system prompt is usually very small compared to a knowledge base. Caching only the system prompt saves very few tokens and misses the primary opportunity for optimization. The goal of caching is to target the largest possible prefix that remains constant across multiple API calls or users.
About these practice questions
Courseiva writes every CCDV-F question from scratch — 257 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Anthropic exam blueprint
This CCDV-F practice question is part of Courseiva's free Anthropic certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCDV-F exam.