Question 1
Topic: Monitoring, Logging, Analysis, Remediation, and Performance Optimization
Skill tested: Configures CloudWatch metric alarms using meaningful thresholds and evaluation periods.
A payment service runs on EC2 instances behind an Application Load Balancer. The operations team wants an alarm that identifies sustained application-side failures without paging on a single transient error. The service publishes a custom CloudWatch metric named PaymentErrors, and the team has established that a rate above 20 errors per minute for three consecutive minutes requires intervention. The metric is emitted once per minute. The alarm must use the published metric directly, and the team does not want to add a separate metric-math expression or change application instrumentation. Which configuration best meets the requirement?
A 60-second period evaluates each one-minute datapoint, while three evaluation periods with the requirement that all three breach establishes that the condition persisted for three consecutive minutes. The threshold of more than 20 matches the stated per-minute metric rate. A 180-second period aggregates across three minutes and does not verify that each individual minute exceeded 20. One evaluation period in C can page on a single transient spike. D uses a threshold of 60 against one-minute datapoints, which does not represent the stated limit.