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?
- A RDB (snapshot)
- B AOF (Append-Only File) (correct answer)
- C No persistence
- 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.