Which Redis data structure is particularly well-suited for implementing a real-time leaderboard with ranked scores?
List
String
Sorted Set
Set
What is the primary advantage of using Redis HyperLogLogs over traditional sets for cardinality estimation?
HyperLogLogs provide exact cardinality counts.
HyperLogLogs consume significantly less memory for large cardinalities.
HyperLogLogs support range queries on the stored elements.
HyperLogLogs allow for storing duplicate elements.
In what scenarios would optimistic locking using WATCH be preferred over traditional locking in Redis?
WATCH
When the operations within the transaction are very time-consuming.
When minimizing latency and maximizing concurrency are crucial.
When the likelihood of concurrent modifications is very high.
When data consistency is not a major concern, and some data loss is acceptable.
What is a key advantage of deploying Redis using a master-slave replication strategy?
Elimination of the need for data persistence.
Automatic data sharding for horizontal scaling.
Improved write performance for high-traffic applications.
Simplified data backup and recovery.
Which Redis feature allows you to persist data from memory to disk, providing some level of durability?
Replication
Persistence
Virtual Memory
Transactions
What command is used to discard a transaction block in Redis, cancelling all queued commands?
UNDO
ROLLBACK
DISCARD
CANCEL
Which use case is particularly well-suited for Redis Pub/Sub?
Implementing a real-time chat application.
Maintaining a persistent, ordered log of events.
Performing complex data aggregations.
Storing large JSON documents for retrieval.
What units can be used to specify the radius in the GEORADIUS command?
GEORADIUS
Only kilometers
Only meters
Only degrees
Meters, kilometers, miles, feet
What is a key advantage of using Redis Streams for data ingestion compared to directly pushing data to a message queue like Kafka?
Redis Streams offer more advanced message filtering capabilities.
Redis Streams inherently support complex data transformations within the stream.
Redis Streams allow for data persistence without relying on external systems.
Redis Streams eliminate the need for message acknowledgments, simplifying the architecture.
Which tool is used to orchestrate and manage the nodes in a Redis Cluster?
redis-server
redis-cli
redis-benchmark
redis-trib.rb