| 1 | What are some common mistakes developers make when implementing distributed locks with Redis, and how do you avoid them? Redis › Distributed Locks with Redis | Redis | Distributed Locks with Redis | Intermediate |
| 2 | How do you implement a basic distributed lock in Redis using the SET command with NX and EX options? Redis › Distributed Locks with Redis | Redis | Distributed Locks with Redis | Beginner |
| 3 | What is the Redlock algorithm, and why was it proposed for implementing distributed locks across multiple independent Redis instances? Redis › Distributed Locks with Redis | Redis | Distributed Locks with Redis | Advanced |
| 4 | What is a distributed lock, and why would an application need one when using Redis? Redis › Distributed Locks with Redis | Redis | Distributed Locks with Redis | Beginner |
| 5 | Why is it important to release a distributed lock using a script that verifies you are actually the current lock owner, rather than a simple DELETE command? Redis › Distributed Locks with Redis | Redis | Distributed Locks with Redis | Intermediate |
| 6 | What happens if the process holding a distributed lock crashes or hangs before it finishes its work and releases the lock? Redis › Distributed Locks with Redis | Redis | Distributed Locks with Redis | Intermediate |
| 7 | How would you design a distributed lock implementation that supports safely extending the lock's expiration time if the protected operation needs more time than originally expected? Redis › Distributed Locks with Redis | Redis | Distributed Locks with Redis | Advanced |
| 8 | How would you implement a distributed rate limiter using Redis that works correctly across multiple application servers handling requests for the same user? Redis › Rate Limiting with Redis | Redis | Rate Limiting with Redis | Advanced |
| 9 | Why is Redis a popular choice for storing web application session data? Redis › Session Management with Redis | Redis | Session Management with Redis | Beginner |
| 10 | How do you implement a feature that forcibly logs out a specific user across all of their active sessions and devices? Redis › Session Management with Redis | Redis | Session Management with Redis | Intermediate |
| 11 | How do you build a simple work queue using a Redis list where multiple workers pull tasks to process? Redis › Redis as a Message Queue | Redis | Redis as a Message Queue | Beginner |
| 12 | How do you find the intersection, union, and difference between two or more Redis sets? Redis › Sets & Sorted Sets in Redis | Redis | Sets & Sorted Sets in Redis | Intermediate |
| 13 | How would you implement a reliable queue pattern using Redis lists that prevents losing a task if the worker processing it crashes? Redis › Lists in Redis | Redis | Lists in Redis | Advanced |
| 14 | What patterns help ensure exactly once or at least once processing semantics when using Redis as a message queue for critical tasks? Redis › Redis as a Message Queue | Redis | Redis as a Message Queue | Advanced |
| 15 | Why would you use a Lua script with Redis instead of just sending several separate commands from your application? Redis › Lua Scripting | Redis | Lua Scripting | Beginner |
| 16 | How do you call other Redis commands from within a Lua script, and what restrictions apply to this? Redis › Lua Scripting | Redis | Lua Scripting | Intermediate |
| 17 | How does the WATCH command enable optimistic locking within a Redis transaction? Redis › Transactions | Redis | Transactions | Intermediate |
| 18 | What is a Redis transaction, and how do the MULTI and EXEC commands work together to create one? Redis › Transactions | Redis | Transactions | Beginner |
| 19 | How do you cancel a queued Redis transaction before it executes, and what command is used for this? Redis › Transactions | Redis | Transactions | Beginner |
| 20 | What is a consumer group in Redis Streams, and how does it enable multiple workers to process the same stream cooperatively? Redis › Streams | Redis | Streams | Intermediate |
| 21 | What is a practical real world example where a Redis transaction ensures data consistency across multiple related keys? Redis › Transactions | Redis | Transactions | Intermediate |
| 22 | When would you choose a Lua script over a MULTI and EXEC transaction to achieve atomicity in Redis? Redis › Transactions | Redis | Transactions | Advanced |
| 23 | How do you manage and organize Lua scripts in a larger application to keep them maintainable as your codebase grows? Redis › Lua Scripting | Redis | Lua Scripting | Intermediate |
| 24 | How do you acknowledge that a message read from a consumer group has been successfully processed? Redis › Streams | Redis | Streams | Intermediate |
| 25 | How would you prevent a cache stampede, where many requests simultaneously try to regenerate the same expired cache entry at once? Redis › Caching Patterns | Redis | Caching Patterns | Advanced |
| 26 | How would you handle a message that was delivered to a consumer but never acknowledged, perhaps because that consumer crashed while processing it? Redis › Streams | Redis | Streams | Advanced |