Skip to content
Hard Design: Distributed Task Scheduler (Cron at Scale)

What is the purpose of leader election in a distributed task scheduler?

— Tests your understanding of this concept.

Answer Options

A To choose which worker executes each task
B To ensure only one scheduler instance polls and enqueues tasks, preventing duplicate job execution
C To balance load across worker nodes
D To elect the highest-priority task to run next

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: Distributed Task Scheduler (Cron at Scale) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: Distributed Task Scheduler (Cron at Scale) topic (System Design Cases).

More Design: Distributed Task Scheduler (Cron at Scale) Questions