Citrix Endpoint Management Administration — Question 9
A Citrix Engineer has defined an HTTP Callout, hc_authorized_location, to return the value “Authorized” if client’s IP address is on a list of authorized external locations.
Which advanced expression should the engineer use in a policy for testing this condition?
Answer options
- A. SYS.HTTP_CALLOUT(hc_authorized_location).IS_TRUE
- B. SYS.HTTP_CALLOUT(hc_authorized_location).EQ(“Authorized”)
- C. SYS.HTTP_CALLOUT(hc_authorized_location).IS_VALID
- D. SYS.HTTP_CALLOUT(hc_authorized_location).EQUALS_ANY(“Authorized”)
Correct answer: B
Explanation
The correct answer is B because the expression SYS.HTTP_CALLOUT(hc_authorized_location).EQ(“Authorized”) directly checks if the return value of the callout is 'Authorized'. The other options do not accurately validate the output against the expected value; for instance, A checks for a boolean condition, C checks for validity, and D checks against a list, which is not necessary in this scenario.