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 86 discussion

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

An ecommerce application is running behind an Application Load Balancer. A developer observes some unexpected load on the application during non-peak hours. The developer wants to analyze patterns for the client IP addresses that use the application.
Which HTTP header should the developer use for this analysis?

  • A. The X-Forwarded-Proto header
  • B. The X-Forwarded-Host header
  • C. The X-Forwarded-For header
  • D. The X-Forwarded-Port header
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Chhotu_DBA
Highly Voted 2 years, 7 months ago
Selected Answer: C
https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/x-forwarded-headers.html#x-forwarded-for
upvoted 8 times
...
sumanshu
Most Recent 4 months, 1 week ago
Selected Answer: C
A) Eliminated - X-Forwarded-Proto header header indicates the protocol (HTTP or HTTPS) used by the client to connect to the load balancer. It doesn't provide information about client IP addresses. B) Eliminated: X-Forwarded-Host header header indicates the original host requested by the client in the Host D) Eliminated - X-Forwarded-Port header header indicates the original port used by the client to connect to the load balancer
upvoted 1 times
...
deopal
1 year, 3 months ago
Selected Answer: C
for getting client IP, it is x-forwarded-for header!
upvoted 2 times
...
Dipak25
1 year, 4 months ago
Selected Answer: C
The correct answer is C "The X-Forwarded-For header". People are getting confused as option A "The X-Forwarded-Proto" is highlighted and they are trying to explain why it is wrong. I think one bot selects the highlighted answer not any expert from Exam Topics. And most of the time Answer selected by Bot is incorrect. I think ExamTopics should change the way they highlight the correct answer. They should highlight the correct/most voted answer with green box and Most Voted suffix. They can highlight bot anwer with only suffix may be. That way it will be east to understand.
upvoted 1 times
...
RachitNandi1997
1 year, 8 months ago
Selected Answer: C
For IP, it should be X-Forwarded-For.
upvoted 1 times
...
rcaliandro
1 year, 10 months ago
Selected Answer: C
If we get the IP directly from the http request, we can notice that it is always the same and it changes rarely. This because the request comes from the ALB. Instead, we can use the "X-Forwarded-For" header to get the original IP of the client
upvoted 1 times
...
Dr_Chomp
2 years ago
very wrong - this is C. Proto returns the protocol a client used in the request. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto
upvoted 1 times
...
MMaquis
2 years, 2 months ago
Selected Answer: A
Corrent is C
upvoted 1 times
...
ShriniW
2 years, 2 months ago
Why A is highlighted ?, its wrong . X-Forwarded-Proto is for protocol . for IP use always x-forwarded-for hence answer is C
upvoted 1 times
...
mhulk
2 years, 2 months ago
Selected Answer: C
The Answer is C
upvoted 1 times
...
sichilam
2 years, 3 months ago
C it is
upvoted 1 times
...
haazybanj
2 years, 6 months ago
Selected Answer: C
The Correct Answer is C
upvoted 1 times
...
david00
2 years, 7 months ago
Selected Answer: C
C because: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto XFP does not show you the IP address
upvoted 1 times
...
Jabol
2 years, 7 months ago
Selected Answer: C
X-Forwarded-Proto is for protocol not ip
upvoted 1 times
...
szhang2004
2 years, 7 months ago
should be C
upvoted 2 times
...
AWSCloud8
2 years, 7 months ago
The Correct Answer is C.
upvoted 4 times
...
Danbraga
2 years, 7 months ago
Selected Answer: C
CCCCCCC
upvoted 2 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