AWS Certified Developer – Associate (DVA-C02) — Question 155

An ecommerce application is running behind an Application Load Balancer. A developer observes some unexpected load on the application during non-peak hours. The developer wants to analyze patterns for the client IP addresses that use the application.

Which HTTP header should the developer use for this analysis?

Answer options

Correct answer: C

Explanation

The correct answer is C, the X-Forwarded-For header, as it contains the original IP address of the client making the request, which is essential for analyzing client patterns. The other headers, while useful for different purposes, do not provide client IP information necessary for this analysis.