S3 Event Notifications with Lambda for Metadata Extraction
Short answer
B Configure an object-created event notification within the S3 bucket to invoke an AWS Lambda function to process the files.
Question
Key Takeaways
The question tests the ability to trigger serverless compute from object storage events; the trap is choosing streaming services like Kinesis or AppSync for simple file processing tasks.
This page explains how to design a cost-effective architecture for processing S3 uploads using event notifications and AWS Lambda, which is the correct answer (B) for this scenario.
Common mistake: Option D (SNS) is chosen by some because it can notify listeners, but SNS does not directly invoke Lambda functions as efficiently or cost-effectively as native S3 event notifications for this specific use case.
Expert Analysis
Why the Answer Is Correct
Option B is the correct answer because Amazon S3 supports object-created event notifications that can directly invoke an AWS Lambda function. This creates a fully serverless, event-driven architecture that is highly cost-effective since you only pay for the processing time (less than 5 seconds per file). It handles variable concurrency naturally without managing infrastructure.
Why the Other Options Are Wrong
Option A is incorrect because CloudTrail is for auditing API calls, not processing files, and AppSync is for real-time APIs, not batch file processing. Option C is incorrect because Amazon Kinesis Data Streams is designed for continuous high-throughput data streaming, which is overkill and more expensive for sporadic file uploads. Option D is less optimal because while SNS can trigger Lambda, S3 native event notifications are the direct, standard, and most integrated way to process objects upon upload, reducing complexity and potential latency compared to an extra notification layer.
Community Comment Notes
Community consensus strongly favors Option B. As user hajra313 noted, "option b bcz option c is WS AppSync is not the most appropriate solution for file processing." User alawada pointed out that Kinesis is for streaming, making it unsuitable here. Most users agree that native S3-Lambda integration is the most cost-effective and straightforward approach.
Official Reference
https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventNotifications.html
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always look for the most direct integration between AWS services. When S3 needs to trigger processing, Lambda is the default choice via S3 Event Notifications. Avoid complex streaming services unless the data is continuous and high-volume.
Frequently Asked Questions
Why not use SNS to trigger Lambda?
When would Kinesis be appropriate?
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 8 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 8
-
hajra313 👍 5option b bcz option c is WS AppSync is not the most appropriate solution for file processing. option d While Amazon Simple Notification Service (SNS) can be used to trigger actions based on S3 events, it's not directly involved in processing files .option c :Kinesis is typically used for real-time data streaming and analytics, which may not be needed for simple file processing tasks such as extracting metadata.
-
mestule 👍 5 Answered BB seems to be make most sense to me.
-
alawada 👍 3 Answered BThe problem with C is how it sends the data to S3, if it was Firehose it would make sense. I waka for B.
-
Lin878 👍 3 Answered Bhttps://docs.aws.amazon.com/AmazonS3/latest/userguide/EventNotifications.html
-
MattBJ 👍 3 Answered BB is correct. The most cost effective option.
Show 3 more comments
-
jaswantn 👍 2option B
-
kempes 👍 2Option D
-
Scheldon 👍 2 Answered BAnswerB
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →