0
0
Redisquery~20 mins

Failover manual process in Redis - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Redis Failover Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Redis manual failover steps

Which of the following sequences correctly describes the manual failover process in Redis Sentinel?

APromote the slave to master, update clients, and then notify Sentinel.
BPromote the slave to master, notify Sentinel, then update clients.
CNotify Sentinel, promote the slave to master, then update clients.
DUpdate clients, notify Sentinel, then promote the slave to master.
Attempts:
2 left
💡 Hint

Think about the order: first change the role, then inform the system, then clients.

query_result
intermediate
1:30remaining
Result of manual failover command in Redis CLI

What is the expected output after running SLAVEOF NO ONE on a Redis slave during manual failover?

Redis
SLAVEOF NO ONE
A+OK
B-ERR unknown command 'SLAVEOF NO ONE'
C+FAILOVER_STARTED
D-ERR wrong number of arguments for 'SLAVEOF' command
Attempts:
2 left
💡 Hint

Consider the standard Redis response for successful commands.

📝 Syntax
advanced
1:30remaining
Identify the correct Redis CLI command for manual failover

Which of the following Redis CLI commands correctly initiates manual failover by promoting a slave to master?

ASLAVEOF NO ONE
BFAILOVER PROMOTE
CMASTER PROMOTE
DSENTINEL FAILOVER
Attempts:
2 left
💡 Hint

Remember the exact Redis command to stop replication and become master.

🔧 Debug
advanced
2:00remaining
Troubleshooting manual failover: why clients still connect to old master?

After manually promoting a slave to master, clients still connect to the old master. What is the most likely cause?

ASentinel automatically reverted the failover to the old master.
BThe slave was not promoted correctly with <code>SLAVEOF NO ONE</code>.
CClients have not updated their configuration to point to the new master.
DThe old master is still replicating data to the new master.
Attempts:
2 left
💡 Hint

Think about what clients need to do after failover.

optimization
expert
3:00remaining
Optimizing manual failover to minimize downtime

Which approach best minimizes downtime during a manual failover in Redis Sentinel?

ARestart all Redis instances to refresh connections before failover.
BDisable Sentinel during failover to prevent automatic interference.
CManually stop the old master, promote the slave, then update clients after failover completes.
DPre-configure clients with multiple master addresses and use Sentinel notifications to switch automatically.
Attempts:
2 left
💡 Hint

Consider how to automate client switching to reduce manual steps.