Monitoring, Logging, Analysis, Remediation, and Performance Optimization

An application publishes request and error counts every minute. Operations must invoke a remediation Lambda function when errors exceed 5% for three consecutive minutes, but only when each minute has at least 100 requests. Which configuration meets these requirements?

Show the answer

Correct answerC. Alarm on a conditional error-rate expression for three periods, with a Lambda action.

AWhy not this: Missing-data treatment does not suppress valid data points from minutes with fewer than 100 requests.

BWhy not this: An error count is not an error percentage and does not enforce the minimum request volume.

CWhy this is right: A conditional metric math expression enforces both the percentage threshold and the per-minute minimum volume.

DWhy not this: The average error-count sample is not the ratio of errors to requests.

CloudWatch metric math can return the error percentage only when the request count reaches 100, and zero otherwise. An alarm requiring three of three breaching periods enforces the duration; ignoring missing data does not exclude low-volume periods that contain data.