Challenge - 5 Problems
Sentinel Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
💻 Command Output
intermediate1:30remaining
Sentinel Master Discovery Output
You run the command
SENTINEL get-master-addr-by-name mymaster on a Redis Sentinel instance monitoring a master named mymaster. What is the expected output format?Attempts:
2 left
💡 Hint
Think about what information Sentinel needs to provide to clients about the master.
✗ Incorrect
The SENTINEL get-master-addr-by-name command returns the IP and port of the master as an array of two elements. This helps clients connect to the current master.
🧠 Conceptual
intermediate1:30remaining
Sentinel Quorum Role
What is the role of the quorum setting in Redis Sentinel configuration?
Attempts:
2 left
💡 Hint
Quorum is about agreement among Sentinels.
✗ Incorrect
The quorum setting ensures that a failover only happens if enough Sentinels agree the master is unreachable, preventing false failovers.
❓ Troubleshoot
advanced2:00remaining
Sentinel Failover Not Triggering
You notice that your Redis Sentinel setup is not triggering failover even though the master is down. Which configuration mistake could cause this?
Attempts:
2 left
💡 Hint
Failover depends on enough Sentinels agreeing the master is down.
✗ Incorrect
If quorum is higher than the number of Sentinels running, failover will never trigger because the required agreement can't be reached.
🔀 Workflow
advanced2:30remaining
Sentinel Automatic Failover Steps
Put the following Redis Sentinel failover steps in the correct order.
Attempts:
2 left
💡 Hint
Think about detection, agreement, promotion, then update.
✗ Incorrect
The failover process starts with detection, then quorum agreement, then slave promotion, and finally updating slaves to follow the new master.
✅ Best Practice
expert3:00remaining
Sentinel Deployment Best Practice
Which is the best practice for deploying Redis Sentinel instances to ensure high availability and avoid split-brain scenarios?
Attempts:
2 left
💡 Hint
Think about avoiding single points of failure and ensuring consensus.
✗ Incorrect
Deploying an odd number of Sentinels across different machines and failure domains helps achieve reliable quorum and prevents split-brain.