Citrix ADC 13 Advanced Topics – Security, Management and Optimization — Question 30
Scenario: A Citrix Administrator configured a load-balancing vServer. The URL for this vServer is vpn.citrix.com. The backend server has the host name configured as server1.citrix.com.
The administrator needs to implement the policy to change the host name from vpn.citrix.com to server1.citrix.com, and vice versa.
Which does the administrator need to configure to meet this requirement?
Answer options
- A. set transform action "host change" -priority 10 -reqUrlFrom "https://vpn.citrix.com/*" -reqUrlInto "https://server1.citrix.com/*" -resUrlFrom "https:// server1.citrix.com/*" -resUrlInto "https://vpn.citrix.com/*"
- B. set transform action "host change" -priority 10 -reqUrlFrom "https://server1.citrix.com/*" -reqUrlInto "https://vpn.citrix.com/*" -resUrlFrom "https:// server1.citrix.com/*" -resUrlInto "https://vpn.citrix.com/*"
- C. set transform action "host change" -priority 10 -reqUrlFrom "https://server1.citrix.com/*" -reqUrlInto "https://vpn.citrix.com/*" -resUrlFrom "https://vpn.citrix.com/ *" -resUrlInto "https://server1.citrix.com/*"
- D. set transform action "host change" -priority 10 -reqUrlFrom "https://vpn.citrix.com/*" -reqUrlInto "https://server1.citrix.com/*" -resUrlFrom "https://vpn.citrix.com/ *" -resUrlInto "https://server1.citrix.com/*"
Correct answer: D
Explanation
The correct answer, D, sets the transformation rules to swap the request and response URLs properly between the two host names. Options A, B, and C do not correctly configure both the request and response URL transformations required for the administrator's needs or contain errors in the transformation commands.