0
0
Redisquery~20 mins

Why Sentinel provides high availability in Redis - Challenge Your Understanding

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Redis Sentinel Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
How Sentinel detects a Redis master failure

Which mechanism does Redis Sentinel use to detect that the master node is down?

ASentinel waits for a manual alert from the administrator to mark the master as down.
BSentinel monitors the master only when clients report errors connecting to it.
CSentinel uses periodic PING messages to the master and waits for responses within a timeout.
DSentinel uses a fixed schedule to restart the master every hour to prevent failures.
Attempts:
2 left
💡 Hint

Think about how a system can automatically check if another system is alive.

🧠 Conceptual
intermediate
2:00remaining
Role of Sentinel in failover process

What is the main role of Redis Sentinel when a master node fails?

ASentinel shuts down all Redis nodes to prevent data loss.
BSentinel automatically promotes a slave to master and updates other nodes to use the new master.
CSentinel sends an email alert but does not change any node roles.
DSentinel deletes the failed master data permanently.
Attempts:
2 left
💡 Hint

Consider what happens to keep the system running when the main server stops working.

query_result
advanced
2:00remaining
Sentinel quorum and failover decision

Given a Sentinel setup with 5 Sentinel nodes monitoring a master, what is the minimum number of Sentinels that must agree the master is down to start failover if the quorum is set to 3?

A3 Sentinels must agree the master is down to start failover.
B1 Sentinel is enough to start failover immediately.
C2 Sentinels must agree the master is down to start failover.
DAll 5 Sentinels must agree before failover starts.
Attempts:
2 left
💡 Hint

Quorum means the minimum number of votes needed to make a decision.

🧠 Conceptual
advanced
2:00remaining
How Sentinel maintains system availability during failover

Which of the following best explains how Redis Sentinel maintains high availability during a master failure?

ASentinel automatically deletes all data on slaves to prevent conflicts.
BSentinel pauses all Redis operations until the failed master is manually fixed.
CSentinel duplicates data from the failed master to a backup server before failover.
DSentinel detects failure, promotes a slave to master, and updates clients to connect to the new master without manual intervention.
Attempts:
2 left
💡 Hint

Think about how the system keeps working smoothly even if one part fails.

🧠 Conceptual
expert
3:00remaining
Sentinel's role in preventing split-brain scenarios

How does Redis Sentinel help prevent split-brain situations during network partitions?

ASentinel uses quorum and majority agreement among Sentinels to decide failover, avoiding multiple masters.
BSentinel disables all slaves during network issues to prevent conflicts.
CSentinel allows multiple masters to run simultaneously to ensure availability.
DSentinel relies on manual administrator intervention to resolve split-brain.
Attempts:
2 left
💡 Hint

Consider how a group decision can avoid conflicting actions.