An auditor is reviewing the logs from a web application to determine the source of an incident. The web application architecture includes an internet-accessible application load balancer, a number of web servers in a private subnet, application servers, and one database server in a tiered configuration. The application load balancer cannot store the logs. The following are sample log snippets: Which of the following should the auditor recommend to ensure future incidents can be traced back to the sources?

- AEnable the X-Forwarded-For header at the load balancer. (correct answer)
- BInstall a software-based HIDS on the application servers.
- CInstall a certificate signed by a trusted CA.
- DUse stored procedures on the database server.
- EStore the value of the $_SERVER['REMOTE_ADDR'] received by the web servers.
Reveal answer & explanationHide answer
The correct answer is A. Option A: Enable the X-Forwarded-For header at the load balancer.
Explanation
A load balancer distributes requests across healthy backends to improve scale and availability. This option keeps traffic private / properly secured as required.



