An application currently allows 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 could this be achieved? (SELECT TWO)
Click on the arrows to vote for the correct answer
A. B. C. D.Correct Answers - A and C.
You can create a Lambda function containing the code to process the file and add the file's name 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-
https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.htmlTo achieve this requirement, we need to capture the events that occur when a file is uploaded to the S3 bucket and store the filename in a DynamoDB table. There are different ways to achieve this, but two possible solutions are:
Both solutions will achieve the requirement of storing the filename for each uploaded file in a DynamoDB table. The choice of solution will depend on the specific requirements and constraints of the application.