What is the effect of setting maxmemory-policy to noeviction when memory is exhausted?
- A Random keys are dropped
- B Write commands return an OOM error while reads continue (correct answer)
- C The server restarts
- D TTLs are shortened automatically
Shortcut: noeviction refuses new writes with an OOM error rather than discarding data. It suits durable queues but is a poor fit for caches.