Challenge - 5 Problems
Redis RDB Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ query_result
intermediate1:30remaining
What is the effect of this Redis configuration snippet?
Given the Redis configuration line:
What does this setting do?
save 900 1What does this setting do?
Redis
save 900 1
Attempts:
2 left
💡 Hint
Think about the meaning of the two numbers in the 'save' directive.
✗ Incorrect
The 'save' directive syntax is 'save '. It triggers a DB save if at least keys changed within seconds.
🧠 Conceptual
intermediate1:30remaining
Why might you configure multiple 'save' intervals in Redis?
Redis allows multiple 'save' directives like:
Why would an administrator set multiple save intervals?
save 900 1save 300 10save 60 10000Why would an administrator set multiple save intervals?
Attempts:
2 left
💡 Hint
Think about how different thresholds affect save frequency.
✗ Incorrect
Multiple 'save' directives allow Redis to save more often when many keys change quickly, and less often when changes are rare, balancing performance and durability.
📝 Syntax
advanced1:30remaining
Identify the syntax error in this Redis save configuration line
Which option contains a syntax error in Redis 'save' configuration?
Attempts:
2 left
💡 Hint
The 'save' directive requires two arguments.
✗ Incorrect
The 'save' directive must have two arguments: seconds and number of changes. Option B only has one argument, causing a syntax error.
❓ optimization
advanced2:00remaining
Which Redis save interval configuration best balances performance and durability for a busy server?
Consider a Redis server with frequent writes. Which save configuration is best to reduce performance impact but keep data safe?
Attempts:
2 left
💡 Hint
Think about how often saves happen and how many changes trigger them.
✗ Incorrect
Option A sets multiple intervals that save more often when many keys change and less often when few keys change, balancing durability and performance.
🔧 Debug
expert2:30remaining
Why does this Redis server never save snapshots despite 'save' directives present?
A Redis server has these lines in redis.conf:
But it never creates RDB snapshots. What is the most likely cause?
save 900 1save 300 10But it never creates RDB snapshots. What is the most likely cause?
Attempts:
2 left
💡 Hint
Check if any configuration disables saving explicitly.
✗ Incorrect
A 'save ""' directive disables all RDB snapshotting, overriding other 'save' lines. This is a common cause of no snapshots despite save directives.