0
0
Redisquery~5 mins

Sentinel architecture in Redis - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Redis Sentinel?
Redis Sentinel is a system that helps monitor Redis servers, automatically switch to a backup if the main server fails, and notify users about the system status.
Click to reveal answer
beginner
What are the main roles of Redis Sentinel?
Redis Sentinel has three main roles: monitoring Redis servers, notifying clients about changes, and performing automatic failover to a backup server if the main one stops working.
Click to reveal answer
intermediate
How does Redis Sentinel decide to failover to a backup server?
Sentinel checks if the main Redis server is down by asking other Sentinels and clients. If enough agree the server is unreachable, Sentinel promotes a backup to be the new main server.
Click to reveal answer
intermediate
What is a quorum in Redis Sentinel?
A quorum is the minimum number of Sentinel instances that must agree a Redis server is down before starting a failover. This prevents mistakes from a single Sentinel's wrong judgment.
Click to reveal answer
beginner
Why is it recommended to run multiple Sentinel instances?
Running multiple Sentinel instances improves reliability by allowing them to vote on server status, reducing false failovers and ensuring the system can handle Sentinel failures.
Click to reveal answer
What is the primary purpose of Redis Sentinel?
ATo store data persistently
BTo monitor Redis servers and manage automatic failover
CTo provide a user interface for Redis
DTo backup Redis data to cloud storage
What does Redis Sentinel use to decide if a master server is down?
AVotes from multiple Sentinel instances
BA single Sentinel's opinion
CClient application logs
DManual user input
What happens during a failover in Redis Sentinel?
AData is deleted
BClients disconnect permanently
CAll servers restart
DA slave is promoted to master
Why is it important to have multiple Sentinel instances?
ATo avoid false failovers and improve reliability
BTo increase data storage capacity
CTo speed up Redis queries
DTo reduce network traffic
What is the role of notifications in Redis Sentinel?
ATo backup data automatically
BTo send emails to users
CTo inform clients about server status changes
DTo encrypt Redis data
Explain how Redis Sentinel monitors and manages failover in a Redis setup.
Think about how Sentinel watches servers and what it does when the main server stops working.
You got /5 concepts.
    Describe why running multiple Sentinel instances is important and how they work together.
    Consider how decisions are made and why one Sentinel alone is not enough.
    You got /4 concepts.