Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 1Y0-340 topic 1 question 38 discussion

Actual exam question from Citrix's 1Y0-340
Question #: 38
Topic #: 1
[All 1Y0-340 Questions]

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?

  • A. http.req.url. contains("/mycart") & http:req.url.hostname.eq("mycompany.com")
  • B. http.req.url. contains("/mycart") || http:req.url.hostname.eq("mycompany.com")
  • C. http.req.header ("url").contains ("/mycart") || http.req.url.contains ("mycompany.com")
  • D. http.req.header ("url").contains ("/mycart") && http:req.url.contains ("mycompy.com")
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
pferd
3 years, 9 months ago
Either there is a typo or A wouldn't be allowed as valid syntax
upvoted 2 times
patpatty
3 years, 3 months ago
I believe it's a typo, if we assume it meant "&&" rather than "&" it seems like the best answer
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...