An application needs to use the IP address of the client in its processing. The application has been moved into AWS and has been placed behind an Application Load Balancer (ALB) . However, all the client IP addresses now appear to be the same. The application must maintain the ability to scale horizontally. Based on this scenario, what is the MOST cost-effective solution to this problem?
A) Remove the application from the ALB. Delete the ALB and change Amazon Route 53 to direct traffic to the instance running the application.
B) Remove the application from the ALB. Create a Classic Load Balancer in its place. Direct traffic to the application using the HTTP protocol.
C) Alter the application code to inspect the X-Forwarded-For header. Ensure that the code can work properly if a list of IP addresses is passed in the header. Alter the application code to inspect the X-Forwarded-For header. Ensure that the code can work properly if a list of IP addresses is passed in the header.
D) Alter the application code to inspect a custom header. Alter the client code to pass the IP address in the custom header.
Correct Answer:
Verified
Q179: A Developer must repeatedly and consistently deploy
Q180: A supplier is writing a new RESTful
Q181: An application running on an Amazon Linux
Q182: A company recently migrated its web, application
Q183: A company is developing a new online
Q185: A Developer is creating a mobile application
Q186: A company is using AWS CodePipeline to
Q187: An application displays a status dashboard. The
Q188: An application is running on an EC2
Q189: A company is building an application to
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents