PrepAway - Latest Free Exam Questions & Answers

how can he achieve this?

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?

PrepAway - Latest Free Exam Questions & Answers

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

Explanation:
Amazon CloudWatch alarms watch a single metric over a time period that the user specifies and
performs one or more actions based on the value of the metric relative to a given threshold over a
number of time periods.The user can test an alarm by setting it to any state using the
SetAlarmState API (mon-set-alarm-state command.. This temporary state change lasts only until
the next alarm comparison occurs.

4 Comments on “how can he achieve this?

  1. blahblah says:

    C

    D – not D b/c you want to see that the action actually triggers based off of the alarm’s state changing otherwise your just testing SNS not the connection b/w the alarms state and the action/response to that.




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *