Which caching pattern checks Redis first, reads the database on miss, then writes the result back to Redis?

Practice this question from Quiz: Redis Cache Design for Interviews, with options and an explanation.

Question

Which caching pattern checks Redis first, reads the database on miss, then writes the result back to Redis?

Option A — Correct answer

Cache-aside

Option B

Write-only cache

Option C

Two-phase commit

Option D

Consistent hashing

Explanation

Cache-aside is the common read path for Redis-backed services.

Quiz: Redis Cache Design for Interviews

All questions · Next question

Open on QuizMaker