Design a Distributed Job Scheduler with Run Logs and Exactly-Once Execution
Company: Amazon
Role: Software Engineer
Category: System Design
Difficulty: hard
Interview Round: Onsite
Overview: Design a distributed job scheduler that runs one-time and recurring jobs on a pool of workers, stores every run's execution logs for later retrieval, and responds to an interviewer's demand for exactly-once execution. It tests data modeling, leases and retries, log storage, and precise reasoning about delivery guarantees under failure.