Amazon
DVA-C02 · Question #93
A company is planning to deploy an application on AWS behind an Elastic Load Balancer. The application uses an HTTP/HTTPS listener and must access the client IP addresses. Which load-balancing solutio
The correct answer is A. Use an Application Load Balancer and the X-Forwarded-For headers.. Use an Application Load Balancer (ALB) and the X-Forwarded-For headers. When an ALB is used, the X-Forwarded-For header can be used to pass the client IP address to the backend
Submitted by rohit_dlh· Mar 5, 2026Deployment
Question
A company is planning to deploy an application on AWS behind an Elastic Load Balancer. The application uses an HTTP/HTTPS listener and must access the client IP addresses. Which load-balancing solution meets these requirements?
Options
- AUse an Application Load Balancer and the X-Forwarded-For headers.
- BUse a Network Load Balancer (NLB). Enable proxy protocol support on the NLB and the target
- CUse an Application Load Balancer. Register the targets by the instance ID.
- DUse a Network Load Balancer and the X-Forwarded-For headers.
How the community answered
(34 responses)- A91% (31)
- C6% (2)
- D3% (1)
Explanation
Use an Application Load Balancer (ALB) and the X-Forwarded-For headers. When an ALB is used, the X-Forwarded-For header can be used to pass the client IP address to the backend
Community Discussion
No community discussion yet for this question.