nerdexam
F5

201 · Question #88

Which statement is true concerning a functional iRule.

The correct answer is B. iRules must contain at least one event declaration. A functional iRule must always declare at least one event, as events dictate when the iRule's logic will be executed during traffic processing.

Section 7: Configure Advanced Features

Question

Which statement is true concerning a functional iRule.

Options

  • AiRules use a proprietary syntax language.
  • BiRules must contain at least one event declaration.
  • CiRules must contain at least one conditional statement.
  • DiRules must contain at least one pool assignment statement.

How the community answered

(34 responses)
  • B
    91% (31)
  • C
    6% (2)
  • D
    3% (1)

Why each option

A functional iRule must always declare at least one event, as events dictate when the iRule's logic will be executed during traffic processing.

AiRules use a proprietary syntax language.

iRules are based on the Tcl (Tool Command Language) scripting language, which is an open-source language, not proprietary.

BiRules must contain at least one event declaration.Correct

Every iRule must contain at least one event declaration (e.g., `when CLIENT_ACCEPTED`, `when HTTP_REQUEST`). These events define the specific points in the traffic flow lifecycle where the iRule's commands and logic are triggered and executed. Without an event, the iRule would never be invoked by the BIG-IP system.

CiRules must contain at least one conditional statement.

An iRule does not necessarily require a conditional statement; it could perform actions unconditionally upon an event trigger, such as logging every connection.

DiRules must contain at least one pool assignment statement.

An iRule can perform many functions, such as logging or header manipulation, without ever explicitly assigning a pool, as the virtual server itself might have a default pool or the iRule's purpose is not pool selection.

Concept tested: F5 BIG-IP iRule structure and events

Source: https://techdocs.f5.com/en-us/bigip-15-0-0/big-ip-reference-quick-start-guide/irules.html

Topics

#iRules#iRule syntax#Event declaration

Community Discussion

No community discussion yet for this question.

Full 201 Practice