Question 1
Topic: Content Domain 1: Data Ingestion and Transformation
Skill tested: Designs resilient S3 ingestion with event notifications, deduplication, and replay-safe processing.
A retailer receives one JSON object per transaction in an Amazon S3 landing bucket. Processing must begin within minutes, and a downstream AWS Glue job must not create duplicate records if an S3 event notification is delivered more than once. The retailer also needs to recover from processing failures without asking the source system to resend files. Which design best meets these requirements?
An SQS queue provides durable buffering and supports retrying messages when processing fails; S3 event notifications can be delivered more than once, so the processing logic must be idempotent. Object keys plus version or transaction identifiers can support duplicate detection. Direct invocation does not provide the same durable buffering or guarantee exactly-once delivery. A crawler discovers schemas and partitions rather than serving as a low-latency transaction trigger. Deleting an object immediately after starting a job risks losing the source needed for retry or replay.