nerdexam
Microsoft

AZ-204 · Question #312

You are developing a web application that uses Azure Cache for Redis. You anticipate that the cache will frequently fill and that you will need to evict keys. You must configure Azure Cache for Redis

Sign in or unlock AZ-204 to reveal the answer and full explanation for question #312. The question stem and answer options stay visible for context.

Submitted by brentm· Mar 30, 2026Monitor, troubleshoot, and optimize Azure solutions

Question

You are developing a web application that uses Azure Cache for Redis. You anticipate that the cache will frequently fill and that you will need to evict keys. You must configure Azure Cache for Redis based on the following predicted usage pattern: A small subset of elements will be accessed much more often than the rest. You need to configure the Azure Cache for Redis to optimize performance for the predicted usage pattern. Which two eviction policies will achieve the goal? NOTE: Each correct selection is worth one point.

Options

  • Anoeviction
  • Ballkeys-lru
  • Cvolatile-lru
  • Dallkeys-random
  • Evolatile-ttl
  • Fvolatile-random

Unlock AZ-204 to see the answer

You've previewed enough free AZ-204 questions. Unlock AZ-204 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Azure Cache for Redis#eviction policy#LRU#cache optimization
Full AZ-204 Practice