Q39 Redis Domain 2 · 25–30% of exam

What does the maxmemory-policy configuration control in Azure Cache for Redis?

  1. A Maximum number of connections
  2. B Eviction strategy when memory is full (e.g., allkeys-lru, volatile-lru, noeviction) (correct answer)
  3. C Maximum key name length
  4. D Persistence buffer size

Shortcut: maxmemory-policy defines what Redis does when it reaches the memory limit: evict the least recently used key (allkeys-lru), expire keys with TTL (volatile-lru), or return errors (noeviction).