AWS Certified Developer – Associate (DVA-C02) — Question 211

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

The correct answer is A because it directly addresses the need to log and analyze the orders with a quantity of 0 using CloudWatch Logs Insights, which is suitable for this type of logging analysis. Option B is incorrect as it relies on querying CloudTrail logs, which do not provide order information. Option C is not appropriate since EventBridge is used for event-driven architectures rather than aggregating logs. Option D does not focus on the specific logging of order quantities and is more about alarms rather than data analysis needed for the dashboard.