SAA-C03 · Question #192
A company is designing a new application that uploads files to an Amazon S3 bucket. The uploaded files are processed to extract metadata. Processing must take less than 5 seconds. The volume and frequ
The correct answer is B. Configure a new object created S3 event notification within the bucket to invoke an AWS Lambda. Using S3 event notifications to trigger AWS Lambda for file processing is a cost-effective and serverless solution. Lambda scales automatically with upload volume, and processing each file takes less than 5 seconds, fitting within Lambda's execution time. Option A:AWS AppSync is
Question
A company is designing a new application that uploads files to an Amazon S3 bucket. The uploaded files are processed to extract metadata. Processing must take less than 5 seconds. The volume and frequency of the uploads vary from a few files each hour to hundreds of concurrent uploads. Which solution will meet these requirements MOST cost-effectively?
Options
- AConfigure AWS CloudTrail trails to log Amazon S3 API calls. Use AWS AppSync to process the
- BConfigure a new object created S3 event notification within the bucket to invoke an AWS Lambda
- CConfigure Amazon Kinesis Data Streams to deliver the files to the S3 bucket. Invoke an AWS
- DDeploy an Amazon EC2 instance. Create a script that lists all files in the S3 bucket and processes
How the community answered
(62 responses)- A10% (6)
- B74% (46)
- C13% (8)
- D3% (2)
Explanation
Using S3 event notifications to trigger AWS Lambda for file processing is a cost-effective and serverless solution. Lambda scales automatically with upload volume, and processing each file takes less than 5 seconds, fitting within Lambda's execution time. Option A:AWS AppSync is designed for GraphQL APIs and is not suitable for file processing. Option C:Kinesis is overkill and more expensive for this use case. Option D:Running an EC2 instance incurs ongoing costs and is less flexible compared to Lambda.
Community Discussion
No community discussion yet for this question.