A developer is writing an application that will process data delivered into an Amazon S3 bucket. The data is delivered approximately 10 times a day, and the developer expects the data will be processed in less than 1 minute, on average.
How can the developer deploy and invoke the application with the lowest cost and lowest latency?
A . Deploy the application as an AWS Lambda function and invoke it with an Amazon CloudWatch alarm triggered by an S3 object upload.
B . Deploy the application as an AWS Lambda function and invoke it with an S3 event notification.
C . Deploy the application as an AWS Lambda function and invoke it with an Amazon CloudWatch scheduled event.
D . Deploy the application onto an Amazon EC2 instance and have it poll the S3 bucket for new objects.
Answer: B
Explanation:
Reference: https://docs.aws.amazon.com/lambda/latest/dg/with-s3.html