单项选择题
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?()
A. Close the WCF endpoint.
B. Throw an exception to cancel the request.
C. Redirect incoming requests to a different worker role instance.
D. Remove the worker role instance from the load balancer rotation.
相关考题
-
单项选择题
You plan to host a Windows Communication Foundation (WCF) service in a Windows Azure worker role. Custom code is necessary to initialize and configure the service endpoint. You need to recommend the point at which the application should initialize the WCF service. What should you recommend?()
A. When Windows Azure initializes the worker role instance.
B. When the worker role instance receives its first request.
C. When the worker role instance instantiates the WCF service.
D. When the worker role instance enters the main execution thread. -
单项选择题
You are designing a Windows Azure application. The application will include services hosted in different geographic locations. The service locations may change. You must minimize the cost of communication between services. You need to recommend an approach for calling the services. What should you recommend?()
A. Use the Service Management API.
B. Use Windows Azure Table storage.
C. Use Windows Azure Queue storage.
D. Use the Windows Azure AppFabric Service Bus. -
单项选择题
You are evaluating a Windows Azure application. The application uses one instance of a web role. The role instance size is set to Medium. The application does not use SQL Azure. You have the following requirements for scaling the application: - Maximize throughput. - Minimize downtime while scaling. - Increase system resources. You need to recommend an approach for scaling the application. What should you recommend?()
A. Set up vertical partitioning.
B. Set up horizontal partitioning.
C. Increase the number of role instances.
D. Change the role instance size to large.
