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

A company with multiple branch locations has an analytics and reporting application. Each branch office pushes a sales report to a shared Amazon S3 bucket at a predefined time each day. The company has developed an AWS Lambda function that analyzes the reports from all branch offices in a single pass. The Lambda function stores the results in a database.

The company needs to start the analysis once each day at a specific time.

Which solution will meet these requirements MOST cost-effectively?

  • A. Configure an S3 event notification to invoke the Lambda function when a branch office uploads a sales report.
  • B. Create an AWS Step Functions state machine that invokes the Lambda function once each day at the predefined time.
  • C. Configure the Lambda function to run continuously and to begin analysis only at the predefined time each day.
  • D. Create an Amazon EventBridge scheduled rule that invokes the Lambda function once each day at the predefined time.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
examuserss
4 months ago
Selected Answer: D
Correct Answer: D. Create an Amazon EventBridge scheduled rule that invokes the Lambda function once each day at the predefined time. This solution allows you to trigger the Lambda function at the desired time each day without unnecessary compute usage and cost. EventBridge is ideal for time-based scheduling and provides a low-cost, highly efficient way to run tasks on a predefined schedule.
upvoted 1 times
...
65703c1
11 months, 1 week ago
Selected Answer: D
D is the correct answer.
upvoted 2 times
...
trungtd
1 year ago
Selected Answer: D
Best practice for cronjob in Lamda
upvoted 3 times
...
seetpt
1 year ago
Selected Answer: D
D is right
upvoted 2 times
...
DeaconStJohn
1 year, 1 month ago
Selected Answer: D
A - This does not meet the criteria. it will trigger with every report upload which is multiple invocations. the requirement is a single invocation that analyses all reports at a predefined time. these invocations will be firing off all over the place as every report comes in. B - Step functions is over the top for this use case. C - lambda to run continuously... D - This is a single invocation that triggers the lambda function at a predefined time using CRON. Eventbridge was developed for this use case.
upvoted 4 times
...
KarBiswa
1 year, 1 month ago
Selected Answer: A
Least cost involved and simple
upvoted 2 times
albert_kuo
9 months ago
analyzes the reports from all branch offices in a single pass
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