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

Exam 1Y0-241 All Questions

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

Exam 1Y0-241 topic 1 question 73 discussion

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

In an SSL offload deployment, which policy will allow a Citrix Administrator to modify all URLs in the response body from "http://" to "https://"?

  • A. > add rewrite action Act1 replace_all "HTTP.RES.BODY(200000)" "\"http://\"" -pattern "https://"
    > add rewrite policy Pol1 true Act1 NOREWRITE
  • B. > add rewrite action Act1 replace_all "HTTP.RES.BODY(200000)" "\"http:\"" -pattern "\https://\"
    > add rewrite policy Pol1 true Act1 NOREWRITE
  • C. > add rewrite action Act1 replace_all "HTTP.RES.BODY(200000)" "\"https //\"" -pattern "http://"
    > add rewrite policy Pol1 true Act1 NOREWRITE
  • D. > add rewrite action Act1 replace_all "HTTP.RES.BODY(200000)" "\"https:\"" -pattern "http://"
    > add rewrite policy Pol1 true Act1 NOREWRITE
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Steve122
10 months ago
Selected Answer: C
C pattern is what your are looking for in the RES HTTP BODY. add rewrite action Act1 replace_all "HTTP.RES.BODY(200000)" "\"https://\"" -pattern "http://"
upvoted 1 times
...
wideawake
1 year, 11 months ago
Selected Answer: C
sorry above answer.ANSWER is C. -pattern takes a string of what you want to change. B is wrong. https://support.citrix.com/article/CTX123094
upvoted 2 times
...
wideawake
1 year, 11 months ago
Selected Answer: B
https://docs.citrix.com/en-us/citrix-adc/current-release/appexpert/rewrite.html REPLACE_ALL <target> <string_builder_expr1> -(search) <string_builder_expr2>. In the request or response specified by <target>, replaces all occurrences of the string defined by <string_builder_expr1> with the string defined by <string_builder_expr2>. You can use the search facility to find the strings to be replaced.
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 ...