Exam 1Y0-341 All QuestionsBrowse all questions from this exam
Question 106

Scenario: A Citrix Engineer created the policies in the attached exhibit.

Click the Exhibit button to view the list of policies.

HTTP Request:

GET /resetpassword.htm HTTP/1.1 -

User-Agent: Mozilla/5.0 (Windows NT 6.1: WOW64; Trident/7.0; AS; rv:11.0) like Gecko

Host: www.citrix.com -

Accept-Language: en-us -

Accept-Encoding: gzip, deflate -

Connection: Keep-Alive -

Which two profiles will be applied to the above HTTP request? (Choose two.)

    Correct Answer: A, B

    Policy_C is designed to match requests where the URL path contains the string 'password'. Since the HTTP request is for '/resetpassword.htm', this condition is met, so Profile_C will be applied. Policy_D has a condition of 'true', which makes it applicable to all requests. As it's a default catch-all condition that always evaluates to true, Profile_D will also be applied. Thus, both Profile_C and Profile_D will be applied to the HTTP request.

Discussion
thedelphOptions: AB

Policy_C checks if the requested URL path contains the string "password". The HTTP request is for the resource "/resetpassword.htm", which does contain the string "password". Therefore, Policy_C would be applied. Policy_D is applied to all requests because its condition is simply "TRUE", which means it is the default policy when no other conditions match. However, since Policy_C already matches and its Goto Expression is "NEXT", Policy_D would also be evaluated and applied next in the order of priority. So, the profiles that would be applied to the above HTTP request are: A. Profile_C B. Profile_D