AWS Certified Developer – Associate — Question 307

A company uses Amazon DynamoDB as a data store for its order management system. The company frontend application stores orders in a DynamoDB table. The DynamoDB table is configured to send change events to a DynamoDB stream. The company uses an AWS Lambda function to log and process the incoming orders based on data from the DynamoDB stream.

An operational review reveals that the order quantity of incoming orders is sometimes set to 0. A developer needs to create a dashboard that will show how many unique customers this problem affects each day.

What should the developer do to implement the dashboard?

Answer options

Correct answer: A

Explanation

Option A is correct because the AWS Lambda function is already processing and logging the incoming order data; sending these logs to Amazon CloudWatch Logs allows the developer to use CloudWatch Logs Insights to run custom queries and visualize the daily unique customer count directly on a CloudWatch dashboard. Option B is incorrect because AWS CloudTrail records API calls rather than application-level data payloads. Options C and D are incorrect because neither Amazon EventBridge rules nor CloudWatch alarms possess the native capability to parse application logs to perform complex aggregations such as daily unique customer counts.