AWS Certified Developer Associate (#78)

A Developer must trigger an AWS Lambda function based on the item lifecycle activity in an Amazon DynamoDB table. How can the Developer create the solution?

Enable a DynamoDB stream that publishes an Amazon SNS message. Trigger the Lambda function synchronously from the SNS message.
Enable a DynamoDB stream that publishes an SNS message. Trigger the Lambda function asynchronously from the SNS message.
Enable a DynamoDB stream, and trigger the Lambda function synchronously from the stream.
Enable a DynamoDB stream, and trigger the Lambda function asynchronously from the stream.