All Questions
Redis easy

Given that Redis is an in-memory database, what is the default behavior when the physical host server undergoes a sudden power failure?

  1. A The data is automatically synced to a globally redundant cloud backup in real-time.
  2. B The raw RAM data is lost unless persistence (RDB or AOF) was configured to save to disk.
  3. C Redis leverages an internal capacitor-based battery to flush RAM to an SSD during a crash.
  4. D The OS kernel preserves the Redis memory segment in the system swap file for later use.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions