nerdexam
Citrix

1Y0-340 · Question #38

Scenario: A Citrix Engineer needs to configure an Application Firewall policy for an online shopping website called "mycompany.com". As a security measure, the shopping cart application is hosted on…

The correct answer is A. http.req.url.contains("/mycart") & http:req.url.hostname.eq("mycompany.com"). See the full explanation below for the reasoning.

Question

Scenario: A Citrix Engineer needs to configure an Application Firewall policy for an online shopping website called “mycompany.com”. As a security measure, the shopping cart application is hosted on a separate directory “/mycart” on the backend server. The engineer configured a profile to secure the connections to this shopping cart and now needs to ensure that this profile is allied to all incoming connections to the shopping cart. Which policy expression will accomplish this requirement?

Options

  • Ahttp.req.url.contains("/mycart") & http:req.url.hostname.eq("mycompany.com")
  • Bhttp.req.url.contains("/mycart") || http:req.url.hostname.eq("mycompany.com")
  • Chttp.req.header ("url").contains ("/mycart") || http.req.url.contains ("mycompany.com")
  • Dhttp.req.header ("url").contains ("/mycart") && http:req.url.contains ("mycompy.com")

How the community answered

(28 responses)
  • A
    79% (22)
  • B
    4% (1)
  • C
    4% (1)
  • D
    14% (4)

Community Discussion

No community discussion yet for this question.

Full 1Y0-340 Practice