You want to store a list of a user's recent activity in chronological order. What Redis data type is suitable?
String
List
Hash
Set
What data type does Redis primarily use to store values?
Float
Integer
Boolean
What is the primary effect of renaming a key in Redis?
Changes how the key is referenced.
Changes the data type of the key.
Changes the expiration time of the key.
Changes the value associated with the key.
What does AOF stand for in the context of Redis persistence?
Asynchronous Operation Format
Advanced Object Formatting
Automatic Output Function
Append-Only File
How does Redis differ from a traditional relational database like MySQL?
Redis is primarily disk-based, while MySQL is in-memory
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
Which command would you use to remove the key 'user:123' and its associated value from Redis?
DROP user:123
REMOVE user:123
DELETE user:123
DEL user:123
How do you establish a connection to a Redis server using redis-py?
Redis.new()
redis.connect()
Redis.create_connection()
redis.Redis()
Which of these is NOT a common use case for Redis?
Session management
Storing large blobs of unstructured data
Caching
Leaderboards and real-time analytics
Which configuration file is commonly used to modify Redis server settings?
config.redis
settings.redis
redis.ini
redis.conf
What is the default port on which the Redis server listens for connections?
27017
3306
80
6379