201 · Question #276
When configuring a Virtual Server to use an iRule with an HTTP_REQUEST event, which lists required steps in a proper order to create all necessary objects?
The correct answer is B. create the Virtual Server, create required pools, create the iRule, edit the Virtual Server. To configure a Virtual Server with an iRule for HTTP_REQUEST events, one should first create the Virtual Server and its associated pools, then create the iRule, and finally apply the iRule to the Virtual Server.
Question
When configuring a Virtual Server to use an iRule with an HTTP_REQUEST event, which lists required steps in a proper order to create all necessary objects?
Options
- Acreate profiles, create the iRule, create required pools, create the Virtual Server
- Bcreate the Virtual Server, create required pools, create the iRule, edit the Virtual Server
- Ccreate a custom HTTP profile, create required pools, create the Virtual Server, create the iRule
- Dcreate required pools, create a custom HTTP profile, create the iRule, create the Virtual Server
How the community answered
(53 responses)- A9% (5)
- B83% (44)
- C6% (3)
- D2% (1)
Why each option
To configure a Virtual Server with an iRule for HTTP_REQUEST events, one should first create the Virtual Server and its associated pools, then create the iRule, and finally apply the iRule to the Virtual Server.
Creating profiles before iRules or pools is not a universally required initial step for this specific scenario, and the iRule needs to be applied to the Virtual Server after its creation, which is an explicit edit step.
The most logical order involves first creating the primary traffic-handling object, the Virtual Server, along with its associated pools. Then, the iRule can be created, and subsequently applied to the existing Virtual Server by editing its configuration, ensuring all dependencies are met.
Concept tested: F5 BIG-IP iRule and Virtual Server configuration order
Source: https://techdocs.f5.com/en-us/big-ip-aom-16-1-0/big-ip-system-administration/working-with-irules.html
Topics
Community Discussion
No community discussion yet for this question.