Exam 1Y0-341 All QuestionsBrowse all questions from this 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?

    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
thedelphOption: A

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.