Networking and Content Delivery
Clients receive HTTP 502 responses through an Application Load Balancer. Matching access log entries show elb_status_code=502, target_status_code=502, and actions_executed=forward. What should the operator conclude?
Show the answer
Correct answerA. The target returned the error to the load balancer
AWhy this is right: The target status identifies the target's response, and the forwarding action confirms the request path.
BWhy not this: A fixed-response action would be identified as fixed-response rather than forward.
CWhy not this: A terminating WAF block would prevent forwarding to the target.
DWhy not this: The target status records an HTTP response from the target, contradicting failure before forwarding.
A recorded target_status_code of 502 shows that the target returned HTTP 502, and forward confirms forwarding occurred. A load-balancer-generated 502 without a target response would not have a target HTTP status code.