Expiration and Invalidation Quiz

5 questions Pass: 70% +25 pts

Quiz covering Azure Managed Redis

Expiration and Invalidation Quiz

5 questions | Pass: 70% | Earn 25 points

Questions in this quiz

A preview of the 5 questions covered. Start the quiz above to answer them, check your score, and read the explanations.

  1. 1

    Which command is used to set a Time-To-Live (TTL) of 60 seconds on an existing key named 'session_data' in Azure Managed Redis?

  2. 2

    You are implementing a caching strategy where data should be removed only when the memory limit is reached. Which eviction policy should you configure in Azure Managed Redis to ensure the least recently used keys are removed first?

  3. 3

    What is the primary difference between the 'volatile-lru' and 'allkeys-lru' eviction policies?

  4. 4

    If you need to ensure that a specific configuration key remains in the cache indefinitely and is never removed by the eviction process, which action should you take?

  5. 5

    You have a high-traffic application using Azure Managed Redis. You notice that many keys are expiring simultaneously, causing a spike in latency known as 'cache stampede'. Which strategy is most effective at the application layer to mitigate this?