You must redesign a system to use event-driven decoupling. The workflow requires exactly-once processing of business actions as much as possible, handles occasional duplicate events from upstream, and requires ordering per customer. Which pattern is best suited?

Answer

Use EventBridge with an SQS FIFO queue per customer key; implement idempotency using a DynamoDB table of processed event IDs and ensure ordering is consumed by message group

Explanation

SQS FIFO provides ordering within a message group, which can map to the customer key. Idempotency in DynamoDB protects against duplicates and enables effectively once semantics despite upstream retries.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

A company needs to run a stateful analytics workload that must tolerate node replacement and maintain low-latency access to in-memory state across deployments. Which combination best satisfies durability and performance under autoscaling and rolling updates?

View question →

You are designing a solution where multiple microservices in different accounts must access a shared ECR repository through a centralized CI/CD system. You must minimize token sharing, prevent accidental cross-repo access, and support rotation without rebuilding every pipeline. What is the best approach?

View question →

You must design a multi-account landing zone where central security services inspect traffic without breaking least privilege. Your environment uses AWS Organizations with multiple member accounts and you must centralize IAM access boundaries and logging. Which approach is most appropriate?

View question →

An application must stream events from multiple producers into a data lake. Consumers need near-real-time processing with guaranteed ordering within a key, and late events must be handled using event-time semantics. Which AWS service combination best meets these requirements?

View question →

A retail analytics platform aggregates clickstream events into hourly partitions. Late-arriving events may show up up to 6 hours after ingestion, and the system must correct aggregates without duplicating counts. You use a stream-to-lake pipeline and a query layer that reads partitioned Parquet files. What strategy is most robust?

View question →

A team must expose an internal HTTP API to the internet with fine-grained authorization enforced at the edge. You need JWT validation, request throttling, and protection against common web exploits. Additionally, you must keep origin private in a VPC. Which architecture is most suitable?

View question →

QuestionBack to list