2.5 Prompt Reuse: Caching, Modular Prompts & Skills
Claude Certified Architect – Professional (CCAR-P) exam practice questions · 10 flashcards
Question
Same 8,000-token system prompt every request; latency and cost matter. Best fix?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 2.5 Prompt Reuse: Caching, Modular Prompts & Skills practice questions and answers
- Same 8,000-token system prompt every request; latency and cost matter. Best fix?Put static content first and enable prompt caching.
- How does prompt caching cut cost and latency?Repeated prefixes are reused, lowering input cost and time-to-first-token.
- Why must static content come before dynamic content for caching?Caching works on exact prefixes; changes before the breakpoint invalidate it.
- What are modular prompts?Reusable prompt components (policies, formats, personas) assembled per use case.
- What are Skills?Packaged instructions and resources Claude loads on demand for specialized tasks.
- Why use Skills instead of huge system prompts?Only short descriptions load upfront; full content loads when relevant, saving context.
- When does caching help most?Large, stable prefixes reused frequently: system prompts, tools, documents.
- Why isn't moving policy into few-shot examples a caching fix?It doesn't create a cacheable reusable prefix by itself.
- How do you verify cache hits?Check cache read token counts in usage.
- How do Skills support team standardization?Shared Skills give consistent workflows across apps and teams.