exam questions

Exam AWS Certified Developer Associate All Questions

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

Exam AWS Certified Developer Associate topic 1 question 223 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 223
Topic #: 1
[All AWS Certified Developer Associate Questions]

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
rcaliandro
1 year, 10 months ago
Selected Answer: A
Elastic Load Balancer can be Application or Network. Since the protocol is HTTP/HTTPS, we are talking about ALB. Then, if we retrieve the IP directly from the request we always receive the load balancer IP. To obtain the client IP address, we have to read "X-Forwarder-For" from the header. So the answer A is the correct one.
upvoted 1 times
...
pancman
2 years, 3 months ago
Selected Answer: A
Application load balancer supports HTTP/HTTPS. Questions states that the solution must access the client IP addresses. ALB passes the client's IP address in the header under "X-Forwarded-For". The answer is A.
upvoted 2 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: A
https://www.examtopics.com/discussions/amazon/view/69344-exam-aws-certified-developer-associate-topic-1-question-376/
upvoted 1 times
...
kapil206001
2 years, 5 months ago
A https://www.examtopics.com/discussions/amazon/view/69344-exam-aws-certified-developer-associate-topic-1-question-376/
upvoted 1 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