DVA-C02 · Question #129
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 fro
The correct answer is A. Create an Amazon EventBridge rule. Configure the rule with a pattern to match the S3 object C. Add a trigger to the existing Lambda function. Set the trigger type to EventBridge. Select the. Option A is correct because an Amazon EventBridge rule can be created to detect when an object is created in an S3 bucket. The rule should be configured with a pattern to match the S3 object created event. Option C is correct because the existing Lambda function can be updated wi
Question
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? (Choose two.)
Options
- ACreate an Amazon EventBridge rule. Configure the rule with a pattern to match the S3 object
- BSchedule an Amazon EventBridge rule to run a new Lambda function to scan the S3 bucket.
- CAdd a trigger to the existing Lambda function. Set the trigger type to EventBridge. Select the
- DCreate a new Lambda function to scan the S3 bucket for recently added S3 objects.
- EAdd S3 Lifecycle rules to invoke the existing Lambda function.
How the community answered
(31 responses)- A74% (23)
- B6% (2)
- D3% (1)
- E16% (5)
Explanation
Option A is correct because an Amazon EventBridge rule can be created to detect when an object is created in an S3 bucket. The rule should be configured with a pattern to match the S3 object created event. Option C is correct because the existing Lambda function can be updated with an EventBridge trigger. The trigger type should be set to EventBridge, and the Amazon EventBridge rule created in step A should be selected.
Community Discussion
No community discussion yet for this question.