0
0
Redisquery~5 mins

Sentinel configuration in Redis - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Redis Sentinel used for?
Redis Sentinel is used to monitor Redis servers, automatically failover to a replica if the master fails, and provide high availability.
Click to reveal answer
beginner
Which configuration directive defines the master Redis server in Sentinel?
The sentinel monitor directive defines the master Redis server that Sentinel will monitor.
Click to reveal answer
intermediate
What does the sentinel down-after-milliseconds setting control?
It controls how long Sentinel waits before marking a master as down if it does not respond.
Click to reveal answer
intermediate
How does Sentinel decide to perform a failover?
Sentinel performs a failover when it detects the master is down and a majority of Sentinels agree the master is unreachable.
Click to reveal answer
intermediate
What is the purpose of the sentinel auth-pass directive?
It sets the password Sentinel uses to authenticate with the Redis master or replicas if they require authentication.
Click to reveal answer
Which command in Sentinel configuration specifies the master to monitor?
Asentinel failover-timeout
Bsentinel auth-pass
Csentinel down-after-milliseconds
Dsentinel monitor
What happens if Sentinel detects the master is down?
AIt immediately deletes the master data
BIt restarts the master server automatically
CIt waits for a majority of Sentinels to agree and then triggers failover
DIt ignores the failure
Which setting controls how long Sentinel waits before marking a master as down?
Asentinel down-after-milliseconds
Bsentinel failover-timeout
Csentinel parallel-syncs
Dsentinel auth-pass
What does sentinel auth-pass configure?
APassword for Sentinel to authenticate with Redis servers
BPassword for clients connecting to Redis
CPassword for Sentinel web interface
DPassword for Redis replication
How many Sentinels must agree a master is down to trigger failover?
AOne Sentinel
BA majority of Sentinels
CAll Sentinels
DNo agreement needed
Explain the main steps Sentinel takes to detect a master failure and perform failover.
Think about how Sentinel watches the master and what happens when it stops responding.
You got /5 concepts.
    Describe the key configuration directives used in Redis Sentinel and their purpose.
    Focus on directives that control monitoring, failover, and security.
    You got /5 concepts.