301b Exam QuestionsBrowse all questions from this exam

301b Exam - Question 71


Which iRule statement demotes a virtual server from CMP?

Show Answer
Correct Answer: A

Setting a global variable using the statement 'set ::foo 123' demotes a virtual server from CMP. This is because CMP (Clustered MultiProcessing) relies on maintaining a consistent state across all processing cores. Modifying global variables can introduce inconsistencies, which causes the virtual server to be demoted from CMP. Other options involve setting static variables or using commands that do not impact CMP in the same way.

Discussion

1 comment
Sign in to comment
GVKDOption: A
Feb 9, 2024

A - Correct Global Variables: Setting a regular global variable using set ::varname value is one of those operations that automatically demotes a virtual server from CMP. This is because CMP relies on consistent state across cores, and modifying global variables can introduce inconsistencies. Static Global Variables: In contrast, setting a static global variable using set static::varname value doesn't demote the virtual server. Static global variables are shared across all cores without impacting CMP, as their values remain consistent.