Question 1
IntermediateContent Switching · Content Switching
A NetScaler administrator configures a content switching virtual server for www.example.com with two policies: one sends requests whose URL path starts with /images to lb_images, and the other sends requests whose URL path starts with /api to lb_api. No default load balancing virtual server is bound to the content switching virtual server.
A client requests /index.html, which matches neither policy. What happens to this request?
Answer and explanation
Correct answer: D
A content switching virtual server sends each request to the target of the first matching policy, evaluated in priority order. If no policy matches, the request goes to the default load balancing virtual server (bound with bind cs vserver -lbvserver ). NetScaler's content switching troubleshooting guide states that the client receives a 503 - Service Unavailable response when none of the configured policies is evaluated and no default load balancing virtual server is bound. The appliance does not pick a policy target or spread the request across the targets, and it sends an HTTP 302 redirect only when a redirect URL is configured and the content switching virtual server itself is DOWN or disabled.
