SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

AWS Solution Architect

» Start this Course
(Practice similar questions for free)
Question:

A company has an application that is deployed on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are part of an Auto Scaling group. The application has unpredictable workloads and frequently scales out and in. The company’s development team wants to analyze application logs to find ways to improve the application's performance. However, the logs are no longer available after instances scale in. Which solution will give the development team the ability to view the application logs after a scale-in event? A. Enable access logs for the ALB. Store the logs in an Amazon S3 bucket. B. Configure the EC2 instances to publish logs to Amazon CloudWatch Logs by using the unified CloudWatch agent. C. Modify the Auto Scaling group to use a step scaling policy. D. Instrument the application with AWS X-Ray tracing.

Author: Jorge Soroce



Answer:

Configure the EC2 instances to publish logs to Amazon CloudWatch Logs by using the unified CloudWatch agent.


0 / 5  (0 ratings)

1 answer(s) in total