F5 BIG-IP LTM Specialist: Maintain and Troubleshoot — Question 68

A new web application is hosted at www.example.net, but some clients are still pointing to the legacy web application at www.example.com.
Which iRule will allow clients referencing www.example.com to access the new application?

Answer options

Correct answer: B

Explanation

The correct answer is B because it specifically checks if the HTTP host is 'www.example.com' and redirects to 'http://www.example.net'. Option A is incorrect as it uses a wildcard and does not match the exact host name required. Options C and D misuse the event types, as they should be using HTTP_REQUEST rather than HTTP_DATA or HTTP_RESPONSE for this type of redirection.