A SysOps Administrator is configuring monitoring for a serverless application where AWS Lambda functions write JSON-formatted log events to an Amazon CloudWatch Logs log group. The administrator creates a metric filter with the pattern { $.level = "ERROR" } to count database connection failures. When errors occur, a custom metric named DatabaseFailures is incremented. The administrator also configures a CloudWatch alarm to alert the operations team if the count of errors is 5 or more within a 5-minute period. During normal operations, no database connection errors occur, and no log events are written to the log group at all, causing the alarm to enter the INSUFFICIENT_DATA state. Which combination of actions will prevent the alarm from entering the INSUFFICIENT_DATA state during periods of zero errors while maintaining accurate alerting behavior?
- AEnable detailed monitoring for the log group to force CloudWatch to evaluate the metric filter at 1-minute intervals, and adjust the alarm threshold to evaluate 1 period instead of 5 periods.
- BConfigure an Amazon EventBridge rule that detects the INSUFFICIENT_DATA state and triggers a Systems Manager Automation document to write dummy log events to the log group.
- CRemove the log group retention limit by setting it to 'Never Expire' to ensure that historic log metrics are permanently available, and increase the alarm's evaluation periods to 24 hours.
- Set the default value of the metric filter's metric transformation to 0, and configure the CloudWatch alarm's missing data treatment to treat missing data as notBreaching.Answer