A user has set the Alarm for the CPU utilization > 50%. Due to an internal process, the current CPU utilization will be 80% for 6 hours. How can the user ensure that the CloudWatch alarm does not perform any action?
A.
The user can disable the alarm using the DisableAlarmActions API.
B.
The user can set CloudWatch in a sleep state using the CLI mon-sleep-alarm-action.
C.
The user can pause the alarm from the console.
D.
The user cannot stop the alarm from performing an action unless the alarm is deleted.
Suggested Answer:A🗳️
The user can disable or enable the CloudWatch alarm using the DisableAlarmActions and Ena-bleAlarmActions APIs or the mon-disable-alarm-actions and mon- enable-alarm-actions commands. Reference: http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/AlarmThatSendsEmail.html
To ensure that the CloudWatch alarm does not perform any action when the CPU utilization exceeds 50% for 6 hours, the user can disable the alarm temporarily. This can be achieved by using the DisableAlarmActions API provided by CloudWatch.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
albert_kuo
10 months, 1 week agoFinger41
1 year, 9 months agoawscertified
2 years, 6 months ago