AWS Certified Developer – Associate — Question 240

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?

Answer options

Correct answer: D

Explanation

The correct answer is D because Amazon EventBridge allows for scheduled events, which is ideal for triggering the Lambda function at a specific time each day without the need for constant running. Option A would trigger the function too frequently and not at the required time, while B would add unnecessary complexity and cost by using AWS Step Functions. Option C is inefficient as it would keep the Lambda function running continuously, incurring additional costs.