A SysOps Administrator is configuring an Amazon CloudWatch alarm to automatically reboot a critical standalone Amazon EC2 instance if its CPU utilization remains above 90% for three consecutive minutes. The administrator configures the alarm with the following settings:
* Metric: CPUUtilization in the AWS/EC2 namespace
* Period: 1 minute
* Evaluation Periods: 3
* Action: EC2 Reboot action (arn:aws:automate:us-east-1:ec2:reboot) when the alarm is in the ALARM state
During testing, the administrator notices two issues: the alarm remains in the INSUFFICIENT_DATA state even when the instance is under heavy load, and the console displays a validation error stating that the EC2 reboot action cannot be associated with the alarm.
Which of the following actions must the administrator take to resolve these issues and ensure the reboot action executes successfully? (Select TWO.)
- Enable detailed monitoring on the target EC2 instance.Answer
- Modify the alarm configuration to include the InstanceId dimension specifying the target instance.Answer
- CAttach an IAM role with the ec2:RebootInstances permission to the EC2 instance profile.
- DChange the alarm period to 5 minutes and keep standard monitoring enabled on the EC2 instance.
- EIncrease the alarm evaluation period to match the Auto Scaling group cooldown period to prevent multiple reboot actions.