A producer sends events to Kinesis Data Streams with an event-time key. Downstream processing writes to S3 partitions by event-time. What additional mechanism is best to achieve exactly-once-like semantics for idempotent analytics?
Answer
Implement idempotent writes using a deterministic primary key and store processed markers (e.g., in DynamoDB) to suppress duplicates
Explanation
At-least-once delivery can create duplicates; idempotent processing keyed by a stable identifier prevents double-counting. Persisting processed markers enables safe suppression across retries and replays.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
In an AWS Glue ETL job reading from S3, you must join two large datasets while avoiding excessive shuffles. Which strategy is most likely to improve performance and cost?
View question →
A Redshift cluster must query historical snapshots of source data stored in S3, with frequent schema changes. Which combination most directly reduces the need to recreate tables and preserves historical correctness?
View question →
Which AWS service configuration most directly enables efficient incremental ingestion of changes from an OLTP database into an S3 data lake while preserving near-real-time updates?
View question →
Consider a multi-tenant lake where different teams write to separate S3 prefixes but share the same Glue Data Catalog. Which security approach most directly enforces least privilege while preventing cross-tenant data access?
View question →
A dataset is stored in S3 as Parquet and queried by Athena. The dataset includes a column that was originally STRING but later changed to INT. What is the best strategy to prevent query failures and keep analytics consistent?
View question →
A data engineering team stores raw event data in S3 and uses Glue catalogs for schema discovery. Which approach best supports late-arriving data and minimizes schema drift problems?
View question →