AWS Certified SysOps Administrator – Associate (legacy) — Question 476
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?
Answer options
- 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.
Correct answer: A
Explanation
The DisableAlarmActions API allows users to temporarily disable actions for specified CloudWatch alarms without deleting the alarm configuration. There is no native 'pause' feature in the AWS Management Console, nor is there a CLI command named mon-sleep-alarm-action. Deleting the alarm is unnecessary because disabling actions is the standard method to prevent notifications or scaling policies from being triggered during maintenance windows.