All Questions
Redis easy

If the Redis memory limit is reached, what specific behavior is exhibited by the `allkeys-lru` eviction policy?

  1. A It immediately stops accepting new write requests to prevent any data loss in existing records.
  2. B It removes Least Recently Used (LRU) keys across the entire dataset to free up memory slots.
  3. C It deletes keys in alphabetical order starting from the 'A' namespace until the limit is satisfied.
  4. D It triggers a critical system bypass that allows Redis to utilize the operating system's swap file.

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

Get the app

Related questions