What does AOF stand for in the context of Redis persistence?
Automatic Output Function
Append-Only File
Asynchronous Operation Format
Advanced Object Formatting
What type of data structures does Redis support?
Only key-value pairs
Strings, lists, sets, and hashes
Only strings
Exclusively JSON documents
What file extension is typically used for Redis's Append-Only File?
.redis
.aof
.rdb
.log
What is a potential drawback of using only RDB snapshots for persistence in Redis?
Complex configuration
High memory usage
Potential data loss between snapshots
Slow write speeds
You have a key with an expiration time set. If you overwrite this key with a new value using SET, what happens to the expiration?
SET
The expiration time is removed, making the key persistent.
The expiration time is reset to its default value.
The expiration time is retained.
An error occurs because you cannot overwrite an expiring key.
Which AOF configuration option tells Redis to rewrite the AOF file periodically to reduce its size?
aof_rewrite_frequency
aof_optimize
aof_rewrite_threshold
aof_compact_size
Which command is used to remove a field from a hash in Redis?
DEL
HDEL
HGET
SREM
What is the purpose of the 'RPUSH' command in Redis?
Remove an element from the tail of a list
Remove an element from the head of a list
Add an element to the tail of a list
Add an element to the head of a list
What is the expected return value of 'EXISTS user' if the 'user' key is present in Redis?
1
False
True
0
What is the primary effect of renaming a key in Redis?
Changes the data type of the key.
Changes the expiration time of the key.
Changes the value associated with the key.
Changes how the key is referenced.