Which filter expression returns only HTTP responses with status 429?

Prepare for the Wireshark Traffic Analysis Exam. Study with flashcards and multiple choice questions, each question includes hints and explanations. Ace your exam!

Multiple Choice

Which filter expression returns only HTTP responses with status 429?

Explanation:
In HTTP, the status code is part of the response, not the request, so to pick out specific outcomes you filter HTTP responses by their code. The best filter for showing only responses with status 429 is http.response.code == 429. This targets the response messages and matches the “Too Many Requests” status, which is what 429 represents. Other options don’t fit because they either look at the wrong field or target the wrong code: http.response.code == 500 would show only responses with a 500 error; http.request.code is not a standard field for HTTP requests since status codes live in responses; http.response.code == 200 would show only OK responses.

In HTTP, the status code is part of the response, not the request, so to pick out specific outcomes you filter HTTP responses by their code. The best filter for showing only responses with status 429 is http.response.code == 429. This targets the response messages and matches the “Too Many Requests” status, which is what 429 represents.

Other options don’t fit because they either look at the wrong field or target the wrong code: http.response.code == 500 would show only responses with a 500 error; http.request.code is not a standard field for HTTP requests since status codes live in responses; http.response.code == 200 would show only OK responses.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy