Q39 Redis Domain 2 · 25–30% of exam

An application needs Redis to survive a full server restart without data loss. Which persistence option persists all write operations to disk in real time?

  1. A RDB (snapshot)
  2. B AOF (Append-Only File) (correct answer)
  3. C No persistence
  4. D Replication only

Shortcut: AOF persistence logs every write operation to disk. On restart, Redis replays the AOF file to reconstruct the dataset. It provides better durability than RDB but uses more disk I/O.