0
0
Redisquery~5 mins

Multiple Sentinel instances in Redis - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the purpose of running multiple Redis Sentinel instances?
Multiple Sentinel instances work together to monitor Redis servers, provide high availability, and perform automatic failover if the master server fails.
Click to reveal answer
intermediate
How do multiple Sentinel instances communicate to decide on a failover?
They use a voting system where each Sentinel votes on whether the master is down. When a majority agrees, failover is triggered.
Click to reveal answer
intermediate
Why is it recommended to run an odd number of Sentinel instances?
An odd number helps avoid ties during voting, ensuring clear decisions on failover and reducing split-brain scenarios.
Click to reveal answer
advanced
What happens if a Sentinel instance loses connection to other Sentinels?
It continues monitoring independently but cannot participate in failover decisions until it reconnects with the majority.
Click to reveal answer
beginner
How do multiple Sentinel instances improve Redis system reliability?
They provide redundancy in monitoring and decision-making, so if one Sentinel fails, others still protect the system from downtime.
Click to reveal answer
Why should you run multiple Redis Sentinel instances?
ATo ensure high availability and automatic failover
BTo increase Redis data storage capacity
CTo speed up Redis queries
DTo reduce Redis memory usage
What is the main reason to have an odd number of Sentinel instances?
ATo avoid voting ties during failover decisions
BTo balance network traffic
CTo reduce CPU usage
DTo increase Redis key expiration speed
If a Sentinel instance loses connection to others, what happens?
AIt immediately triggers failover
BIt stops monitoring Redis servers
CIt monitors independently but cannot vote
DIt deletes Redis data
How do Sentinels decide a master is down?
AOne Sentinel decides alone
BClients report the master status
CThe Redis master sends a shutdown signal
DThey use a majority voting system
What is NOT a benefit of running multiple Sentinel instances?
AAutomatic failover
BIncreased Redis data storage
CImproved system reliability
DRedundancy in monitoring
Explain how multiple Redis Sentinel instances work together to provide high availability.
Think about how they decide if the master is down and what happens next.
You got /4 concepts.
    Why is it important to have an odd number of Sentinel instances in a Redis setup?
    Consider how voting works among Sentinels.
    You got /3 concepts.