Spot Interruption Notice
A batch worker runs on Spot Instances and should checkpoint its work before AWS reclaims the capacity. How does it learn about an interruption?
Choose one answer
A two-minute notice in instance metadata and as an EventBridge event.
An email to the account's root address one hour before the instance stops.
An Auto Scaling lifecycle hook that pauses termination for up to 15 minutes.
A SIGTERM sent to PID 1, followed by SIGKILL after a 30-second grace period.