AWS Certified SysOps Administrator – Associate (legacy) — Question 242
A user has setup a CloudWatch alarm on an EC2 action when the CPU utilization is above 75%. The alarm sends a notification to SNS on the alarm state. If the user wants to simulate the alarm action how can he achieve this?
Answer options
- A. Run activities on the CPU such that its utilization reaches above 75%
- B. From the AWS console change the state to 'Alarm'
- C. The user can set the alarm state to 'Alarm' using CLI
- D. Run the SNS action manually
Correct answer: C
Explanation
The correct answer is C because using the CLI allows users to programmatically set the alarm state directly to 'Alarm', effectively simulating the condition. Options A and D do not directly simulate the alarm condition, and option B requires manual interaction rather than a programmatic approach.