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

Exam 1Y0-204 All Questions

View all questions & answers for the 1Y0-204 exam

Exam 1Y0-204 topic 1 question 102 discussion

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

A Citrix Administrator needs to match the host name 'www.example.com' in all HTTP requests.
Which expression, when used, meets this requirement?

  • A. HTTP.REQ.HOSTNAME.EQ(ג€www.example.comג€)
  • B. HTTP.REQ.HOSTNAME(ג€example.comג€)
  • C. HTTP.RES.HOSTNAME.CONTAINS(ג€www.example.comג€)
  • D. HTTP.RES.HOSTNAME.EQ(ג€www.example.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
Jogaz0
1 year, 1 month ago
The correct expression to match the host name ‘www.example.com’ in all HTTP requests would be HTTP.REQ.HOSTNAME.EQ("www.example.com"). So, the answer is A. HTTP.REQ.HOSTNAME.EQ(“www.example.com”). This is because: HTTP.REQ.HOSTNAME.EQ("www.example.com") checks if the hostname in the HTTP request is equal to ‘www.example.com’. HTTP.REQ.HOSTNAME("example.com") is not a valid expression. HTTP.RES.HOSTNAME.CONTAINS("www.example.com") and HTTP.RES.HOSTNAME.EQ("www.example.com") check the hostname in the HTTP response, not the request. Please note that it’s important to use the correct syntax and consider whether you’re working with a request or a response.
upvoted 2 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 ...