Eviction Policies interview questions

15 real Eviction Policies questions from the Caching bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is LRU?

Junior
  1. A.an eviction strategy that discards the entry that has gone the longest without being accessed
  2. B.an eviction strategy that discards the entry accessed the fewest number of times over its lifetime
  3. C.automatic removal of an entry once a configured lifetime has elapsed since it was written
  4. D.a strategy that removes entries in the order they were inserted, regardless of how often they are used
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.LRU — a low-overhead eviction strategy that picks an arbitrary entry to discard without tracking usage history
  2. B.LRU — automatic removal of an entry once a configured lifetime has elapsed since it was written
  3. C.LRU — an eviction strategy that discards the entry accessed the fewest number of times over its lifetime
  4. D.LRU — an eviction strategy that discards the entry that has gone the longest without being accessed
Reveal the answer + AI explanation — free account

4. What is LFU?

Mid
  1. A.a low-overhead eviction strategy that picks an arbitrary entry to discard without tracking usage history
  2. B.a strategy that removes entries in the order they were inserted, regardless of how often they are used
  3. C.an eviction strategy that discards the entry accessed the fewest number of times over its lifetime
  4. D.an eviction strategy that discards the entry that has gone the longest without being accessed
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Mid
  1. A.LFU — a low-overhead eviction strategy that picks an arbitrary entry to discard without tracking usage history
  2. B.LFU — an eviction strategy that discards the entry accessed the fewest number of times over its lifetime
  3. C.LFU — a strategy that removes entries in the order they were inserted, regardless of how often they are used
  4. D.LFU — automatic removal of an entry once a configured lifetime has elapsed since it was written
Reveal the answer + AI explanation — free account

7. What is FIFO eviction?

Junior
  1. A.automatic removal of an entry once a configured lifetime has elapsed since it was written
  2. B.an eviction strategy that discards the entry accessed the fewest number of times over its lifetime
  3. C.an eviction strategy that discards the entry that has gone the longest without being accessed
  4. D.a strategy that removes entries in the order they were inserted, regardless of how often they are used
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Junior
  1. A.FIFO eviction — automatic removal of an entry once a configured lifetime has elapsed since it was written
  2. B.FIFO eviction — an eviction strategy that discards the entry that has gone the longest without being accessed
  3. C.FIFO eviction — an eviction strategy that discards the entry accessed the fewest number of times over its lifetime
  4. D.FIFO eviction — a strategy that removes entries in the order they were inserted, regardless of how often they are used
Reveal the answer + AI explanation — free account

10. What is TTL expiry?

Junior
  1. A.a low-overhead eviction strategy that picks an arbitrary entry to discard without tracking usage history
  2. B.automatic removal of an entry once a configured lifetime has elapsed since it was written
  3. C.an eviction strategy that discards the entry accessed the fewest number of times over its lifetime
  4. D.an eviction strategy that discards the entry that has gone the longest without being accessed
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Junior
  1. A.TTL expiry — a low-overhead eviction strategy that picks an arbitrary entry to discard without tracking usage history
  2. B.TTL expiry — automatic removal of an entry once a configured lifetime has elapsed since it was written
  3. C.TTL expiry — an eviction strategy that discards the entry that has gone the longest without being accessed
  4. D.TTL expiry — a strategy that removes entries in the order they were inserted, regardless of how often they are used
Reveal the answer + AI explanation — free account

13. What is Random replacement?

Mid
  1. A.an eviction strategy that discards the entry accessed the fewest number of times over its lifetime
  2. B.a low-overhead eviction strategy that picks an arbitrary entry to discard without tracking usage history
  3. C.a strategy that removes entries in the order they were inserted, regardless of how often they are used
  4. D.automatic removal of an entry once a configured lifetime has elapsed since it was written
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Mid
  1. A.Random replacement — a low-overhead eviction strategy that picks an arbitrary entry to discard without tracking usage history
  2. B.Random replacement — a strategy that removes entries in the order they were inserted, regardless of how often they are used
  3. C.Random replacement — an eviction strategy that discards the entry that has gone the longest without being accessed
  4. D.Random replacement — automatic removal of an entry once a configured lifetime has elapsed since it was written
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Eviction Policies free