🔥 3-day streak
AWS Certified DevOps Engineer - Professional56 / 204
Question 56 of 204

A company runs a fleet of EC2 instances hosting a Java application that writes structured JSON application logs to local files. The DevOps team must centralize these logs in CloudWatch Logs and, without adding any code to the application, generate a custom CloudWatch metric for the number of log entries whose JSON field "level" equals "ERROR", then trigger an alarm when the error count exceeds a threshold over a 5-minute window. Which approach meets these requirements with the LEAST operational overhead?

Reviewed for accuracy · Report an issueNext question