You deploy. Users report a handful of failed requests and two duplicate emails every time. Why, and what do you change?

Answer it out loud before you open anything. The value of the flags below is in comparing them to what you actually said.

The situation behind the question

A containerised service behind a load balancer, rolling deploy, three replicas. The container receives SIGTERM and the process exits immediately.

What it is really testing

Whether the candidate knows what a rolling deploy actually does to in-flight work, and can sequence a shutdown rather than just naming "graceful shutdown".

Where the mechanism is taught