Learning pathsPricingChecking sign-in…
GUIDED PRACTICE

Quiz: Caching

Five scenario questions with explanations and a visual checkpoint.

Visual checkpoint

Use this diagram to locate the state and failure boundaries tested by the questions. Answer all five questions before revealing feedback; the result is a study checkpoint rather than a certification.

Access trace, capacity 2: A,B,A,C; FIFO: evict A -> remaining B,C; LRU: evict B -> remaining A,C; LFU in this fixture: evict B -> A,C; TTL expiry and pressure eviction are different; Late source-v7 fill after v8 invalidation is stale
Predict eviction before choosing a policy
Read the diagram

Access trace, capacity 2: A,B,A,C; FIFO: evict A -> remaining B,C; LRU: evict B -> remaining A,C; LFU in this fixture: evict B -> A,C; TTL expiry and pressure eviction are different; Late source-v7 fill after v8 invalidation is stale

Open original
Predict eviction before choosing a policy
Access trace, capacity 2: A,B,A,C; FIFO: evict A -> remaining B,C; LRU: evict B -> remaining A,C; LFU in this fixture: evict B -> A,C; TTL expiry and pressure eviction are different; Late source-v7 fill after v8 invalidation is stale

Predict eviction before choosing a policy

Review your reasoning

After checking answers, identify the incorrect assumption behind each missed question. Rewrite it as a rule with a concrete exception or failure case, then return to the lesson.

A key expires during a database slowdown. Which matters more: adding cache clients or bounding cache-miss work?

8:00Self-guided practice timer
The timer resets when you leave this page. Save your design separately.
Your challenge

A key expires during a database slowdown. Which matters more: adding cache clients or bounding cache-miss work?

Your design draft

Clarify assumptions, explain your approach, and test the difficult cases. Save your draft, then compare it with the study notes.

Read study notes

Self-review checklist

Self-guided practice. Automated AI feedback and code execution are not connected.