Question 4 of 10Pro Only

What are the main cache eviction policies and how do you choose the right one?

Sample answer preview

Eviction policies determine which entries to remove when the cache reaches its maximum capacity. LRU, Least Recently Used, removes the entries that have been accessed least recently.

LRULFUFIFOTTLvolatileallkeys

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Backend Developer interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime