Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
A developer needs to capture client public IP addresses in the logs of an HTTP server running on EC2 instances behind a public ALB. The current logs only show the ALB's IP address. What action should the developer take to resolve this?
A
Modify the HTTP server log configuration to include a Host header.
B
Deploy the Amazon CloudWatch Logs agent on EC2 instances for log file writing.
C
Deploy the AWS X-Ray daemon on EC2 instances for log file writing.
D
Include an X-Forwarded-For header in the HTTP server log configuration.