Exam 1Y0-341 All QuestionsBrowse all questions from this exam
Question 34

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?

    Correct Answer: B

    To test if the client's IP address is on the list of authorized external locations, the expression should check if the value returned by the HTTP Callout, hc_authorized_location, is equal to 'Authorized'. The correct expression for this condition is SYS.HTTP_CALLOUT(hc_authorized_location).EQ('Authorized'). This ensures that the policy will only trigger when the value returned is explicitly 'Authorized'.

Discussion
BinomimusOption: B

I agree, B

GuntrrrOption: B

Should be B - see https://docs.citrix.com/en-us/citrix-adc/current-release/appexpert/http-callout/invoking-http-callout.html

thenetscalerguyOption: B

Should be B

vipjasonOption: B

B. The specific response they are looking for is "authorized" so the expression must equal authorized. Pretty cut and dry.