1Y0-341 Exam QuestionsBrowse all questions from this exam

1Y0-341 Exam - Question 81


Scenario: A Citrix Engineer needs to block requests from a list of IP addresses in a database maintained by the Security team. The Security team has built a web application that will send a response of either “Blocked” or “Allowed,” based on whether the given IP address is on the list.

Which expression should the engineer use to extract the status for policy processing?

Show Answer
Correct Answer: A

The expression HTTP.RES.BODY(1000) will extract the response body content from the security team's web application. This content should contain the status 'Blocked' or 'Allowed', which is essential for the Citrix Engineer to determine policy processing based on the given IP address. The argument (1000) specifies that up to 1000 bytes of the response body will be inspected, ensuring that the status message is captured if it is within this range.

Discussion

1 comment
Sign in to comment
thedelphOption: A
Nov 11, 2023

A. HTTP.RES.BODY(1000) This expression will extract the response body content from the security team's web application, which should contain the status "Blocked" or "Allowed". The argument (1000) specifies that up to 1000 bytes of the response body will be inspected to determine the status for policy processing. If the status message is contained within the first 1000 bytes of the response body, this expression will correctly capture it for use in the policy.