Delivery guarantees: at-most, at-least, exactly once
Every messaging system promises one of three things: at most once, at least once or exactly once. The first two come down to one choice: does the consumer record its progress before or after doing the work? The third holds only inside limits that interviewers love to probe, because "we turned on exactly-once" is where many candidates stop thinking.
Ticking off a to-do list
Your phone's to-do list says "pay the electricity bill". Tick it before paying, and if the phone dies before you pay, tomorrow the list says done and the bill never gets paid. Pay first and tick after, and if the phone dies in between, tomorrow you see it unticked and pay a second time. The only way to do it once is to make paying and ticking a single step: the banking app marks the bill paid as part of the payment, or the bill carries a reference number the bank won't pay twice.