Monitoring and Logging
An application behind an Application Load Balancer returns intermittent HTTP 502 responses. An engineer needs to determine whether the load balancer generated the errors rather than receiving them from targets. Which CloudWatch metric should the engineer examine using the Sum statistic?
Show the answer
Correct answerD. HTTPCode_ELB_5XX_Count
AWhy not this: This counts target-generated 5xx responses, not errors originating from the load balancer.
BWhy not this: This counts failed target connections, not the HTTP 5xx responses generated by the load balancer.
CWhy not this: This reports unhealthy targets, not the origin or count of HTTP error responses.
DWhy this is right: This counts HTTP 5xx responses originating from the load balancer; Sum gives the total for the period.
HTTPCode_ELB_5XX_Count counts 5xx responses originating from the load balancer. HTTPCode_Target_5XX_Count instead counts 5xx responses generated by targets, so it does not establish that the load balancer generated the errors.