Detection

A service publishes one-minute counts of authentication attempts and failures, with traffic varying widely. Analysts require an alert when failures exceed 10% in at least three of five minutes, counting only minutes with at least 100 attempts; which CloudWatch configuration meets these requirements?

Show the answer

Correct answerD. Alarm on failure-rate metric math above 10%, gated by at least 100 attempts, using three of five periods.

AWhy not this: Five breaching periods out of five requires consecutive breaches rather than three within the window.

BWhy not this: A five-minute aggregate does not evaluate the failure percentage and minimum traffic separately for each minute.

CWhy not this: A raw failure count does not normalize failures against changing authentication traffic.

DWhy this is right: The percentage, traffic gate, and three-of-five evaluation jointly implement all the requirements.

Use one-minute Sum values to calculate the failure percentage, gate it on at least 100 attempts, and configure three breaching datapoints out of five. A five-minute aggregate can conceal individual breaching minutes and does not implement the required voting window.