18 Expiration & Eviction questions from the Redis bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.an eviction policy that discards the least recently used key from the entire keyspace when memory is exhausted
B.the remaining lifespan of a key after which it is automatically removed, set in seconds or milliseconds
C.a periodic background sampling that proactively deletes keys whose lifespan has lapsed to reclaim memory
D.the configured upper bound on dataset size that, once reached, triggers a policy to reclaim space or reject writes
Answer + AI explanation with Pro
2. Which term means: "the remaining lifespan of a key after which it is automatically removed, set in seconds or milliseconds"?
Junior
A.Time to live
B.Lazy expiration
C.Active expiration
D.allkeys-lru
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.Time to live — an eviction policy that discards the least recently used key from the entire keyspace when memory is exhausted
B.Time to live — the remaining lifespan of a key after which it is automatically removed, set in seconds or milliseconds
C.Time to live — a periodic background sampling that proactively deletes keys whose lifespan has lapsed to reclaim memory
D.Time to live — an eviction strategy that discards keys accessed the fewest times, approximating popularity rather than recency
Answer + AI explanation with Pro
4. What is Lazy expiration?
Junior
A.an eviction strategy that discards keys accessed the fewest times, approximating popularity rather than recency
B.the configured upper bound on dataset size that, once reached, triggers a policy to reclaim space or reject writes
C.the removal of an expired key only when it is next accessed, rather than at the exact moment it lapses
D.an eviction policy that discards the least recently used key from the entire keyspace when memory is exhausted
Answer + AI explanation with Pro
5. Which term means: "the removal of an expired key only when it is next accessed, rather than at the exact moment it lapses"?
Junior
A.maxmemory
B.Time to live
C.Lazy expiration
D.Least frequently used policy
Answer + AI explanation with Pro
6. Which statement is correct?
Junior
A.Lazy expiration — a periodic background sampling that proactively deletes keys whose lifespan has lapsed to reclaim memory
B.Lazy expiration — the configured upper bound on dataset size that, once reached, triggers a policy to reclaim space or reject writes
C.Lazy expiration — an eviction policy that discards the least recently used key from the entire keyspace when memory is exhausted
D.Lazy expiration — the removal of an expired key only when it is next accessed, rather than at the exact moment it lapses
Answer + AI explanation with Pro
7. What is maxmemory?
Mid
A.the removal of an expired key only when it is next accessed, rather than at the exact moment it lapses
B.an eviction policy that discards the least recently used key from the entire keyspace when memory is exhausted
C.an eviction strategy that discards keys accessed the fewest times, approximating popularity rather than recency
D.the configured upper bound on dataset size that, once reached, triggers a policy to reclaim space or reject writes
Answer + AI explanation with Pro
8. Which term means: "the configured upper bound on dataset size that, once reached, triggers a policy to reclaim space or reject writes"?
Mid
A.maxmemory
B.Lazy expiration
C.allkeys-lru
D.Least frequently used policy
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.maxmemory — a periodic background sampling that proactively deletes keys whose lifespan has lapsed to reclaim memory
B.maxmemory — the removal of an expired key only when it is next accessed, rather than at the exact moment it lapses
C.maxmemory — the configured upper bound on dataset size that, once reached, triggers a policy to reclaim space or reject writes
D.maxmemory — the remaining lifespan of a key after which it is automatically removed, set in seconds or milliseconds
Answer + AI explanation with Pro
10. What is Active expiration?
Mid
A.the configured upper bound on dataset size that, once reached, triggers a policy to reclaim space or reject writes
B.a periodic background sampling that proactively deletes keys whose lifespan has lapsed to reclaim memory
C.an eviction policy that discards the least recently used key from the entire keyspace when memory is exhausted
D.the remaining lifespan of a key after which it is automatically removed, set in seconds or milliseconds
Answer + AI explanation with Pro
11. Which term means: "a periodic background sampling that proactively deletes keys whose lifespan has lapsed to reclaim memory"?
Mid
A.maxmemory
B.Least frequently used policy
C.Active expiration
D.allkeys-lru
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.Active expiration — the remaining lifespan of a key after which it is automatically removed, set in seconds or milliseconds
B.Active expiration — a periodic background sampling that proactively deletes keys whose lifespan has lapsed to reclaim memory
C.Active expiration — an eviction strategy that discards keys accessed the fewest times, approximating popularity rather than recency
D.Active expiration — the removal of an expired key only when it is next accessed, rather than at the exact moment it lapses
Answer + AI explanation with Pro
13. What is allkeys-lru?
Senior
A.the configured upper bound on dataset size that, once reached, triggers a policy to reclaim space or reject writes
B.a periodic background sampling that proactively deletes keys whose lifespan has lapsed to reclaim memory
C.an eviction policy that discards the least recently used key from the entire keyspace when memory is exhausted
D.the removal of an expired key only when it is next accessed, rather than at the exact moment it lapses
Answer + AI explanation with Pro
14. Which term means: "an eviction policy that discards the least recently used key from the entire keyspace when memory is exhausted"?
Senior
A.Active expiration
B.Time to live
C.Least frequently used policy
D.allkeys-lru
Answer + AI explanation with Pro
15. Which statement is correct?
Senior
A.allkeys-lru — a periodic background sampling that proactively deletes keys whose lifespan has lapsed to reclaim memory
B.allkeys-lru — an eviction strategy that discards keys accessed the fewest times, approximating popularity rather than recency
C.allkeys-lru — an eviction policy that discards the least recently used key from the entire keyspace when memory is exhausted
D.allkeys-lru — the configured upper bound on dataset size that, once reached, triggers a policy to reclaim space or reject writes
Answer + AI explanation with Pro
16. What is Least frequently used policy?
Senior
A.the remaining lifespan of a key after which it is automatically removed, set in seconds or milliseconds
B.the configured upper bound on dataset size that, once reached, triggers a policy to reclaim space or reject writes
C.an eviction strategy that discards keys accessed the fewest times, approximating popularity rather than recency
D.the removal of an expired key only when it is next accessed, rather than at the exact moment it lapses
Answer + AI explanation with Pro
17. Which term means: "an eviction strategy that discards keys accessed the fewest times, approximating popularity rather than recency"?
Senior
A.Least frequently used policy
B.maxmemory
C.Active expiration
D.Time to live
Answer + AI explanation with Pro
18. Which statement is correct?
Senior
A.Least frequently used policy — the remaining lifespan of a key after which it is automatically removed, set in seconds or milliseconds
B.Least frequently used policy — an eviction policy that discards the least recently used key from the entire keyspace when memory is exhausted
C.Least frequently used policy — an eviction strategy that discards keys accessed the fewest times, approximating popularity rather than recency
D.Least frequently used policy — the removal of an expired key only when it is next accessed, rather than at the exact moment it lapses
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Expiration & Eviction question come with Pro.