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?
✗ Incorrect
The
sentinel monitor command tells Sentinel which master Redis server to watch.What happens if Sentinel detects the master is down?
✗ Incorrect
Sentinel waits for consensus among Sentinels before starting failover to ensure reliability.
Which setting controls how long Sentinel waits before marking a master as down?
✗ Incorrect
sentinel down-after-milliseconds sets the timeout for marking a master as down.What does
sentinel auth-pass configure?✗ Incorrect
It sets the password Sentinel uses to authenticate with monitored Redis servers.
How many Sentinels must agree a master is down to trigger failover?
✗ Incorrect
A majority agreement ensures failover is triggered only when truly necessary.
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.