A SysOps Administrator is troubleshooting an issue where an automated remediation workflow fails to run. The application publishes a custom metric named `DatabaseConnections` to CloudWatch at `` intervals. The administrator configured a CloudWatch alarm to trigger a Systems Manager (SSM) Automation runbook to reboot the database instance if `DatabaseConnections` exceeds `` for `` consecutive periods of ``. However, during periods of high load, the alarm remains in the `INSUFFICIENT_DATA` state, and the runbook is never executed.
Which two configuration changes should the SysOps Administrator make to resolve this issue and successfully execute the remediation workflow? (Select TWO.)
- Update the CloudWatch alarm configuration to include the exact dimensions specified by the application when publishing the metric.Answer
- Create an Amazon EventBridge rule that monitors for the CloudWatch alarm state transition to ALARM and targets the Systems Manager Automation runbook.Answer
- CEnable Detailed Monitoring on the EC2 instances to decrease the publishing interval of the custom metric from `` minutes to `` minute.
- DConfigure the CloudWatch alarm's ALARM action to directly target the Systems Manager Automation runbook.
- EDecrease the Auto Scaling group cooldown period to ensure the reboot action is not blocked during metric evaluation.
Answer
To resolve the issue, the SysOps Administrator must update the CloudWatch alarm configuration to include the exact dimensions specified by the application when publishing the metric, and create an Amazon EventBridge rule that monitors for the CloudWatch alarm state transition to ALARM and targets the Systems Manager Automation runbook.
To resolve the `INSUFFICIENT_DATA` state, the CloudWatch alarm must align with the exact dimensions defined by the application when publishing the metric. Additionally, because CloudWatch Alarms cannot directly invoke Systems Manager Automation runbooks, an Amazon EventBridge rule must be created to detect the alarm state transition to `ALARM` and route the execution to the runbook.
Step-by-Step Solution
Key Concept
Integrating CloudWatch Alarms with EventBridge for Automated SSM Remediation and Aligning Custom Metric Dimensions