AWS Certified Advanced Networking - Specialty (#55)

A company is deploying a non-web application on an AWS load balancer. All targets are servers located on-premises that can be accessed by using AWS Direct Connect. The company wants to ensure that the source IP addresses of clients connecting to the application are passed all the way to the end server. How can this requirement be achieved?

Use a Network Load Balancer to automatically preserve the source IP address.
Use a Network Load Balancer and enable the
X-Forwarded-For
attribute.
Use a Network Load Balancer and enable the
ProxyProtocol
v2 attribute.
Use an Application Load Balancer to automatically preserve the source IP address in the
X-Forwarded-For
header.