网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
You are modifying an existing Windows Communication Foundation (WCF) service that is defined as follows:[ServiceContract]public interface IMessageProcessor { [OperationContract] void ProcessMessages( );}public class MessageProcessor: IMessageProcessor { public void ProcessMessage( ); SubmitOrder( );}SubmitOrder makes a call to another service. The ProcessMessage method does not perform as expected under a heavy load.You need to enable processing of multiple messages. New messages must only be processed when the ProcessMessage method is not processing requests,or when it is waiting for calls to SubmitOrder to return.Which attribute should you apply to the MessageProcessor class?()
A

CallbackBehavior(ConcurrencyMode=ConcurencyMode.Reentrant)

B

CallbackBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)

C

ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Reentrant)

D

ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)


参考答案

参考解析
解析: 暂无解析
更多 “单选题You are modifying an existing Windows Communication Foundation (WCF) service that is defined as follows:[ServiceContract]public interface IMessageProcessor { [OperationContract] void ProcessMessages( );}public class MessageProcessor: IMessageProcessor { public void ProcessMessage( ); SubmitOrder( );}SubmitOrder makes a call to another service. The ProcessMessage method does not perform as expected under a heavy load.You need to enable processing of multiple messages. New messages must only be processed when the ProcessMessage method is not processing requests,or when it is waiting for calls to SubmitOrder to return.Which attribute should you apply to the MessageProcessor class?()A CallbackBehavior(ConcurrencyMode=ConcurencyMode.Reentrant)B CallbackBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)C ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Reentrant)D ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)” 相关考题
考题 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.

考题 Your company has an existing Windows Communication Foundation (WCF) service that allows business partners to place orders. The service uses netMsmqBinding. You find that processing every order in its own transaction is causing a delay. You need to ensure that the service is configured to process multiple orders in one transaction. What should you do? ()A. Useservice behavior and set the maxConcurrentCalls attribute.B. Useendpoint behavior and set the maxBatchSize attribute.C. Useendpoint behavior and set the maxPendingReceives attribute.D. Useendpoint behavior.

考题 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) Web service. The Web service is not responding to messages larger than 64 KB. You need to ensure that the Web service can accept messages larger than 64 KB without generating errors. What should you do?()A. Increase the value of maxReceivedMessageSize on the endpoint binding.B. Increase the value of maxRequestLength on the httpRuntime element.C. Increase the value of maxBufferSize on the endpoint binding.D. Increase the value of maxBufferPoolSize on the endpoint binding.

考题 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.

考题 A Windows Communication Foundation (WCF) solution exposes the following contract over an HTTP connection.[ServiceContract]public interface IDataService{ [OperationContract] string GetData();}Existing clients are making blocking calls to GetData. Calls to GetData take five seconds to complete.You need to allow new clients to issue non-blocking calls to get the data, without breaking any existing clients. What should you do?()A.B.C.Generate a proxy class with asynchronous methods and use it for the new clientsD. Add a new endpoint to the service that uses a full-duplex binding and use it for the new clients.

考题 You are modifying an existing Windows Communication Foundation (WCF) service that is defined as follows:[ServiceContract]public interface IMessageProcessor { [OperationContract] void ProcessMessages();}public class MessageProcessor: IMessageProcessor { public void ProcessMessage(); SubmitOrder();}SubmitOrder makes a call to another service. The ProcessMessage method does not perform as expected under a heavy load.You need to enable processing of multiple messages. New messages must only be processed when the ProcessMessage method is not processing requests,or when it is waiting for calls to SubmitOrder to return.Which attribute should you apply to the MessageProcessor class?()A. CallbackBehavior(ConcurrencyMode=ConcurencyMode.Reentrant)B. CallbackBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)C. ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Reentrant)D. ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)

考题 You are the administrator of a network that consists of a single Windows NT 4.0 domain. The network contains five Windows NT Server domain controllers and 1,000 Windows NT Workstation client computers.You want to install Windows 2000 Server on a new computer. You want the new computer to act as domain controller in the existing domain.What should you do?A.On the new computer, install Windows NT Server 4.0 and designate the computer as a BDC in the existing domain. Promote the computer to the PDC of the domain. Upgrade the computer to Windows 2000 Server.B.On the new computer, install Windows NT Server 4.0 and designate the computer as a PDC in a new domain that has the same NetBIOS name as the existing Windows NT domain. Upgrade the computer to Windows 2000 Server. Use the Active Directory sites and services to force synchronization of the domain controllers.C.Shut down the PDC of the existing Windows NT domain from the network. On the new computer, install Windows 2000 Server, and then run the Active Directory installation wizard to install Active Directory, specifying the same NetBIOS name for the Windows 2000 domain as the existing Windows NT domain. Restart the Windows NT PDC on the network and demote it to a BDC.D.Shut down the PDC of the existing Windows NT domain from the network. On the new computer, install Windows 2000 Server, and then run the Active Directory installation wizard to install Active Directory as a replica in the existing Windows NT domain. Promote the new computer to the PDC of the domain. Restart Windows NT PDC on the network and demote it to a BDC.

考题 You are the administrator of a network that includes Windows NT Server 4.0 computers, Windows NT Workstation 4.0 computers, and UNIX computers. The network consists of a single Windows NT domain.You are upgrading a Windows NT Server computer named Server1 to Windows 2000 Server. Server1 is a BDC in the domain. The existing DNS server is a UNIX computer that supports SRV (service) records and is configured to accept dynamic updates. The existing WINS server is another Windows NT Server computer.You want to configure Server1 as a domain controller in a New Active Directory forest. You want the existing Windows NT domain accounts to be upgraded to Active Directory. You plan to upgrade the other domain controllers in the domain to Windows 2000 after the upgrade of Server1 is complete.You want to perform. the upgrade of Server1 with the least possible impact on other computers on the network. What should you do?A.Promote Server1 to the PDC of the domain. Run Windows 2000 Setup on Server1.B.Run Windows 2000 Setup on Server1. At the end of Setup, configure Server1 as a DNS server and a WINS server.C.Add a static mapping for Server1 on the WINS server. On the DNS server, create an SRV record for the LDAP service on Server1. Run Windows 2000 Setup on Server1.D.Install the Microsoft DNS service on an existing Windows NT server. Apply Windows NT 4.0 service pack 4 or later to the server. Run Windows 2000 Setup on Server1.

考题 You are designing a plan to migrate an existing application to Windows Azure.  The application currently resides on a server that has 768 MB of memory and multiple cores. You need to recommend the smallest compute instance size that is equivalent to the existing server.  Which size should you recommend?()A、 SmallB、 MediumC、 LargeD、 ExtraSmall

考题 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 have a server that runs Windows Server 2008. You need to prevent the server from establishing communication sessions to other computers by using TCP port 25. What should you do()A、 From Windows Firewall, add an exceptionB、 From windows Firewall enable the block all incoming connections optionC、 From the Windows Firewall with Advanced Security snap-in, create an inbound ruleD、 From the Windows Firewall with Advanced Security snap-in, create an outbound rule.

考题 Your company has an existing Windows Communication Foundation (WCF) service that allows business partners to place orders. The service uses netMsmqBinding. You find that processing every order in its own transaction is causing a delay. You need to ensure that the service is configured to process multiple orders in one transaction. What should you do? ()A、Use service behavior and set the maxConcurrentCalls attribute.B、Use endpoint behavior and set the maxBatchSize attribute.C、Use endpoint behavior and set the maxPendingReceives attribute.D、Use endpoint behavior.

考题 You are designing a plan to migrate an existing application to Windows Azure. The application currently resides on a server that has 20 GB of hard disk space.  You need to recommend the smallest compute instance size that provides local storage equivalent to that of the existing server.  Which size should you recommend?()A、 ExtraSmallB、 ExtraLargeC、 SmallD、 Large

考题 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

考题 You are designing a plan to migrate an existing application to Windows Azure.  The application must use the existing Active Directory Domain Services (AD DS) domain. You need to recommend an approach for joining Windows Azure virtual machines to the domain.  What should you recommend?()A、 Install the Active Directory Certificate Services (AD CS) root certificate into the Enterprise Trust certificate store on each virtual machine.B、 Configure Windows Azure Connect.C、 Configure Windows Azure AppFabric Access Control.D、 Install Active Directory Federation Services (AD FS) in the existing domain.

考题 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

考题 单选题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 plan to migrate an existing application to Windows Azure. The application currently resides on a server that has 20 GB of hard disk space.  You need to recommend the smallest compute instance size that provides local storage equivalent to that of the existing server.  Which size should you recommend?()A  ExtraSmallB  ExtraLargeC  SmallD  Large

考题 单选题You are designing a plan to migrate an application to Windows Azure.  The application generates log files in a proprietary format.  You need to recommend an approach for retaining the existing log file format.  What should you recommend?()A  Configure Windows Azure Diagnostics to transfer event logs.B  Configure Windows Azure Diagnostics to transfer directories.C  Configure Windows AzureDiagnostics to transfer performance counters.D  Configure Windows Azure Diagnostics to transfer basic Windows Azure logs.

考题 单选题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 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?()A Add a net.tcp base address to the host.B Add an endpoint configured with a netTcpBinding.C Add an endpoint behavior named netTcpBehavior to the existing endpoint.D Add a binding configuration to the existing endpoint named netTcpBinding.

考题 单选题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 modifying an existing Windows Communication Foundation (WCF) service that is defined as follows:[ServiceContract]public interface IMessageProcessor { [OperationContract] void ProcessMessages( );}public class MessageProcessor: IMessageProcessor { public void ProcessMessage( ); SubmitOrder( );}SubmitOrder makes a call to another service. The ProcessMessage method does not perform as expected under a heavy load.You need to enable processing of multiple messages. New messages must only be processed when the ProcessMessage method is not processing requests,or when it is waiting for calls to SubmitOrder to return.Which attribute should you apply to the MessageProcessor class?()A CallbackBehavior(ConcurrencyMode=ConcurencyMode.Reentrant)B CallbackBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)C ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Reentrant)D ServiceBehavior(ConcurrencyMode=ConcurrencyMode.Multiple)

考题 单选题You are designing a plan to migrate an existing application to Windows Azure.  The application must use the existing Active Directory Domain Services (AD DS) domain. You need to recommend an approach for joining Windows Azure virtual machines to the domain.  What should you recommend?()A  Install the Active Directory Certificate Services (AD CS) root certificate into the Enterprise Trust certificate store on each virtual machine.B  Configure Windows Azure Connect.C  Configure Windows Azure AppFabric Access Control.D  Install Active Directory Federation Services (AD FS) in the existing domain.

考题 单选题You are integrating a Windows Communication Foundation (WCF) service within an enterprise-wide Service Oriented Architecture (SOA).Your service has the following service contract: [ServiceContract]public class CreditCardConfirmationService { [OperationContract] boolean ConfirmCreditCard(string ccNumber); double OrderAmount(int orderNumber);} You need to allow the code in the ConfirmCreditCard method to participate automatically in existing transactions.If there is no existing transaction, a new transaction must be created automatically. What should you do?()A Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new TransactionScope()) block.B Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new CommittableTransaction()) block.C Add an [OperationBehavior(TransactionScopeRequired=true)] attribute to the ConfirmCreditCard method.D Add an [OperationBehavior(TransactionAutoComplete=true)] attribute to the ConfirmCreditCard method.