S3 event notifications automatically send a message when something happens in a bucket — an object created, deleted, or restored — to targets like Lambda, SNS, SQS, or EventBridge.
The tell
Whenever a scenario is “when a file is uploaded to S3, automatically do X,” that’s an S3 event notification triggering Lambda (process it), SQS (queue it), or SNS (fan out). It’s the glue behind event-driven pipelines built on S3.
Choose the right S3 event path
Use S3 event notifications for direct event-driven delivery to supported destinations such as Lambda, SNS, or SQS. Use EventBridge when you need richer event routing, rules across multiple AWS services, or a broader event-driven architecture. Both approaches can respond to object activity, but they differ in routing flexibility and configuration.
Exam traps and reliability checks
- Event types: configure the event types you actually need, such as object creation; not every bucket action is the same event.
- Prefix and suffix filters: narrow notifications to object keys such as
incoming/or.csvwhen appropriate. - At-least-once behavior: design consumers to tolerate duplicate notifications and do not assume events always arrive in the order objects were created.
- Permissions: the destination must allow S3 to invoke or publish to it; a correct notification rule alone does not grant destination permissions.
- Loop risk: if a Lambda writes output to the same bucket that triggers it, use separate buckets or carefully scoped prefixes to avoid recursive invocations.
Test yourself
Whenever a new object lands in an S3 bucket, a Lambda function must run to process it automatically. What connects the upload to the function?
- A CloudWatch alarm
- An S3 event notification to Lambda
- A scheduled cron job
- A NAT gateway
👉 Click to reveal the answer & explanation
Correct answer: B. An S3 event notification fires on object creation and invokes the Lambda function — the standard event-driven trigger. A CloudWatch alarm (A) watches metrics; a cron job (C) polls on a schedule (adds latency); NAT (D) is networking.
Related topics
Amazon S3 · AWS Lambda · Amazon EventBridge
Build your AWS certification readiness
Stop guessing whether you’re ready. Our full-length, exam-realistic practice exams put you through the exact question style you’ll face — with a detailed explanation behind every answer, so you learn why, not just what.
- ✓ 6 full-length practice exams
- ✓ A detailed explanation for every single question
- ✓ Realistic, scenario-based questions — not memory dumps
- ✓ 6 months of access to your selected certification pack
Explore AWS Practice Exam Packs →or choose a free practice exam