advancedKubernetes & Production Ops
A scheduled job runs once locally but five times after scaling to five pods. How do you prevent this duplicate execution?
Tests whether you know a @Scheduled job needs a distributed lock (or ShedLock) to run exactly once across a clustered deployment.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
A scheduled job runs once locally but five times after scaling to five pods. How do you prevent this duplicate execution?