ExamQuestions.com

Register
Login
AWS Certified Security Specialty Exam Questions

Amazon

AWS Certified Security Specialty

179 / 310

Question 179:

You have an EC2 instance that provides a central file-sharing service to your customers. You want a mechanism to recover the instance if it becomes impaired automatically. For example, if there are software issues on the physical host for instance and the system status check fails, you should get a notification and actions should be taken automatically to attempt to recover the instance. Which method is the best one for you to take?

Answer options:

A.Create a CloudWatch alarm to monitor the Amazon EC2 instance. When the instance becomes impaired, trigger an SNS notification and automatically recover the instance.
B.Add the instance to an Auto Scaling group so that the ASG can automatically add a new instance when the system status check fails.
C.Create a CloudWatch Event rule to monitor the EC2 instance state. When the instance is stopped or terminated, trigger an SNS notification and a Lambda function to recover the instance automatically.
D.Configure the instance using an Auto Scaling group. Create a CloudWatch alarm to monitor the EC2 instance status. If the instance fails the status check, inform the Auto Scaling group to launch a new instance to replace the original one.