Practice the vocabulary of reusing a static prompt segment to reduce latency and cost.
0 / 5 completed
1 / 5
At standup, a dev mentions storing a long, unchanging portion of a prompt, like a system instruction, so the model doesn't have to reprocess it from scratch on every single call. What is this technique called?
Prompt caching stores a long, unchanging portion of a prompt, like a system instruction, so the model doesn't reprocess it from scratch on every call, reducing both latency and cost. Reprocessing the same unchanging content every single time wastes compute on work that produces an identical result. This caching is especially valuable for an application that reuses the same lengthy instructions across many separate requests.
2 / 5
During a design review, the team wants only the truly static, reused prefix of a prompt cached, while the unique, per-request portion is still processed fresh each time. Which capability supports this?
Cache-boundary design separates a prompt's truly static, reused prefix from its unique, per-request portion, so only the static part benefits from caching while the dynamic part is still processed fresh. Caching the entire prompt as one unit fails the moment any part of it changes between requests, since even a tiny difference invalidates the whole cache. This boundary design is what makes prompt caching actually pay off across many varied requests.
3 / 5
In a code review, a dev notices a cached prompt segment automatically expires and gets rebuilt after a short time-to-live window rather than being reused indefinitely without any freshness check. What does this represent?
A time-to-live policy automatically expires and rebuilds a cached prompt segment after a set window, rather than reusing it indefinitely with no freshness check. Reusing a cached segment indefinitely risks it going stale if the underlying static content it represents ever actually changes. This TTL policy balances the cost savings of caching against the risk of serving genuinely outdated cached content.
4 / 5
An incident report shows a prompt's static instructions were updated, but a stale cached version kept being served for hours because the cache had no expiration tied to the content's own version. What practice would prevent this?
Tying a cached prompt segment's validity to a content version or hash invalidates the cache automatically whenever the underlying static instructions actually change. Caching indefinitely with no such tie risks serving a stale, outdated version long after the real content was updated. This version-aware invalidation is what keeps prompt caching both fast and correct.
5 / 5
During a PR review, a teammate asks why the team designs a specific cache boundary instead of just caching the entire prompt as one single block regardless of what varies between requests. What is the reasoning?
Caching the whole prompt as one block invalidates instantly whenever any part of it varies between requests, which defeats the purpose since most real prompts include some per-request content. A designed cache boundary keeps the genuinely static portion reused across many requests. The tradeoff is the upfront design work of identifying exactly which part of a prompt is truly static.
What does the "Prompt Caching Vocabulary" vocabulary exercise cover?
This exercise tests real IT vocabulary related to prompt caching vocabulary through 5 multiple-choice questions, each built from realistic workplace sentences rather than abstract definitions.
Is this vocabulary exercise free to use?
Yes. Every exercise on CoderSlingo, including this one, is completely free — no account, sign-up, or payment required.
How many questions does this exercise have?
This exercise has 5 questions. Each one shows a real-world sentence or scenario with multiple-choice options and an explanation once you answer.
What happens after I answer a question?
You'll see immediate feedback showing whether your answer was correct, along with a short explanation of why — then a button to move to the next question, and a full results screen at the end.
Can I retry the exercise if I get questions wrong?
Yes. Once you reach the results screen, click "Try again" to reset your answers and go through the exercise from the start as many times as you like.
Do I need to create an account to take this exercise?
No account is needed. Your answers are scored in your browser during the session — nothing is saved to a server, so you can jump straight in.
Is my progress saved if I leave the page?
No — progress within an exercise resets if you navigate away or reload. Each exercise is short enough to complete in a few minutes in one sitting.
Are these vocabulary exercises connected to other topics?
Yes — browse the full vocabulary exercises hub to find related modules covering adjacent IT topics and roles.
How is this different from reading a glossary or blog article?
Exercises like this one are active recall drills — you have to choose the correct term or phrasing yourself, which builds retention faster than passively reading a definition.
Where can I find more vocabulary exercises?
Browse the full Vocabulary exercises hub for hundreds of modules covering Agile, DevOps, security, databases, architecture, and more — organised by IT role and skill.