exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 78 discussion

A company is planning to deploy an application on AWS behind an Elastic Load Balancer. The application uses an HTTP/HTTPS listener and must access the client IP addresses.

Which load-balancing solution meets these requirements?

  • A. Use an Application Load Balancer and the X-Forwarded-For headers.
  • B. Use a Network Load Balancer (NLB). Enable proxy protocol support on the NLB and the target application.
  • C. Use an Application Load Balancer. Register the targets by the instance ID.
  • D. Use a Network Load Balancer and the X-Forwarded-For headers.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MrTee
Highly Voted 1 year, 6 months ago
Selected Answer: A
Use an Application Load Balancer (ALB) and the X-Forwarded-For headers. When an ALB is used, the X-Forwarded-For header can be used to pass the client IP address to the backend servers.
upvoted 10 times
...
sumanshu
Most Recent 4 months ago
Selected Answer: A
Application Load Balancer (ALB) is a Layer 7 (HTTP/HTTPS) load balancer that supports handling HTTP headers, including the X-Forwarded-For header. B/D - Eliminated - Network Load Balancer (NLB) operates at Layer 4 (TCP) and does not inherently handle HTTP headers C) Eliminated - it does not address the requirement of accessing client IP addresses.
upvoted 2 times
...
65703c1
5 months, 1 week ago
Selected Answer: A
A is the correct answer.
upvoted 1 times
...
topicsquestions
6 months, 1 week ago
Selected Answer: A
Option a
upvoted 1 times
...
SerialiDr
9 months, 3 weeks ago
Selected Answer: A
An Application Load Balancer (ALB) operates at the application layer (Layer 7) of the OSI model and supports HTTP/HTTPS traffic. It adds the X-Forwarded-For header to the request as it forwards it to the target, which contains the original client's IP address. This allows the application behind the ALB to access the client IP addresses.
upvoted 4 times
...
HuiHsin
1 year, 4 months ago
is A https://docs.aws.amazon.com/elasticloadbalancing/latest/application/x-forwarded-headers.html https://aws.amazon.com/elasticloadbalancing/features/?nc=sn&loc=2
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago