AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 225
What must be added to your web server configuration to view the true requesting IP address?
Answer options
- A. X-Actual-IP
- B. X-Forwarded-Proto
- C. X-Amzn-Trace-ID
- D. X-Forwarded-For
Correct answer: D
Explanation
The X-Forwarded-For header is specifically designed to carry the originating IP address of a client connecting to a web server through an HTTP proxy or load balancer. The other options do not serve this purpose; for instance, X-Actual-IP is not a standard header used for this functionality, while X-Forwarded-Proto and X-Amzn-Trace-ID relate to protocol and tracing, respectively.