Start learning →

Claude AI Claudeai Caching — practice questions

Explore 2 free Claudeai Caching questions in Claude AI Claudearchitect. Open each question or exercise to read its content, reference answers and available explanation.

Practise Claudeai Caching with Quill →

Claudeai Caching questions and exercises with answers

Showing questions 1–2 of 2.

Worked practice questions

Prompt caching saves tokens by:

  1. Reusing a precomputed prefix on next call
  2. Compressing the prompt to fewer tokens
  3. Removing duplicate user words
  4. Switching to a smaller model
Show answer and solution

Correct answer: A. Reusing a precomputed prefix on next call

Cached prefix tokens are precomputed and reused on subsequent calls within the cache window, cutting cost ~90% on hits.

Open this question →

Anthropic's prompt cache TTL is approximately:

  1. 30 seconds
  2. 5 minutes
  3. 1 hour
  4. Indefinite
Show answer and solution

Correct answer: B. 5 minutes

The cache prefix lives roughly 5 minutes after the last hit. Anything beyond falls out and must be recomputed.

Open this question →

How to practise

  1. Choose a Claudeai Caching question and try to work out your answer.
  2. Open the question to check the correct answer and read its worked solution.
  3. Continue in the app for bite-sized lessons, explanations and review with Quill. You can start without creating an account.

More Claudearchitect topics