101 · Question #220
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. The correct order creates all dependency objects before referencing them, then attaches the completed iRule to the Virtual Server as the final step.
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
(24 responses)- A17% (4)
- B75% (18)
- C4% (1)
- D4% (1)
Why each option
The correct order creates all dependency objects before referencing them, then attaches the completed iRule to the Virtual Server as the final step.
This order creates the iRule before the required pools exist, so the iRule references pool names that have not yet been configured, violating proper dependency order.
Creating the Virtual Server first establishes the object without requiring a pool or iRule to exist yet, which BIG-IP allows. Pools are then created so the iRule can reference them by name, the iRule is created next with valid pool references, and finally the Virtual Server is edited to attach the iRule - ensuring all dependent objects exist before association. The built-in default HTTP profile already supports HTTP_REQUEST events, so no custom profile creation is required.
This order creates the Virtual Server before the iRule but includes no final edit step to attach the iRule to the VS, leaving the Virtual Server without the iRule associated.
This option requires creating a custom HTTP profile, which is unnecessary because the built-in default HTTP profile already supports the HTTP_REQUEST event without customization.
Concept tested: F5 Virtual Server and iRule object creation dependency order
Source: https://techdocs.f5.com/en-us/bigip-16-1-0/big-ip-local-traffic-manager-implementations/creating-a-simple-http-load-balancing-configuration.html
Topics
Community Discussion
No community discussion yet for this question.