nerdexam
Amazon

DOP-C02 · Question #200

A company sells products through an ecommerce web application. The company wants a dashboard that shows a pie chart of product transaction details. The company wants to integrate the dashboard with th

The correct answer is A. Update the ecommerce application to emit a JSON object to a CloudWatch log group for each. Explanation Option A is correct because CloudWatch supports custom widgets that can render visualizations (including pie charts) directly within CloudWatch dashboards using data from CloudWatch Logs Insights queries - this allows seamless integration with existing CloudWatch dash

Submitted by kavita_s· Mar 6, 2026Monitoring & Logging

Question

A company sells products through an ecommerce web application. The company wants a dashboard that shows a pie chart of product transaction details. The company wants to integrate the dashboard with the company's existing Amazon CloudWatch dashboards. Which solution will meet these requirements with the MOST operational efficiency?

Options

  • AUpdate the ecommerce application to emit a JSON object to a CloudWatch log group for each
  • BUpdate the ecommerce application to emit a JSON object to an Amazon S3 bucket for each
  • CUpdate the ecommerce application to use AWS X-Ray for instrumentation. Create a new X-Ray
  • DUpdate the ecommerce application to emit a JSON object to a CloudWatch log group for each

How the community answered

(62 responses)
  • A
    74% (46)
  • B
    6% (4)
  • C
    3% (2)
  • D
    16% (10)

Explanation

Explanation

Option A is correct because CloudWatch supports custom widgets that can render visualizations (including pie charts) directly within CloudWatch dashboards using data from CloudWatch Logs Insights queries - this allows seamless integration with existing CloudWatch dashboards with minimal operational overhead and no additional services required.

Option B is wrong because storing data in S3 requires additional services (like Athena or QuickSight) to query and visualize the data, adding unnecessary complexity and breaking the native CloudWatch dashboard integration. Option C is wrong because AWS X-Ray is designed for distributed tracing and performance monitoring, not for business transaction analytics or custom pie chart visualizations in CloudWatch. Option D, while appearing similar to A, likely differs in the visualization or integration method described in the full text - the key differentiator is using CloudWatch custom widgets with Logs Insights for the pie chart directly within CloudWatch.

Memory Tip: When a question asks about integrating dashboards with existing CloudWatch infrastructure with the most operational efficiency, always look for the solution that stays within the CloudWatch ecosystem (Logs → Logs Insights → Custom Widget) rather than solutions that branch out to S3, Athena, or separate visualization tools, which add operational burden.

Topics

#CloudWatch Logs#CloudWatch Metrics#CloudWatch Dashboards#Operational Efficiency

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice