Ultimate access to all questions.
A developer is managing a fleet of 50 Amazon EC2 Linux servers integrated with an Amazon EC2 Auto Scaling group and Elastic Load Balancing. Occasionally, servers are terminated due to failed ELB HTTP health checks, preventing timely access to application logs for root cause analysis. What strategy should the developer implement to automate the collection of logs before server termination?