Topic 1 Question 259
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?
Enable access logs for the ALB. Store the logs in an Amazon S3 bucket.
Configure the EC2 instances to publish logs to Amazon CloudWatch Logs by using the unified CloudWatch agent.
Modify the Auto Scaling group to use a step scaling policy.
Instrument the application with AWS X-Ray tracing.
ユーザの投票
コメント(8)
- 正解だと思う選択肢: B
B is correct Option A - ALB access logs only has details about requests sent to the load balancer, not application Option C - change autosclaing behavior would NOT address the problem Option D AWS X-Ray is more suitable for tracing requests as they travel through your application, It doesn't store output logs from your application.
👍 2bhanus2023/06/23 B is correct indeed
👍 1shree20232023/06/23- 正解だと思う選択肢: B
The question states that the development team wants to analyze application logs, and these logs disappear after EC2 instances scale in. To solve this, you can configure the EC2 instances to send their logs to Amazon CloudWatch Logs using the unified CloudWatch agent. This allows you to keep the logs for a longer time period and enables the development team to analyze them at any time, even after the instances have been terminated.
👍 1gd12023/06/24
シャッフルモード