0
0
Redisquery~20 mins

Sentinel quorum concept in Redis - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Sentinel Quorum Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding Sentinel Quorum
In Redis Sentinel, what does the quorum value represent?
AThe number of replicas that must be synchronized with the master
BThe minimum number of Sentinels that must agree a master is down before failover starts
CThe maximum number of clients that can connect to the master
DThe total number of Redis nodes in the cluster
Attempts:
2 left
💡 Hint
Think about how Sentinels decide to promote a new master.
query_result
intermediate
1: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?
ASentinel will restart the master node
BFailover will start immediately
CFailover will not start because quorum is not reached
DAll Sentinels will disconnect from the master
Attempts:
2 left
💡 Hint
Quorum means minimum agreement needed.
📝 Syntax
advanced
2:00remaining
Correct Sentinel Configuration for Quorum
Which Redis Sentinel configuration line correctly sets the quorum to 4 for a master named 'mymaster'?
Aquorum sentinel mymaster 4
Bsentinel mymaster quorum 4
Csentinel mymaster 4 quorum
Dsentinel quorum mymaster 4
Attempts:
2 left
💡 Hint
The correct order is sentinel quorum, master name, then value.
optimization
advanced
2: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?
A4
B1
C7
D2
Attempts:
2 left
💡 Hint
Quorum should be a majority but not all Sentinels.
🔧 Debug
expert
2: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?
AOne Sentinel is not reachable, so only 2 Sentinels remain and quorum is not met
BQuorum is set too low, causing failover to be disabled
CThe master is not actually down, so Sentinels do not agree
DSentinel quorum must be equal to the total number of Sentinels
Attempts:
2 left
💡 Hint
Check Sentinel connectivity and quorum requirements.