单选题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 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 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 an application that performs file backups in the background. The background application will host a Windows Communication Foundation (WCF) service and must be active as soon as the machine is running. The background application will not have a user interface. A front-end application will consume the WCF service and will provide the user interface.You need to choose a host environment for the WCF service.Which hosting environment should you choose? ()A. Microsoft Internet Information Services (IIS) 6.0B. Windows Process Activation Services (WAS)C. A Windows Forms applicationD. A Windows Service

A Windows Communication Foundation (WCF) service is hosted in Microsoft Internet Information Services (IIS). You are preparing the configuration file for production deployment. You need to set up tracing so that an administrator can adjust the System.ServiceModel trace level without causing the ASP.NET host application domain to restart. You need to ensure that tracing is turned off by default.What should you do?()A.B.C.D.

You are developing a Windows Communication Foundation (WCF) service. The service configuration file has a element defined. You need to ensure that all security audit information, trace logging, and message logging failures are recorded.Which configuration segment should you add to the element?()A.B.C.D.

You are developing a Windows Communication Foundation (WCF) service.You must record all available information for the first 1,000 messages processed, even if they are malformed.You need to configure the message logging section of the configuration file.Which configuration segment should you use? ()A.B.C.D.

You want to debug the Windows Communication Foundation (WCF) client and server interaction through message and application tracing.You need to correlate traces generated on the client and the server. Which XML segment should you add to the system.diagnostics configuration element in the client and server application configuration file?()A.B.C.D.

A Windows Communication Foundation (WCF) service is required to log all authorization attempts to the Windows Event Log. You need to configure a behavior and apply it to the service to support this requirement. Which behavior should you configure and apply?()A. service Authentication ManagerB. service AuthorizationC. service CredentialsD. service Security Audit

You are using Windows Communication Foundation (WCF) to create a service. You need to implement a custom message-level security binding element. Which binding element should you use?() A. Transport Security Binding ElementB. Https Transport Binding ElementC. Ssl Stream Secunty Binding ElementD. Windows Stream Security Binding Element

A Windows Communication Foundation (WCF) service sends notifications when the service is started and stopped.You need to implement a client that logs these notifications. Which class should you use?() A. AnnouncementServiceB. AnnouncementClientC. DiscoveryClientD. HttpListener

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

Windows Communication Foundation (WCF) service is self-hosted in a console application. The service implements the lTimeService service interface in the TimeService class.You need to configure the service endpoint for HTTP communication. How should you define the service and endpoint tags?()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.

Your Windows Communication Foundation (WCF) client application uses HTTP to communicate with the service.You need to enable message logging and include all security information such as tokens and nonces in logged messages.What should you do?()A.B.C.D.

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 work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  This application will be part of a solution that contains a Windows Communication Foundation (WCF) service project. The Web application will be used to make calls to a service identified in theWCF service project. Management is planning to host the Web application on a separate serverfrom the WCF service. They want the WCF service to perform remotely. You need to add areference to the WCF service.  What should you do?()A、You should add an assembly reference to the project.B、You should add a project reference to the project.C、You should add a Web reference to the project.D、You should add a service reference to the project.

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 Communication Foundation (WCF) service sends notifications when the service is started and stopped.You need to implement a client that logs these notifications. Which class should you use?()A、AnnouncementServiceB、AnnouncementClientC、DiscoveryClientD、HttpListener

A Windows Communication Foundation (WCF) service is required to log all authorization attempts to the Windows Event Log. You need to configure a behavior and apply it to the service to support this requirement. Which behavior should you configure and apply?()A、service Authentication ManagerB、service AuthorizationC、service CredentialsD、service Security Audit

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 using Windows Communication Foundation (WCF) to create a service. You need to implement a custom message-level security binding element. Which binding element should you use?()A、Transport Security Binding ElementB、Https Transport Binding ElementC、Ssl Stream Secunty Binding ElementD、Windows Stream Security Binding Element

单选题You are developing an application that performs file backups in the background. The background application will host a Windows Communication Foundation (WCF) service and must be active as soon as the machine is running. The background application will not have a user interface. A front-end application will consume the WCF service and will provide the user interface.You need to choose a host environment for the WCF service. Which hosting environment should you choose? ()AMicrosoft Internet Information Services (IIS) 6.0BWindows Process Activation Services (WAS)CA Windows Forms applicationDA Windows Service

单选题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?()AChannelFactoryB ServiceHostCClientRuntimeDCommunicationObject

多选题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?()AHost the processes in web roles.BHost the processes in worker roles.CUse NetTcpBinding for the WCF services.DUse WSHttpBinding for the WCF services.

单选题You have an existing Windows Communication Foundation (WCF) service that exposes a service contract over HTTP. You need to expose that contract over HTTP and TCP. What should you do?()AAdd a net.tcp base address to the host.BAdd an endpoint configured with a netTcpBinding.CAdd an endpoint behavior named netTcpBehavior to the existing endpoint.DAdd a binding configuration to the existing endpoint named netTcpBinding.

单选题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 work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  This application will be part of a solution that contains a Windows Communication Foundation (WCF) service project. The Web application will be used to make calls to a service identified in theWCF service project. Management is planning to host the Web application on a separate serverfrom the WCF service. They want the WCF service to perform remotely. You need to add areference to the WCF service.  What should you do?()AYou should add an assembly reference to the project.BYou should add a project reference to the project.CYou should add a Web reference to the project.DYou should add a service reference to the project.

单选题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?()ANetTcpContextBindingBBasicHttpContextBindingCNetTcpBindingDNetMsmqBinding

单选题You are using Windows Communication Foundation (WCF) to create a service. You need to implement a custom message-level security binding element. Which binding element should you use?()ATransport Security Binding ElementBHttps Transport Binding ElementCSsl Stream Secunty Binding ElementDWindows Stream Security Binding Element