A user has launched an EC2 instance. The user is planning to setup the CloudWatch alarm.
Which of the
below mentioned actions is not supported by the CloudWatch alarm?
A.
Notify the Auto Scaling launch config to scale up
B.
Send an SMS using SNS
C.
Notify the Auto Scaling group to scale down
D.
Stop the EC2 instance
Explanation:
A user can create a CloudWatch alarm that takes various actions when the alarm changes state.
An alarm watches a single metric over the time period that the user has specified, 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 actions could be sending a notification to an Amazon Simple Notification
Service topic (SMS, Email, and HTTP end point.,notifying the Auto Scaling policy or changing the
state of the instance to Stop/Terminate.
B
B , we use sns for this
A, we dont notify launch config
A You can use SNS to send SMS. You wouldn’t notify a launch config, you notify a policy.
Answer is A to pass exam (Pass4Sure)
Explanation:
When you create an alarm, you can configure it to perform one or more automated actions when the metric you chose to monitor exceeds a threshold you define. For example, you can set an alarm that sends you an email, publishes to an SQS queue, stops or terminates an Amazon EC2 instance, or executes an Auto Scaling policy.
Since Amazon CloudWatch alarms are integrated with answer is A.
https://aws.amazon.com/cloudwatch/faqs/
A
It’s A because a AS Launch Configuration can’t scale, it’s the AS Group that scales