A developer wants to insert a record into an Amazon DynamoDB table as soon as a new file is added to an Amazon S3 bucket.
Which set of steps would be necessary to achieve this?
A . Create an event with Amazon EventBridge that will monitor the S3 bucket and then insert the records into DynamoDB.
B . Configure an S3 event to invoke an AWS Lambda function that inserts records into DynamoDB.
C . Create an AWS Lambda function that will poll the S3 bucket and then insert the records into DynamoDB.
D . Create a cron job that will run at a scheduled time and insert the records into DynamoDB.
Answer: B
Explanation:
Amazon S3 is a service that provides highly scalable, durable, and secure object storage. Amazon DynamoDB is a fully managed NoSQL database service that provides fast and consistent performance with seamless scalability. AWS Lambda is a service that lets developers run code without provisioning or managing servers. The developer can configure an S3 event to invoke a Lambda function that inserts records into DynamoDB whenever a new file is added to the S3 bucket. This solution will meet the requirement of inserting a record into DynamoDB as soon as a new file is added to S3.
Reference:
[Amazon Simple Storage Service (S3)]
[Amazon DynamoDB]
[What Is AWS Lambda? – AWS Lambda]
[Using AWS Lambda with Amazon S3 – AWS Lambda]
Latest DVA-C02 Dumps Valid Version with 65 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund