exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 114 discussion

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.)

  • 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.
  • 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.
  • E. Add S3 Lifecycle rules to invoke the existing Lambda function.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MrTee
Highly Voted 2 years ago
Selected Answer: AC
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.
upvoted 17 times
...
sumanshu
Most Recent 4 months ago
Selected Answer: AC
EventBridge allows you to trigger actions (like Lambda functions) based on specific events (like S3 object uploads).
upvoted 1 times
...
wh1t4k3r
8 months, 1 week ago
Selected Answer: AC
For the options given as answers, A and C is the viable option. But its a stupid solution... you can use s3 events to trigger it directly.
upvoted 2 times
...
65703c1
11 months, 1 week ago
Selected Answer: AC
AC is the correct answer.
upvoted 1 times
...
tqiu654
1 year, 4 months ago
Selected Answer: AE
ChatGPT:AE
upvoted 1 times
Hari4455
1 year, 4 months ago
ChatGPT: AC A. Create an Amazon EventBridge rule. Configure the rule with a pattern to match the S3 object created event. This sets up an EventBridge rule to respond to S3 object creation events. C. Add a trigger to the existing Lambda function. Set the trigger type to EventBridge. Select the Amazon EventBridge rule. This associates the Lambda function with the EventBridge rule, ensuring that the Lambda function is triggered when the specified event occurs.
upvoted 1 times
...
tqiu654
1 year, 4 months ago
Lambda functions are not currently supported as triggers directly from EventBridge rules.Lambda can be used as the target of an EventBridge rule, but is not added to a Lambda function as a trigger.
upvoted 1 times
...
...
Nagasoracle
1 year, 6 months ago
Selected Answer: AC
AC is combination of steps required
upvoted 2 times
...
Jing2023
1 year, 6 months ago
Why not just use the S3 event as the trigger directly.
upvoted 3 times
ValeriiRadchenko
1 year, 5 months ago
I agree that in general this is a stupid question. But maybe company need's to use EB in application 🤷‍♂️
upvoted 1 times
...
...
Naj_64
1 year, 9 months ago
Selected Answer: AC
A C for sure
upvoted 2 times
...
loctong
1 year, 11 months ago
Selected Answer: AB
A, B are correctly
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago