Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam DVA-C02 All Questions
Exam DVA-C02 All Questions

View all questions & answers for the DVA-C02 exam

Amazon Web Services AWS Certified Associate DVA-C02 Question # 101 Topic 11 Discussion

DVA-C02 Exam Topic 11 Question 101 Discussion:
Question #: 101
Topic #: 11

A developer is writing an application to analyze the traffic to a fleet of Amazon EC2 instances. The EC2 instances run behind a public Application Load Balancer (ALB). An HTTP server runs on each of the EC2 instances, logging all requests to a log file.

The developer wants to capture the client public IP addresses. The developer analyzes the log files and notices only the IP address of the ALB.

What must the developer do to capture the client public IP addresses in the log file?


A.

Add a Host header to the HTTP server log configuration file.


B.

Install the Amazon CloudWatch Logs agent on each EC2 instance. Configure the agent to write to the log file.


C.

Install the AWS X-Ray daemon on each EC2 instance. Configure the daemon to write to the log file.


D.

Add an X-Forwarded-For header to the HTTP server log configuration file.


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.