What file extension is typically used for Redis's Append-Only File?
.aof
.log
.rdb
.redis
How does Redis differ from a traditional relational database like MySQL?
Redis is primarily disk-based, while MySQL is in-memory
Redis is optimized for complex joins and queries, while MySQL is not
Redis is not suitable for storing persistent data, while MySQL is
Redis is schema-less, while MySQL enforces a strict schema
Which command is used to remove a field from a hash in Redis?
DEL
SREM
HDEL
HGET
Which Redis configuration setting controls the interval (in seconds) for saving RDB snapshots?
snapshot_frequency
rdb_snapshot_time
rdb_save_seconds
save_interval
Which Redis persistence option offers a more durable approach, potentially reducing data loss?
Both are equally durable
AOF
RDB
Neither
How can you delete a key named 'mykey' from Redis using redis-py?
r.clear('mykey')
r.erase('mykey')
r.remove('mykey')
r.delete('mykey')
Which command is used to download and install Redis on a Debian-based Linux system?
wget redis.com
apt-get install redis
brew install redis
yum install redis
After installing Redis, what command is commonly used to start the Redis server?
run redis
start redis
execute redis
redis-server
Which of these is NOT a common use case for Redis?
Storing large blobs of unstructured data
Caching
Session management
Leaderboards and real-time analytics
What is the expected return value of 'EXISTS user' if the 'user' key is present in Redis?
False
0
1
True