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 205 discussion

A developer is working on an application that processes operating data from IoT devices. Each IoT device uploads a data file once every hour to an Amazon S3 bucket. The developer wants to immediately process each data file when the data file is uploaded to Amazon S3.

The developer will use an AWS Lambda function to process the data files from Amazon S3. The Lambda function is configured with the S3 bucket information where the files are uploaded. The developer wants to configure the Lambda function to immediately invoke after each data file is uploaded.

Which solution will meet these requirements?

  • A. Add an asynchronous invocation to the Lambda function. Select the S3 bucket as the source.
  • B. Add an Amazon EventBridge event to the Lambda function. Select the S3 bucket as the source.
  • C. Add a trigger to the Lambda function. Select the S3 bucket as the source.
  • D. Add a layer to the Lambda function. Select the S3 bucket as the source.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Digo30sp
Highly Voted 1 year, 7 months ago
Selected Answer: C
The correct answer is (C). Adding a trigger to your Lambda function is the solution that will meet these requirements. A trigger is an event that can invoke a Lambda function. In the case of this issue, the trigger must be an Amazon S3 event that fires when a new file is uploaded to the bucket.
upvoted 6 times
...
Saurabh04
Most Recent 8 months, 3 weeks ago
Selected Answer: B
Option B is quicker than Option C, because S3 bucket trigger does not guarantee immediate invocation. It relies on event notification from S3.
upvoted 1 times
...
BrainFried
9 months, 1 week ago
Selected Answer: B
You cannot add a Trigger directly to Lambda. If you want to choose C, then the answer should state: "Add a trigger to S3, select Lambda as the destination" Since C states "Add trigger to Lambda" (which isn't possible), I will select answer B. See https://docs.aws.amazon.com/lambda/latest/dg/lambda-services.html "The trigger is actually stored and managed by the service that generates the events, not by Lambda."
upvoted 1 times
...
Anandesh
9 months, 2 weeks ago
Selected Answer: C
https://docs.aws.amazon.com/lambda/latest/dg/with-s3-example.html
upvoted 2 times
...
65703c1
11 months, 2 weeks ago
Selected Answer: C
C is the correct answer.
upvoted 1 times
...
1dfed2b
1 year ago
Selected Answer: B
sure that B, give me a link why everyone want C.
upvoted 1 times
tsangckl
10 months, 4 weeks ago
https://docs.aws.amazon.com/lambda/latest/dg/with-s3-example.html
upvoted 1 times
BrainFried
9 months, 1 week ago
From what I've read, you do not add a trigger to a lambda, you add it else-where (in this case, you add the trigger to S3). The answer says "Add a trigger to Lambda" - this isn't possible! Read: https://docs.aws.amazon.com/lambda/latest/dg/lambda-services.html "The trigger is actually stored and managed by the service that generates the events, not by Lambda." The answer should be B then, since EventBridge can monitor S3 bucket and invoke Lambda with the new data.
upvoted 1 times
...
...
...
SerialiDr
1 year, 3 months ago
Selected Answer: C
To meet the requirement of processing data files immediately after they are uploaded to an Amazon S3 bucket, the best solution is to add a trigger to the AWS Lambda function with the S3 bucket as the source. This will configure the Lambda function to be automatically invoked when a new file is uploaded to the specified S3 bucket.
upvoted 3 times
...
Certified101
1 year, 4 months ago
Selected Answer: C
C using S3 Events, no need for EventBridge here.
upvoted 1 times
...
LR2023
1 year, 4 months ago
Selected Answer: B
EventBridge can be employed to collect real-time data streams from various sources like IoT devices, mobile apps, or web applications. Lambda functions can then process this data to perform analytics, generate alerts, or update dashboards.
upvoted 1 times
LR2023
1 year, 4 months ago
You can use Amazon EventBridge to monitor an S3 bucket for new image uploads. When a new image is detected, EventBridge triggers a Lambda function that processes the image, applies filters, and generates thumbnails, all without manual intervention
upvoted 1 times
...
...
dilleman
1 year, 6 months ago
Selected Answer: C
C is correct
upvoted 3 times
...
fordiscussionstwo
1 year, 7 months ago
CCCCCCCCCCCCCC
upvoted 4 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