What file extension is typically used for Redis's Append-Only File?
.log
.aof
.redis
.rdb
Which command would you use to remove the key 'user:123' and its associated value from Redis?
DROP user:123
DEL user:123
DELETE user:123
REMOVE user:123
Which persistence option in Redis creates point-in-time snapshots of your data?
AOF
RDB
Redis Protocol
Replication
What Redis command would you use to change the name of a key from 'user:123' to 'customer:123'?
ALTER
CHANGE
RENAME
UPDATE
Which Redis configuration setting controls the interval (in seconds) for saving RDB snapshots?
rdb_save_seconds
snapshot_frequency
rdb_snapshot_time
save_interval
What is the primary effect of renaming a key in Redis?
Changes the expiration time of the key.
Changes the data type of the key.
Changes the value associated with the key.
Changes how the key is referenced.
How does Redis differ from a traditional relational database like MySQL?
Redis is not suitable for storing persistent data, while MySQL is
Redis is optimized for complex joins and queries, while MySQL is not
Redis is schema-less, while MySQL enforces a strict schema
Redis is primarily disk-based, while MySQL is in-memory
How do you set a key to expire after 20 seconds in Redis?
SETEX key 20 value
EXPIRE key 20
TIMEOUT key 20
PERSIST key 20
What is the expected return value of 'EXISTS user' if the 'user' key is present in Redis?
True
1
False
0
What is a potential drawback of using only RDB snapshots for persistence in Redis?
Slow write speeds
Complex configuration
High memory usage
Potential data loss between snapshots