nerdexam
Citrix

1Y0-341 · Question #216

Scenaho: 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…

The correct answer is C. 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…

Rewrite and Responder

Question

Scenaho: 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?

Options

  • AHTTP.RES.STATUS
  • BHTTP.RES.HEADER("Connection")
  • CHTTP.RES.BODY(1000)
  • DHTTP.RES.CONTENT LENGTH.GT(0)

How the community answered

(21 responses)
  • B
    5% (1)
  • C
    86% (18)
  • D
    10% (2)

Explanation

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.

Topics

#policy expression#HTTP response body#IP blocking#responder policy

Community Discussion

No community discussion yet for this question.

Full 1Y0-341 Practice