What should a solutions architect do to process the events from Amazon S3 in a scalable way?
Create an SNS subscription that processes the event in Amazon Elastic Container Service (Amazon ECS) before the event runs in Lambda.
Create an SNS subscription that processes the event in Amazon Elastic Kubernetes Service (Amazon EKS) before the event runs in Lambda
Create an SNS subscription that sends the event to Amazon Simple Queue Service (Amazon SQS). Configure the SOS queue to trigger a Lambda function.
Create an SNS subscription that sends the event to AWS Server Migration Service (AWS SMS). Configure the Lambda function to poll from the SMS event.
Explanations:
Using Amazon Elastic Container Service (ECS) to process events before they run in Lambda adds unnecessary complexity and does not leverage the event-driven architecture effectively. Lambda functions are designed to handle events directly and scale automatically.
Similar to option A, processing the events in Amazon Elastic Kubernetes Service (EKS) before invoking Lambda is an unnecessary step that complicates the architecture. It does not provide the scalability and simplicity that Lambda offers for handling events directly from S3.
Creating an SNS subscription that sends the event to Amazon Simple Queue Service (SQS) allows for decoupling the components. The SQS queue can buffer the events and trigger the Lambda function for processing, ensuring scalability and reliability in event handling.
AWS Server Migration Service (AWS SMS) is not designed for processing events from S3 or SNS. Using it in this context is inappropriate and does not fit the purpose of event-driven architecture, which is best achieved with Lambda and SQS in this case.