101 · Question #247
In the following configuration, a virtual server has the following HTTP class configuration: HTTP Class 2 = No filters
The correct answer is B. Class 2. In F5 BIG-IP HTTP class matching, a class configured with 'No filters' acts as a catch-all and matches any HTTP request not already claimed by a more specific class higher in the evaluation order.
Question
In the following configuration, a virtual server has the following HTTP class configuration:
HTTP Class 2 = No filters
Options
- AClass 1
- BClass 2
- CBoth Class 1 and Class 2
- DThe request will be dropped
How the community answered
(40 responses)- A5% (2)
- B80% (32)
- C13% (5)
- D3% (1)
Why each option
In F5 BIG-IP HTTP class matching, a class configured with 'No filters' acts as a catch-all and matches any HTTP request not already claimed by a more specific class higher in the evaluation order.
Class 1 has specific filter criteria defined, so only requests that satisfy those criteria would match Class 1; unmatched requests continue to the next class.
An HTTP class with 'No filters' has no defined matching criteria, which causes it to match all HTTP requests by default, functioning as a wildcard or default class. When traffic is evaluated against the ordered list of HTTP classes, requests that do not satisfy the specific filter criteria of Class 1 fall through to Class 2. Because Class 2 has no filters, it accepts any remaining request, making it the effective matching class for those requests.
A request can only be matched by one HTTP class at a time; once it matches Class 2, it is not simultaneously matched by Class 1.
The request is not dropped because a class with no filters serves as a default match, ensuring the request is handled rather than discarded.
Concept tested: F5 BIG-IP HTTP class no-filter catch-all matching behavior
Source: https://techdocs.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-concepts-11-2-0/ltm_cls.html
Topics
Community Discussion
No community discussion yet for this question.