网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
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.
参考答案
更多 “ 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 are developing a Windows Service. The Windows Service will host a Windows Communication Foundation (WCF) service.The Windows Service class will inherit from ServiceBase.You need to ensure that the WCF service starts when the Windows Service is restarted.What should you do in the Windows Service class?()A.B.C.D.
考题
You are developing a Windows Communication Foundation (WCF) service. The service operation takes a customer number as the only argument and returns information about the customer. The service requires a security token in the header of the message. You need to create a message contract for the service.Which code segment should you use?()A.B.C.D.
考题
You have an existing Windows Communication Foundation (WCF) service. You need to ensure that other services are notified when the service is started.What should you do?()
A.B.C.D.
考题
You are evaluating a Windows Azure application. The application includes the following elements: - A web role that provides the ASP.NET user interface and business logic - A single SQL Azure database that contains all application data Each page must receive data from the business logic layer before returning results to the client. Traffic has increased significantly. The business logic is causing high CPU usage. You need to recommend an approach for scaling the application. What should you recommend?()A、 Move business logic to a worker role.B、 Vertically partition the SQL Azure database.C、 Store business logic results in Windows Azure local storage.D、 Store business logic resultsin Windows Azure Table storage
考题
You are designing a Windows Azure application. The application includes processes that communicate by using Windows Communications Foundation (WCF) services. The WCF services must support streaming. You need to recommend a host for the processes and a WCF binding. Which two actions should you recommend?()A、 Host the processes in web roles.B、 Host the processes in worker roles.C、 Use NetTcpBinding for the WCF services.D、 Use WSHttpBinding for the WCF services.
考题
You are creating a Windows Communication Foundation (WCF) service. You need to ensure that the service is compatible with ASP.NET to make use of the session state. Which binding should you use?()A、NetTcpContextBindingB、BasicHttpContextBindingC、NetTcpBindingD、NetMsmqBinding
考题
You are designing a Windows Azure application. The application contains one web role and three worker roles. You need to recommend an approach for updating only one role without interrupting the other roles. What should you recommend?()A、 Perform a VIP swap.B、 Perform an in-place upgrade.C、 Delete the current deployment and then redeploy the application.D、 Copy the cloud package to blob storage and then restart the service.
考题
You are designing a Windows Azure application. The application includes a web role and a worker role that communicate by using a Windows Azure Queue. The worker role processes each message within 10 seconds of retrieving it from the queue. The worker role must process each message exactly one time. If a process does not complete, the worker role must reprocess the message. You need to recommend an approach for the worker role to manage messages in the queue. What should you recommend?()A、 Process the message and then delete it from the queue.B、 Delete the message from the queue when retrieving the message.C、 Set the visibility timeout of the message to 1 when retrieving the message.D、 Process the message and then set the visibility timeout of themessage to the maximum value.
考题
You are designing a Windows Azure application. The application includes two web roles and three instances of a worker role. The web roles will send requests to the worker role through one or more Windows Azure Queues. You have the following requirements: - Ensure that each request is processed exactly one time. - Minimize the idle time of each worker role instance. - Maximize the reliability of request processing. You need to recommend a queue design for sending requests to the worker role. What should you recommend?()A、 Create a single queue. Send requests on the single queue.B、 Create a queue for each web role. Send requests on all queues at the same time.C、 Create a queue for each workerrole instance. Send requests on each worker queue in a round robin.D、 Create a queue for each combination of web roles and worker role instances. Send requests to all worker role instances based on the sending web role.
考题
You are designing a Windows Azure application that will process images. The maximum size of an image is 10 MB. The application includes a web role that allows users to upload images and a worker role with multiple instances that processes the images. The web role communicates with the worker role by using a Windows Azure Queue. You need to recommend an approach for storing images that minimizes storage transactions. What should you recommend? ()A、 Store images in the queue.B、 Store images in Windows Azure Blob storage. Store references to the images in the queue.C、 Store images in local storage on the web role instance. Store references to the images in the queue.D、 Store images in Windows Azure Drives attached to the worker role instances. Storereferences to the images in the queue.
考题
You are planning to migrate an existing web application to Windows Azure. The application consists of an ASP.NET web application and a set of native Win32 Windows Services that provide data to the application by using named pipes. The Windows Services cannot be modified. You need to recommend a strategy for migrating the application to Windows Azure. What should you recommend?()A、 Define a Windows CommunicationFoundation (WCF) contract for the services.B、 Deploy each Windows Service to a separate worker role. Deploy the ASP.NET application to a web role.C、 Deploy the application and Windows Services in a Windows Azure VM role.D、 Upload service binaries to a web role by using the Windows Azure Service Management API.
考题
You are planning the migration of an existing application to Windows Azure and SQL Azure. The application produces report files at the request of remote systems. Requests for report files will be placed into a single Windows Azure Queue. You must minimize the compute resources and storage transactions required to process the requests. You need to recommend an approach for processing the requests. What should you recommend?()A、 Create a worker role for each report file that constantly polls the queue for requests.B、 Create a workerrole for each report file that checks the queue at scheduled intervals for requests.C、 Create a single worker role that constantly polls the queue for requests and executes the requests on multiple threads.D、 Create a single worker role that checks the queue at scheduled intervals for requests and executes the requests on multiple threads.
考题
You are developing a web service that will run on a single instance of a Windows Azure worker role. When interacting with external clients during the testing phase, the service encounters errors that may be related to the format of the HTTP payload. You need to recommend an approach that allows developers to monitor the service‟s HTTP traffic in real-time. What should you recommend?()A、 Enable Remote Desktop Protocol (RDP) on the worker role.B、 Use the Windows Azure Diagnostics API to download the IIS logs.C、 Add an endpoint to the worker role to accept HTTPS connections on port 443.D、 Change the service to a run in a Windows Azure web role.
考题
You are building a client for a Windows Communication Foundation (WCF) service. You need to create a proxy to consume this service. Which class should you use?()A、ChannelFactoryB、 ServiceHostC、ClientRuntimeD、CommunicationObject
考题
You are designing a Windows Azure application that will use a worker role. The worker role will create temporary files. You need to recommend an approach for creating the temporary files that minimizes storage transactions. What should you recommend?()A、 Create the files on a Windows Azure Drive.B、 Create the files in Windows Azure local storage.C、 Create the files in Windows Azure Storage page blobs.D、 Create the files in Windows Azure Storage block blobs.
考题
Your company hosts web services in the company intranet. The intranet is secured by a firewall. Devices outside the firewall must be able to access the web services. Company policies prohibit changes to firewall rules. You need to recommend an approach for enabling inbound communication. What should you recommend?()A、 Use Windows Server AppFabric.B、 Use the Windows Azure AppFabric Service Bus.C、 Use the Windows Azure AppFabric Access Control Service.D、 Use a Windows Communication Foundation (WCF) service in a Windows Azure role that relays to the internal web service
考题
You are designing a Windows Azure solution. The solution will be used by multiple customers. Each customer has different business logic and user interface requirements. Not all customers use the same version of the .NET runtime. You need to recommend a deployment strategy. What should you recommend?()A、 Deploy in a multitenant configuration.B、 Deploy in a single-tenant configuration.C、 Deploy with multiple web role instances.D、 Deploy with multiple worker role instances.
考题
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. Messages will be placed into a Windows Azure Queue and then processed by a worker role. There is no requirement for adherence to the Windows Azure Service Level Agreement (SLA). You need to recommend an approach for concurrently processing messages while minimizing compute cost. What should you recommend?()A、 A single role instance that processes messages individuallyB、 A single role instance with multithreaded request processingC、 Multiple role instances that process messages individuallyD、 Multiple role instances, each with multithreaded request processing
考题
You are developing a Windows Azure application in which a web role and worker role will communicate by using a Windows Azure Queue. You need to recommend an approach for ensuring that the worker role does not attempt to process any message more than three times. What should you recommend?()A、 Appropriately handle poison messages.B、 Decrease the visibility timeout for messages.C、 Reduce the time-to-live interval for messages in the queue.D、 Increase the number of worker role instances reading messages from the queue.
考题
单选题You are planning the migration of an existing application to Windows Azure and SQL Azure. The application produces report files at the request of remote systems. Requests for report files will be placed into a single Windows Azure Queue. You must minimize the compute resources and storage transactions required to process the requests. You need to recommend an approach for processing the requests. What should you recommend?()A
Create a worker role for each report file that constantly polls the queue for requests.B
Create a workerrole for each report file that checks the queue at scheduled intervals for requests.C
Create a single worker role that constantly polls the queue for requests and executes the requests on multiple threads.D
Create a single worker role that checks the queue at scheduled intervals for requests and executes the requests on multiple threads.
考题
单选题You are designing a Windows Azure application. The application contains one web role and three worker roles. You need to recommend an approach for updating only one role without interrupting the other roles. What should you recommend?()A
Perform a VIP swap.B
Perform an in-place upgrade.C
Delete the current deployment and then redeploy the application.D
Copy the cloud package to blob storage and then restart the service.
考题
单选题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 building a client for a Windows Communication Foundation (WCF) service. You need to create a proxy to consume this service. Which class should you use?()A
ChannelFactoryB
ServiceHostC
ClientRuntimeD
CommunicationObject
考题
单选题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 are designing a Windows Azure application that will use a worker role. The worker role will create temporary files. You need to recommend an approach for creating the temporary files that minimizes storage transactions. What should you recommend?()A
Create the files on a Windows Azure Drive.B
Create the files in Windows Azure local storage.C
Create the files in Windows Azure Storage page blobs.D
Create the files in Windows Azure Storage block blobs.
考题
单选题You are planning to migrate an existing web application to Windows Azure. The application consists of an ASP.NET web application and a set of native Win32 Windows Services that provide data to the application by using named pipes. The Windows Services cannot be modified. You need to recommend a strategy for migrating the application to Windows Azure. What should you recommend?()A
Define a Windows CommunicationFoundation (WCF) contract for the services.B
Deploy each Windows Service to a separate worker role. Deploy the ASP.NET application to a web role.C
Deploy the application and Windows Services in a Windows Azure VM role.D
Upload service binaries to a web role by using the Windows Azure Service Management API.
热门标签
最新试卷