Get startedGet started for free

Handling duplicate events

An event-driven application uses Amazon EventBridge to deliver events to a Lambda consumer that writes to a database. Because AWS event services automatically retry failed deliveries, the same event is occasionally delivered more than once, creating duplicate database records.

Which approach BEST prevents these duplicates from corrupting the data?

This exercise is part of the course

Developing applications on AWS

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise