🔥 3-day streak
AWS Certified DevOps Engineer - Professional167 / 204
Question 167 of 204

A company runs a fleet of EC2 instances behind an Application Load Balancer. Occasionally an instance fails ALB health checks and is placed in an 'unhealthy' state, but by the time an engineer investigates, an Auto Scaling group has already replaced the instance and the diagnostic data is lost. The DevOps team needs an automated process that, the moment a target enters the 'unhealthy' state, captures the instance's application logs, memory usage, and running processes and stores them in an S3 bucket BEFORE the instance is terminated—without requiring any human interaction. Which solution meets these requirements with the least operational overhead?

Reviewed for accuracy · Report an issueNext question