exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 53 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 53
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A company is running an application on Amazon EC2 instances in an Auto Scaling group. Recently, an issue occurred that prevented EC2 instances from launching successfully, and it took several hours for the Support team to discover the issue. The Support team wants to be notified by email whenever an EC2 instance does not start successfully.
Which action will accomplish this?

  • A. Add a health check to the Auto Scaling group to invoke an AWS Lambda function whenever an instance status is impaired.
  • B. Configure the Auto Scaling group to send a notification to an Amazon SNS topic whenever a failed instance launch occurs.
  • C. Create an Amazon CloudWatch alarm that invokes an AWS Lambda function when a failed AttachInstances Auto Scaling API call is made.
  • D. Create a status check alarm on Amazon EC2 to send a notification to an Amazon SNS topic whenever a status check fail occurs.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-sns-notifications.html#auto-scaling-sns-notifications

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Smart
Highly Voted 3 years, 4 months ago
B is correct https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html#auto-scaling-sns-notifications
upvoted 22 times
RollingPotato
3 years, 4 months ago
For me also, B seems to be a suitable option. For D we need to manually create CW events, while we can use inbuilt ASG events feature
upvoted 2 times
...
...
jackdryan
Highly Voted 3 years, 3 months ago
I'll go with B
upvoted 5 times
...
d3717d5
Most Recent 1 day, 8 hours ago
Selected Answer: B
So ASG can directly send notification to SNS. I thought we would need Event Bridge or something. B
upvoted 1 times
...
failexamonly
1 year ago
Selected Answer: B
good way to automate notifications upon instance start
upvoted 1 times
...
Bulti
2 years ago
B is the right answer. https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-sns-notifications.html#auto-scaling-sns-notifications
upvoted 1 times
...
saeidp
2 years, 1 month ago
I go with B
upvoted 1 times
...
gmandala
3 years, 3 months ago
B it is
upvoted 2 times
...
ChauPhan
3 years, 3 months ago
B is fine
upvoted 2 times
...
FrankSparrow
3 years, 4 months ago
B is correct. you can send SNS messages from the ASG console
upvoted 1 times
...
nqobza
3 years, 4 months ago
C is the correct answer. EC2 cannot send notifications to SNS topics. We need to use cloudwatch events for this. { "source": [ "aws.autoscaling" ], "detail-type": [ "EC2 Instance Launch Unsuccessful" ] }
upvoted 1 times
nqobza
3 years, 4 months ago
Ignore
upvoted 1 times
...
RightAnswers
3 years ago
EC2 can't but Auto Scaling can. https://docs.aws.amazon.com/autoscaling/ec2/userguide/ASGettingNotifications.html#auto-scaling-sns-notifications
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago