nerdexam
Amazon

DOP-C02 · Question #443

A company's web app publishes JSON logs with transaction status to CloudWatch Logs. The company wants a dashboard showing the number of successful transactions with the least operational overhead. Whi

The correct answer is C. Create a CloudWatch metric filter on the log group with a pattern matching success; create. CloudWatch metric filters can parse logs directly to create metrics without additional Metric filters combined with CloudWatch dashboards provide the simplest and most operationally efficient solution. Options A, B, and D add complexity with additional services (OpenSearch, Lambd

Submitted by skyler.x· Mar 6, 2026Monitoring & Logging

Question

A company's web app publishes JSON logs with transaction status to CloudWatch Logs. The company wants a dashboard showing the number of successful transactions with the least operational overhead. Which solution meets this?

Options

  • ACreate an OpenSearch cluster and subscription filter to send logs; create OpenSearch dashboard
  • BCreate a CloudWatch subscription filter with Lambda to parse logs and publish custom metrics;
  • CCreate a CloudWatch metric filter on the log group with a pattern matching success; create
  • DCreate a Kinesis data stream subscribed to the log group; filter logs by success; send to Lambda;

How the community answered

(63 responses)
  • A
    5% (3)
  • B
    2% (1)
  • C
    84% (53)
  • D
    10% (6)

Explanation

CloudWatch metric filters can parse logs directly to create metrics without additional Metric filters combined with CloudWatch dashboards provide the simplest and most operationally efficient solution. Options A, B, and D add complexity with additional services (OpenSearch, Lambda, Kinesis).

Topics

#CloudWatch Logs#Metric filters#Custom metrics#Dashboarding

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice