An organization monitors an application's transaction rate using a custom Amazon CloudWatch metric. During off-peak hours, the application stops sending data to CloudWatch when there are no transactions. A SysOps Administrator needs to configure a CloudWatch alarm so that it remains in its current state during these periods without transitioning to another state. Which configuration option for treating missing data should the administrator select to achieve this?
- Ignore (maintain the current alarm state)Answer
- BEnable detailed monitoring for the custom metric to generate empty data points
- CCreate an Amazon EventBridge rule to automatically publish a default value of zero when the alarm status changes
- DIncrease the Auto Scaling group cooldown period to prevent the alarm from evaluation during off-peak hours
Answer
Configure the CloudWatch alarm to treat missing data as 'ignore' (maintain the current alarm state).
The correct option correctly identifies the 'ignore' setting (maintain the current alarm state) for handling missing data. This option ensures that CloudWatch does not change the alarm state or trigger actions when no new metric data points are received.
Step-by-Step Solution
Key Concept
Treatment of missing data in CloudWatch Alarms