ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 6 - DVA-C02 discussion

Report
Export

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.
Answers
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.
Answers
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.
Answers
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.
Answers
D.
Create a cron job that will run at a scheduled time and insert the records into DynamoDB.
Suggested 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]

asked 16/09/2024
Mahendra Belgaonkar
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first