An application publishes a CloudWatch metric only when a processing error occurs. An alarm must notify an Amazon SNS topic when errors exceed the threshold, without treating quiet periods as failures; how should missing data be configured?
Show the answer
Correct answerC. Treat missing data as not breaching.
AWhy not this: Missing can produce INSUFFICIENT_DATA rather than representing quiet periods as healthy.
BWhy not this: Breaching treats absent error samples as failures and can trigger unwanted notifications during quiet periods.
CWhy this is right: Not breaching treats absent error samples as healthy periods, matching the metric's publication behavior.
DWhy not this: Ignoring missing data retains the current state, which can leave an earlier error alarm active during quiet periods.
Treating missing data as not breaching fits an error-only metric because absent samples represent no reported errors. Ignoring missing data preserves the current state and can leave the alarm in ALARM after errors stop.