
AWS Certified Developer - Associate
Get started today
Ultimate access to all questions.
A developer is tasked with setting up a service for image uploads to an Amazon S3 bucket, which triggers a Lambda function to generate thumbnails and sends email notifications. What is the appropriate configuration to meet these requirements?
A developer is tasked with setting up a service for image uploads to an Amazon S3 bucket, which triggers a Lambda function to generate thumbnails and sends email notifications. What is the appropriate configuration to meet these requirements?
Explanation:
The correct answer is A. This solution allows the developer to utilize Amazon SNS to fan out notifications. When an image is uploaded to the S3 bucket, an event notification is sent to the SNS topic. The Lambda function, which is subscribed to this SNS topic, will create a thumbnail. Additionally, an email subscription to the same SNS topic can be configured to send email notifications. This setup meets all the requirements using minimal components, which is both efficient and straightforward.