nerdexam
Microsoft

70-583 · Question #70

A Windows Azure application includes a single-threaded worker role that has multiple instances. The worker role hosts a Windows Communication Foundation (WCF) service. Each request to the WCF…

The correct answer is D. Remove the worker role instance from the load balancer rotation. Traffic Manager performs an HTTP (GET) request against the monitoring endpoint every 30 seconds to determine the service's health. The service must respond with a 200 OK HTTP status code within 5 seconds; otherwise, Traffic Manager considers the service unhealthy and removes it…

Deploying and Managing the Application

Question

A Windows Azure application includes a single-threaded worker role that has multiple instances. The worker role hosts a Windows Communication Foundation (WCF) service. Each request to the WCF service takes several seconds to complete. You need to recommend an approach for ensuring that worker role instances do not receive requests while processing. What should you recommend?

Options

  • AClose the WCF endpoint.
  • BThrow an exception to cancel the request.
  • CRedirect incoming requests to a different worker role instance.
  • DRemove the worker role instance from the load balancer rotation.

How the community answered

(30 responses)
  • A
    7% (2)
  • B
    10% (3)
  • C
    3% (1)
  • D
    80% (24)

Explanation

Traffic Manager performs an HTTP (GET) request against the monitoring endpoint every 30 seconds to determine the service's health. The service must respond with a 200 OK HTTP status code within 5 seconds; otherwise, Traffic Manager considers the service unhealthy and removes it from the load balancer rotation.

Topics

#worker role#WCF service#load balancer rotation#instance management

Community Discussion

No community discussion yet for this question.

Full 70-583 Practice