nerdexam
Microsoft

AZ-204 · Question #600

You have a Standard tier instance of Azure Cache for Redis named redis1 configured with the default settings. You need to configure a Maxmemory policy to increase the amount of cache available for…

The correct answer is A. Decrease the value of maxmemory-reserved. The maxmemory-reserved setting configures the amount of memory, in MB per instance in a cluster, that is reserved for non-cache operations, such as replication during failover. Setting this value allows you to have a more consistent Redis server experience when your load…

Submitted by marco_it· Mar 30, 2026Develop for Azure storage

Question

You have a Standard tier instance of Azure Cache for Redis named redis1 configured with the default settings. You need to configure a Maxmemory policy to increase the amount of cache available for read operations. How should you configure the Maxmemory policy?

Options

  • ADecrease the value of maxmemory-reserved.
  • BIncrease the value of maxmemory-reserved.
  • CSet the Maxmemory policy to noeviction.
  • DSet the Maxmemory policy to volatile-lru.

How the community answered

(21 responses)
  • A
    71% (15)
  • B
    10% (2)
  • C
    5% (1)
  • D
    14% (3)

Explanation

The maxmemory-reserved setting configures the amount of memory, in MB per instance in a cluster, that is reserved for non-cache operations, such as replication during failover. Setting this value allows you to have a more consistent Redis server experience when your load varies. This value should be set higher for workloads that write large amounts of data. When memory is reserved for such operations, it's unavailable for storage of cached data. https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-memory-

Topics

#Azure Cache for Redis#maxmemory-reserved#eviction policy#cache optimization

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice