nerdexam
F5

101 · Question #239

Could an iRule perform persistence based on a cookie?

The correct answer is C. Yes. An iRule could be desiged to persist based on the contents of a cookie. iRules can implement cookie-based persistence using the built-in persist command, allowing custom persistence logic keyed on cookie values.

Section 2: F5 Solutions and Technology

Question

Could an iRule perform persistence based on a cookie?

Options

  • AYes An iRule could be designed to persist based on the contents of a cookie.
  • BNo. iRules cannot affect persistence.
  • CYes. An iRule could be desiged to persist based on the contents of a cookie.
  • DNo. Cookie persistence is only is based on a cookie persistence profile.

How the community answered

(17 responses)
  • C
    94% (16)
  • D
    6% (1)

Why each option

iRules can implement cookie-based persistence using the built-in persist command, allowing custom persistence logic keyed on cookie values.

AYes An iRule could be designed to persist based on the contents of a cookie.

Choice A states the same technical fact as C but omits the period after 'Yes', marking it as a distractor differentiated by formatting rather than by any technical distinction from the correct answer.

BNo. iRules cannot affect persistence.

iRules do have the ability to affect persistence - the persist command is a core iRule command that allows setting, querying, and overriding persistence decisions dynamically at runtime.

CYes. An iRule could be desiged to persist based on the contents of a cookie.Correct

BIG-IP iRules expose the 'persist' command, which allows an iRule to programmatically create a persistence record keyed on any data in the traffic context, including cookie header values extracted with HTTP::cookie. This enables an iRule to read a specific cookie, use its value to direct subsequent requests from the same client to the same pool member, and operate independently of or alongside a static persistence profile.

DNo. Cookie persistence is only is based on a cookie persistence profile.

Cookie persistence is not restricted exclusively to a cookie persistence profile; iRules can implement cookie-based persistence independently, giving administrators control beyond what static profiles allow.

Concept tested: iRule persist command for cookie-based persistence

Source: https://techdocs.f5.com/en-us/bigip-16-1-0/big-ip-local-traffic-management-getting-started-with-irules/irules-concepts.html

Topics

#iRules#persistence#cookie persistence#session management

Community Discussion

No community discussion yet for this question.

Full 101 Practice