ExamQuestions.com

Register
Login
AWS Certified DevOps Engineer Professional Exam Questions

Amazon

AWS Certified DevOps Engineer Professional

496 / 500

Question 496:

Your team uses AWS OpsWorks to deploy resources for a web application. In the OpsWorks service layer settings, you have enabled “Auto Healing” so that the layer’s failed instances can be automatically replaced. During the last month, the OpsWorks instances failed two times and OpsWorks auto healed them by replacing the instances. You want to be notified whenever AWS OpsWorks Stacks auto healing triggers stop and start events on the Amazon EC2 instances. Which method would you choose?

Answer options:

A.In the AWS OpsWorks service layer settings, configure an SNS notification for the auto healing feature.
B.Create a CloudWatch Event rule with the following event pattern:
{
"source": [
"aws.opsworks"
],
"detail-type": [
"OpsWorks Command State Change"
]
}
Trigger the event notifications to an SNS topic.
C.Create a CloudWatch Event rule with the following event pattern:
{
"source": [
"aws.opsworks"
],
"detail-type": [
"OpsWorks Instance State Change"
]
}
Trigger the event notifications to an SNS topic.
D.Create a CloudWatch Event rule with the following event pattern:
{
"source": [
"aws.opsworks"
],
"detail": {
"initiated_by": [
"auto-healing"
]
}
}
Trigger the event notifications to an SNS topic.