Citrix Access Control Administration — Question 24
Scenario: A Citrix Administrator configured the policies below:
POLICY 1:
add rewrite action ACT_1 corrupt_http_header Accept-Encoding
add rewrite policy POL_1 HTTP.REQ.IS_VALID ACT_1
POLICY 2:
add rewrite action ACT_2 insert_http_header Accept-Encoding “\”identity\”” add rewrite policy POL_2 “HTTP.REQ.IS_VALID” ACT_2
Which set of commands can the administrator use to bind the rewrite policies to the LB vserver lb_vsrv so that POL_2 is evaluated after POL_1 is evaluated successfully?
Answer options
- A. bind lb vserver lb_vsrv -policyName POL_1 -priority 110 -gotoPriorityExpression NEXT -type REQUEST bind lb vserver lb_vsrv -policyName POL_2 -priority 100 -gotoPriorityExpression END -type REQUEST
- B. bind lb vserver lb_vsrv -policyName POL_1 -priority 90 -type REQUEST bind lb vserver lb_vsrv -policyName POL_2 -priority 100 -type REQUEST
- C. bind lb vserver lb_vsrv -policyName POL_1 -priority 90 -gotoPriorityExpression END -type REQUEST bind lb vserver lb_vsrv -policyName POL_2 -priority 80 -gotoPriorityExpression NEXT -type REQUEST
- D. bind lb vserver lb_vsrv -policyName POL_1 -priority 90 -gotoPriorityExpression NEXT -type REQUEST bind lb vserver lb_vsrv -policyName POL_2 -priority 100 -gotoPriorityExpression END -type REQUEST
Correct answer: D
Explanation
The correct answer is D because it uses a gotoPriorityExpression of NEXT for POL_1, allowing POL_2 to be evaluated after POL_1 is successful. In contrast, options A and B do not ensure the correct sequence of evaluation, and C incorrectly uses END for POL_2, which prevents it from being processed after POL_1.