1Y0-341 Exam QuestionsBrowse all questions from this exam

1Y0-341 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?

Show Answer
Correct Answer: BD

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

4 comments
Sign in to comment
GuntrrrOption: B
Nov 8, 2022

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

BinomimusOption: B
Dec 12, 2022

I agree, B

vipjasonOption: B
Oct 26, 2023

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

thenetscalerguyOption: B
Feb 28, 2024

Should be B