AWS Certified Solutions Architect – Professional — Question 984

A company is running an image-processing service in the AWS Cloud. Users upload images to an Amazon S3 bucket for processing. When an image is uploaded to the S3 bucket, several microservices that are based on AWS Lambda functions need to perform different processing tasks on the image. Each task's processing must start immediately after an image is uploaded.
Which solution will meet these requirements?

Answer options

Correct answer: D

Explanation

Publishing S3 event notifications to an Amazon SNS topic enables a classic fan-out pattern, allowing multiple subscribed AWS Lambda functions to be triggered immediately and in parallel. Direct S3 event notifications cannot be sent to multiple individual Lambda functions due to overlapping prefix and suffix configuration constraints. Using CloudTrail with EventBridge introduces latency that prevents immediate processing, and SQS queues are unnecessary for this real-time execution requirement.