0
0
Redisquery~5 mins

Sentinel quorum concept in Redis - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the Sentinel quorum in Redis Sentinel?
The Sentinel quorum is the minimum number of Sentinel instances that must agree a master is down before a failover is triggered.
Click to reveal answer
beginner
Why does Redis Sentinel require a quorum before starting a failover?
To avoid false failovers caused by network glitches or temporary issues, ensuring that enough Sentinels agree the master is really down.
Click to reveal answer
intermediate
How do you configure the quorum in Redis Sentinel?
You set the quorum number in the Sentinel configuration file using the 'sentinel monitor' command, for example: sentinel monitor mymaster 127.0.0.1 6379 2 (where 2 is the quorum).
Click to reveal answer
beginner
What happens if the quorum is not reached in Redis Sentinel?
If the quorum is not reached, Sentinel will not start a failover, and the master will continue to be considered up.
Click to reveal answer
intermediate
How does Sentinel quorum relate to high availability?
Quorum helps ensure that failover decisions are reliable, which is key for maintaining high availability and avoiding split-brain scenarios.
Click to reveal answer
What does the Sentinel quorum represent in Redis Sentinel?
AThe minimum number of Sentinels that must agree the master is down
BThe number of slaves connected to the master
CThe number of clients connected to Redis
DThe maximum number of failovers allowed
If the quorum is set to 3, how many Sentinels must agree the master is down to trigger failover?
A1
B2
C3
D4
What is the risk of setting the Sentinel quorum too low?
AFailover may never happen
BFalse failovers due to temporary network issues
CSlower failover process
DMore memory usage
Where do you configure the Sentinel quorum value?
AIn the Sentinel configuration file
BIn the Redis server config file
CIn the client application
DIn the operating system settings
What happens if the quorum is not reached when a master is suspected down?
ASentinel promotes a slave anyway
BSentinel immediately triggers failover
CSentinel shuts down
DSentinel ignores the master status and continues monitoring
Explain the role of quorum in Redis Sentinel failover process.
Think about how Sentinels decide together before acting.
You got /4 concepts.
    Describe how to set and why to choose a proper quorum value in Redis Sentinel.
    Consider the trade-off between quick failover and avoiding mistakes.
    You got /5 concepts.