Learning pathsPricingChecking sign-in…
COURSE CHECKPOINT · 5 QUESTIONS

Quiz: Caching

Apply Caching to concrete decisions. Choose an answer for every question, then review the explanations.

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?

1. A million clients miss one hot key together. What directly reduces duplicate fills?
2. A writer invalidates a key while an older read is still loading. What race remains?
3. May a cached in-stock value authorize the last item purchase?
4. What should happen when the cache fails?
5. Which key design risks leaking private data?

Answers and your latest score are saved to your account when you check them. Completion records your attempt, not a passing certification.