ExamQuestions.com

Register
Login
AWS Certified Solutions Architect Professional Exam Questions

Amazon

AWS Certified Solutions Architect Professional

276 / 465

Question 276:

You are a software engineer. You are developing an online food order web application. The Node.js backend needs to get the client’s IP to understand users’ locations.The application is deployed in AWS EC2 with a network load balancer to distribute traffic. For the network load balancer, the target is specified using instance id. TLS is also terminated on the Network Load Balancer. You are worried that the backend cannot get the client’s IP due to the network load balancer. Which below description is correct in this situation?

Answer options:

A.Enable proxy protocol using AWS CLI for the network load balancer so that you can get the client IP in the backend service.
B.You just need to get the client IP from the TCP X-Forwarded-For header, which is used to identify the user`s originating IP address connecting to the webserver.
C.Source IP continues to be preserved to your back-end applications when TLS is terminated on the Network Load Balancer in this case.
D.Change listener protocol to TCP or change the load balancer to the application or classic load balancer. Otherwise, the client IP cannot be preserved.