A team runs an event-driven system using EventBridge. They need to guarantee that consumers process events at-least-once, while preventing duplicates from causing incorrect downstream updates. Which design best addresses idempotency?

Answer

Use idempotency keys derived from event IDs and store processed keys in a fast deduplication store (e.g., DynamoDB) per consumer

Explanation

At-least-once delivery requires consumers to tolerate duplicates. Persisting an idempotency record keyed to a stable event identifier enables safe reprocessing without incorrect side effects.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

A multi-Region active-active system uses Route 53 latency-based routing and health checks. During a partial outage in Region A, clients sometimes connect successfully but experience intermittent failures. Which change best reduces this while still allowing regional failover?

View question →

A company wants to migrate a Hadoop-based analytics pipeline to AWS while minimizing schema-on-read surprises. The input datasets are semi-structured JSON and evolve frequently. Which approach best balances flexibility with reliable query behavior?

View question →

An application uses DynamoDB with GSIs and frequent cross-partition queries. A single GSI creation caused hot partitions and sudden throttling, even though provisioned capacity was increased. What is the most likely root cause and mitigation?

View question →

A company requires near-zero RPO for a mission-critical service across two Regions. The architecture uses S3 for logs, an RDS Multi-AZ DB, and an SQS queue. Which combination best meets near-zero RPO while maintaining operational safety during failover?

View question →

An organization uses AWS Transit Gateway (TGW) for hub-and-spoke connectivity. After adding more spokes, some spoke-to-spoke traffic becomes inconsistent: SYN packets reach destinations but return traffic fails or routes unpredictably. What is the most plausible configuration issue?

View question →

A VPC design includes private subnets for application instances and endpoints for accessing AWS services without NAT. Security requires that only specific services be reachable, and that traffic never traverses the internet. Which configuration most directly enforces this?

View question →

QuestionBack to list