Challenge - 5 Problems
Sentinel Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ query_result
intermediate2:00remaining
Sentinel monitoring configuration output
Given the following Redis Sentinel configuration snippet, what will be the output of the
SENTINEL masters command?sentinel monitor mymaster 192.168.1.100 6379 2 sentinel down-after-milliseconds mymaster 5000 sentinel failover-timeout mymaster 60000 sentinel parallel-syncs mymaster 1
Attempts:
2 left
💡 Hint
Check the IP and port values in the sentinel monitor command.
✗ Incorrect
The SENTINEL masters command returns the list of monitored masters with their configured IP, port, and quorum. The configuration sets the master IP to 192.168.1.100 and port 6379 with quorum 2.
🧠 Conceptual
intermediate1:30remaining
Understanding Sentinel quorum
In Redis Sentinel configuration, what does the quorum number specify?
Attempts:
2 left
💡 Hint
Think about how Sentinels decide to start failover.
✗ Incorrect
Quorum is the count of Sentinels that must agree the master is unreachable before failover begins.
📝 Syntax
advanced1:30remaining
Identify the syntax error in Sentinel config
Which of the following Sentinel configuration lines contains a syntax error?
Attempts:
2 left
💡 Hint
Check if all required parameters are present.
✗ Incorrect
The 'sentinel parallel-syncs' command requires the master name and the number of replicas to sync in parallel. Option B is missing the number parameter.
❓ optimization
advanced1:30remaining
Optimizing Sentinel failover timeout
You want to reduce the failover time in your Redis Sentinel setup. Which configuration change will most directly reduce the failover duration?
Attempts:
2 left
💡 Hint
Failover-timeout controls the maximum time for failover to complete.
✗ Incorrect
Lowering failover-timeout reduces the maximum time Sentinel waits before completing failover.
🔧 Debug
expert2:30remaining
Debugging Sentinel failover not triggering
You have 3 Sentinels monitoring a master with quorum set to 2. The master goes down, but failover does not start. Which is the most likely cause?
Attempts:
2 left
💡 Hint
Quorum requires multiple Sentinels to agree on master status.
✗ Incorrect
Failover requires at least quorum number of Sentinels to agree the master is down. If only one Sentinel detects it, failover won't start.