ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 172 - DVA-C02 discussion

Report
Export

A company is creating an application that processes csv files from Amazon S3 A developer has created an S3 bucket The developer has also created an AWS Lambda function to process the csv files from the S3 bucket

Which combination of steps will invoke the Lambda function when a csv file is uploaded to Amazon S3? (Select TWO.)

A.
Create an Amazon EventBridge rule Configure the rule with a pattern to match the S3 object created event
Answers
A.
Create an Amazon EventBridge rule Configure the rule with a pattern to match the S3 object created event
B.
Schedule an Amazon EventBridge rule to run a new Lambda function to scan the S3 bucket.
Answers
B.
Schedule an Amazon EventBridge rule to run a new Lambda function to scan the S3 bucket.
C.
Add a trigger to the existing Lambda function. Set the trigger type to EventBridge Select the Amazon EventBridge rule.
Answers
C.
Add a trigger to the existing Lambda function. Set the trigger type to EventBridge Select the Amazon EventBridge rule.
D.
Create a new Lambda function to scan the S3 bucket for recently added S3 objects
Answers
D.
Create a new Lambda function to scan the S3 bucket for recently added S3 objects
E.
Add S3 Lifecycle rules to invoke the existing Lambda function
Answers
E.
Add S3 Lifecycle rules to invoke the existing Lambda function
Suggested answer: A, E

Explanation:

Amazon EventBridge:A service that reacts to events from various AWS sources, including S3. Rules define which events trigger actions (like invoking Lambda functions).

S3 Object Created Events:EventBridge can detect these, providing seamless integration for automated CSV processing.

S3 Lifecycle Rules:Allow for actions based on object age or prefixes. These can directly trigger Lambda functions for file processing.

Amazon EventBridge Documentation:https://docs.aws.amazon.com/eventbridge/

Working with S3 Event Notifications:https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventNotifications.html

S3 Lifecycle Configuration:https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html

asked 16/09/2024
Sandesh Somaiah
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first