A web application requires knowledge of the client's true IP address for logging and analysis purposes. Instances of the application that can decode X-Forwarded-For HTTP headers reside in pool_a, while pool_b instances assume the source IP is the true address of the client.
Which iRule provides the proper functionality?
Suggested Answer: C
Get Premium 303 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
15 comments · newest first
QU
Quentin
10 months ago
Wait, isn't B just wrong? It should be about requests, not responses.
MA
Marshall
10 months ago
I think A makes more sense, it's about the data.
NA
Nakisha
10 months ago
Definitely C, that's when the request is made.
JI
Jina
11 months ago
A is a solid choice, but I lean towards C too.
RE
Rebecka
11 months ago
I agree with C, but I’m surprised it’s not more obvious!
CH
Chun
11 months ago
I feel like HTTP_RESPONSE wouldn't be correct because we need the IP before the response is sent, right? So, maybe it's C?
TI
Tish
11 months ago
I'm a bit confused; I thought HTTP_DATA might be the right choice since it deals with data, but now I'm not so sure.
JO
Josphine
12 months ago
I think we practiced a similar question, and I recall that HTTP_REQUEST is the right context for checking headers.
ES
Estrella
12 months ago
I remember we discussed how the X-Forwarded-For header is used to identify the client's IP, but I'm not sure which event to use here.
LI
Lizette
12 months ago
This is a good one. I think the answer is option C, since we want to check the header during the HTTP_REQUEST event to determine the appropriate pool.
TA
Tamekia
1 year ago
I'm a bit confused by the different pool options. I'll need to make sure I understand the purpose of each pool and how they relate to the X-Forwarded-For header.
BE
Belen
1 year ago
Okay, I've got this. The question is asking about logging the client's true IP address, so I'll want to check the header during the request, not the response.
ED
Eden
1 year ago
Hmm, the key seems to be determining when to check for the X-Forwarded-For header. I'll need to think through the different HTTP events and which one would be most appropriate.
LE
Leota
1 year ago
This looks like a tricky one. I'll need to carefully read through the question and options to understand the context and determine the right iRule.
LE
Lenna
1 year ago
I think the correct iRule is option A.