SOA-C02 Question 3
Select 3You are a SysOps Administrator managing an application running on multiple EC2 instances behind an Application Load Balancer (ALB). Users have reported intermittent latency issues, and you need to identify the root cause. Which combination of monitoring and logging tools will provide the most effective insight into the issue?
- A
Enable ALB access logs to review incoming traffic patterns and request details.
- B
Use CloudWatch Logs Insights to analyze application logs collected from the EC2 instances.
- C
Create a CloudWatch alarm to monitor the ALB's SurgeQueueLength metric.
- D
Enable VPC Flow Logs to capture detailed network traffic for the EC2 instances.
- E
Use Trusted Advisor to check for potential cost optimization recommendations.
Show answer and explanation
Correct answers: A, B, C
Explanation
To effectively diagnose intermittent latency issues, you need to use tools that provide visibility into traffic patterns, application behavior, and load balancer performance. ALB access logs reveal incoming traffic and request details, CloudWatch Logs Insights helps analyze application logs, and the SurgeQueueLength metric indicates if the load balancer is overloaded. These tools together provide a comprehensive view of the potential causes of latency.
- A. Correct.
Enabling ALB access logs helps you review incoming traffic patterns, request details, and response times, which are critical for identifying latency issues.
- B. Correct.
CloudWatch Logs Insights allows you to query and analyze detailed application logs from the EC2 instances, providing insights into potential application-level issues.
- C. Correct.
Monitoring the ALB's SurgeQueueLength metric helps you detect if the load balancer is overwhelmed by requests, which could contribute to latency.
- D. Incorrect.
While VPC Flow Logs can provide network-level traffic details, they are not the most effective tool for diagnosing application-level latency issues in this scenario.
- E. Incorrect.
AWS Trusted Advisor is used for analyzing cost optimization, security, and other best practices, but it is not directly relevant for monitoring or diagnosing performance issues.