Eviction Policies interview questions

15 Eviction Policies questions from the Caching 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.

Take the free IT readiness check

or take a mock interview set up for this area

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

Answer + AI explanation with Pro

2. Which term means: "an eviction strategy that discards the entry that has gone the longest without being accessed"?

Junior
  1. A.LRU
  2. B.TTL expiry
  3. C.LFU
  4. D.Random replacement

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

5. Which term means: "an eviction strategy that discards the entry accessed the fewest number of times over its lifetime"?

Mid
  1. A.LRU
  2. B.LFU
  3. C.FIFO eviction
  4. D.TTL expiry

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

8. Which term means: "a strategy that removes entries in the order they were inserted, regardless of how often they are used"?

Junior
  1. A.LFU
  2. B.LRU
  3. C.FIFO eviction
  4. D.Random replacement

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

11. Which term means: "automatic removal of an entry once a configured lifetime has elapsed since it was written"?

Junior
  1. A.LRU
  2. B.TTL expiry
  3. C.FIFO eviction
  4. D.LFU

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

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

Answer + AI explanation with Pro

14. Which term means: "a low-overhead eviction strategy that picks an arbitrary entry to discard without tracking usage history"?

Mid
  1. A.Random replacement
  2. B.FIFO eviction
  3. C.TTL expiry
  4. D.LRU

Answer + AI explanation with Pro

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

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 Eviction Policies question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers