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
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)- A5% (3)
- B2% (1)
- C84% (53)
- D10% (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
Community Discussion
No community discussion yet for this question.