Challenge - 5 Problems
Sentinel Quorum Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate1:30remaining
Understanding Sentinel Quorum
In Redis Sentinel, what does the quorum value represent?
Attempts:
2 left
💡 Hint
Think about how Sentinels decide to promote a new master.
✗ Incorrect
The quorum is the count of Sentinels that must agree a master is unreachable before failover begins. This prevents false failovers.
❓ query_result
intermediate1:30remaining
Sentinel Quorum Check Result
Given a Redis Sentinel setup with 5 Sentinels and quorum set to 3, what will happen if only 2 Sentinels report the master as down?
Attempts:
2 left
💡 Hint
Quorum means minimum agreement needed.
✗ Incorrect
Failover requires at least quorum number of Sentinels to agree the master is down. With only 2 out of 5, quorum 3 is not met, so no failover.
📝 Syntax
advanced2:00remaining
Correct Sentinel Configuration for Quorum
Which Redis Sentinel configuration line correctly sets the quorum to 4 for a master named 'mymaster'?
Attempts:
2 left
💡 Hint
The correct order is sentinel quorum, master name, then value.
✗ Incorrect
The correct syntax is sentinel quorum <master-name> <number>. Option D follows this format.
❓ optimization
advanced2:00remaining
Optimizing Sentinel Quorum for Reliability
You have 7 Sentinels monitoring a Redis master. To balance between fast failover and avoiding false positives, which quorum value is best?
Attempts:
2 left
💡 Hint
Quorum should be a majority but not all Sentinels.
✗ Incorrect
Setting quorum to 4 (a majority of 7) ensures enough Sentinels agree before failover, reducing false positives but allowing timely failover.
🔧 Debug
expert2:30remaining
Diagnosing Failover Failure Due to Quorum
In a Redis Sentinel cluster with 3 Sentinels and quorum set to 2, failover never triggers even though the master is down. What is the most likely cause?
Attempts:
2 left
💡 Hint
Check Sentinel connectivity and quorum requirements.
✗ Incorrect
If one Sentinel is unreachable, only 2 Sentinels remain active. With quorum 2, both must agree. If one is down or disconnected, quorum cannot be reached, so failover won't trigger.