Monitoring, Logging, Analysis, Remediation, and Performance Optimization
An API publishes request and error metrics only in minutes that have traffic; quiet minutes publish nothing. A CloudWatch alarm on a metric math error percentage invokes a remediation Lambda function. Minutes without data must count as healthy, so an alarm raised before a quiet period returns to OK. How should missing data be treated?
Show the answer
Correct answerD. notBreaching
AWhy not this: With missing, the alarm can move to INSUFFICIENT_DATA when every datapoint in the window is missing, rather than to OK.
BWhy not this: With ignore, the alarm keeps its current state, so it would stay in ALARM through a quiet period.
CWhy not this: With breaching, quiet minutes count as failures and could trigger the remediation function.
DWhy this is right: With notBreaching, empty minutes count as good datapoints, so the alarm can return to OK.
Treating missing data as notBreaching counts empty minutes as within the threshold, so the alarm returns to OK during quiet periods. With ignore, the alarm keeps its current state, so an alarm raised before the quiet period would stay in ALARM.