Exam 1Y0-241 All QuestionsBrowse all questions from this exam
Question 2

Scenario: A Citrix Administrator needs to configure a Responder policy, so that the string `/mytraining` is added to every URL path received.

The administrator should use these commands to accomplish this:

>add responder action Redirect_Act redirect `HTTP.REQ.URL.PATH_AND_QUERY+\`mytraining\`` -responseStatusCode 302

>add responder policy Redirect_Pol___________Redirect_Act

>bind lb vServer lb_vsrv_www -policyName Redirect_Pol -priority 100 -gotoPriorityExpression END -type_______

(Choose the correct option to complete the set of commands.)

    Correct Answer: C

    To configure a Responder policy that adds the string '/mytraining' to every URL path received, the correct completion should focus on requests, not responses. The expression should check if the URL does not already end with '/mytraining' to prevent repeatedly appending the string. Therefore, the command should use the expression !(HTTP.REQ.URL.ENDSWITH('mytraining')) and specify the type as REQUEST.

Discussion
BoloBoloOption: C

RESPONDER policy can server only REQUEST type so options B and D are wrong. Option C is correct as policy expressions is true for any request URL which does not end with "mytraining\" (hint: there is negation in expression).

joseph15Option: D

D. ג€!(HTTP.REQ.URL.ENDSWITH(\ג€mytraining\ג€))ג€ RESPONSE Answer B will infinitely add /mytraining/ onto the end

MOMOption: C

If there is a responder policy, the Citrix ADC examines the request from the client, takes action according to the applicable policies, sends the response to the client, and closes the connection with the client. If there is a rewrite policy, the Citrix ADC examines the request from the client or response from the server, takes action according to the applicable policies, and forwards the traffic to the client or the server. https://docs.netscaler.com/en-us/citrix-adc/current-release/appexpert/responder.html

alanbritzOption: C

The answer is C. When you BIND a RESPONDER policy the type is always REQUEST.

n1ckn4meOption: C

the question is "... url path RECEIVED" - so it is a request, not a response my training should be on the end - so it can not checked with startswith

sbob01Option: D

D is correct