An application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances run in an Auto Scaling group that terminates unhealthy instances. The Auto Scaling group is configured to determine the health status of EC2 instances using both EC2 status checks and ALB health checks. The Development team wants to analyze the unhealthy instances before termination.
What should the SysOps Administrator do to accomplish this?
A. Configure the ALB health check to restart instances instead of terminating them.
B. Configure an AWS Lambda function to take a snapshot of all instances before they are terminated.
C. Implement Amazon CloudWatch Events to capture lifecycle events and trigger an AWS Lambda function for remediation.
D. Use an Amazon EC2 Auto Scaling lifecycle hook to pause instance termination after the instance has been removed from service.
What should the SysOps Administrator do to accomplish this?
A. Configure the ALB health check to restart instances instead of terminating them.
B. Configure an AWS Lambda function to take a snapshot of all instances before they are terminated.
C. Implement Amazon CloudWatch Events to capture lifecycle events and trigger an AWS Lambda function for remediation.
D. Use an Amazon EC2 Auto Scaling lifecycle hook to pause instance termination after the instance has been removed from service.