A retailer wants a dashboard integrated into existing CloudWatch dashboards that displays a pie chart of product transaction details. Which approach provides this capability with the least operational effort?
Choose an answer
Tap an option to check your answer.
Correct answer: Have the application write a JSON object to a CloudWatch Logs log group for each transaction. Use CloudWatch Logs Insights to query and produce a pie-chart visualization, then add it to the CloudWatch dashboard..
Why this is the answer
The correct approach leverages CloudWatch Logs Insights, which can directly query log data and create visualizations, including pie charts, that can be added to CloudWatch dashboards. This integrates seamlessly with existing CloudWatch infrastructure and requires minimal operational overhead once the application is configured to log transaction details. Writing JSON to S3 and querying with Athena is a valid data analytics approach, but exporting results and attaching them to a CloudWatch dashboard is not a direct integration and adds manual effort. X-Ray is for tracing and debugging, not primarily for aggregate business transaction reporting and direct pie chart visualization on CloudWatch dashboards. Using Lambda to aggregate into DynamoDB adds unnecessary complexity and operational overhead compared to direct CloudWatch Logs Insights visualization.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed