DOP-C02 Question 250
Select 3You are a DevOps Engineer managing an e-commerce platform hosted on AWS. Recently, some users reported intermittent slowness and HTTP 5xx errors when interacting with the platform. The application is fronted by an Application Load Balancer (ALB), and the backend services are running on Amazon EC2 instances. Which of the following CloudWatch metrics or logs should you analyze to identify the root cause of the issue?
- A
ALB TargetResponseTime
- B
ALB HTTPCode_Target_5XX_Count
- C
EC2 CPUUtilization
- D
RDS ReadIOPS
- E
ALB HTTPCode_ELB_4XX_Count
Show answer and explanation
Correct answers: A, B, C
Explanation
To troubleshoot intermittent slowness and HTTP 5xx errors, you need to focus on metrics that provide insights into backend performance and server-side errors. ALB TargetResponseTime, ALB HTTPCode_Target_5XX_Count, and EC2 CPUUtilization are directly relevant to identifying potential bottlenecks or issues with the backend. RDS ReadIOPS and ALB HTTPCode_ELB_4XX_Count are not as relevant to the scenario described.
- A. Correct.
ALB TargetResponseTime measures the time taken for the targets (EC2 instances) to respond to requests and can help identify slow responses from the backend.
- B. Correct.
ALB HTTPCode_Target_5XX_Count tracks the 5xx errors generated by the backend targets. This is crucial for diagnosing server-side issues.
- C. Correct.
EC2 CPUUtilization helps identify if the backend EC2 instances are under high load, which could lead to degraded performance or errors.
- D. Incorrect.
RDS ReadIOPS is related to database performance and is less likely to directly correlate with HTTP 5xx errors or slowness unless explicitly tied to database bottlenecks.
- E. Incorrect.
ALB HTTPCode_ELB_4XX_Count tracks client-side errors (e.g., bad requests) and does not help in diagnosing backend performance or server-side errors.