Lambda Quiz

0 2,514

An application currently accepts users to upload files to an S3 bucket. You want to ensure that the file name for each uploaded file is stored in a DynamoDB table. How can this be achieved? Choose 2 answers from the options given below. Each answer forms part of the solution.

A. Create an AWS Lambda function to insert the required entry for each uploaded file.

B. Use AWS CloudWatch to probe for any S3 event.

C. Add an event with notification send to Lambda.

D. Add the CloudWatch event to the DynamoDB table streams section.

A. & C.
You can create a Lambda function containing the code to process the file, and add the name of the file to the DynamoDB table.You can then use an Event Notification from the S3 bucket to invoke the Lambda function whenever the file is uploaded.
For more information on Amazon S3 Event Notifications, please visit the following URL:

Leave A Reply

Your email address will not be published.