niusouti.com

A Windows Communication Foundation (WCF) solution uses two services to manage a shopping cart. Service A processes messages containing line items that total between $0 and $500. Service B processes messages containing line items that total more than $500.

题目

A Windows Communication Foundation (WCF) solution uses two services to manage a shopping cart. Service A processes messages containing line items that total between $0 and $500. Service B processes messages containing line items that total more than $500. All messages are of equal importance to the business logic. You need to route incoming messages to the appropriate services by using WCF routing. Which two message filters should you add to the router? (Each correct answer presents part of the solution. Choose two.)()

  • A、a message filter with a priority of 100 that will forward messages that total between $0 and $500 to Service A
  • B、a message filter with a priority of 0 that will forward messages that total between $0 and $500 to Service A
  • C、a message filter with a priority of 0 that will forward all messages to Service B
  • D、a message filter with a priority of 100 that will forward all messages to Service B

相似考题
更多“A Windows Communication Foundati”相关问题
  • 第1题:

    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 Manager

    B. service Authorization

    C. service Credentials

    D. service Security Audit


    参考答案:D

  • 第2题:

    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. AnnouncementService

    B. AnnouncementClient

    C. DiscoveryClient

    D. HttpListener


    参考答案:A

  • 第3题:

    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.


    参考答案:D

  • 第4题:

    A Windows Communication Foundation (WCF) service implements the following contract. [ServiceContract] public interface IHelloService { [OperationContract(WebGet(UriTemplate="hello?name={name}"))]

    A.

    B.

    C.

    D.


    参考答案:B

  • 第5题:

    An automotive supplier maintains CAD workstations in widely separated plant locations, and these locations are interconnected by single 1.5Mb/second communication lines.  A consultant has been asked to provide a solution that will allow back-ups to be centralized in one location and improve data recovery times.  Which TWO questions should the consultant ask first to determine the best solution?()

    • A、In what format are the CAD documents?
    • B、How much data needs to be backed up from each remote site?
    • C、What are the current acceptable windows for back up and restore?
    • D、Are the plants within line-of-sight to enable wireless communication?
    • E、Can the communication lines cost-effectively be upgraded to a higher level of service?

    正确答案:B,C

  • 第6题:

    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 exception
    • B、 From windows Firewall enable the block all incoming connections option
    • C、 From the Windows Firewall with Advanced Security snap-in, create an inbound rule
    • D、 From the Windows Firewall with Advanced Security snap-in, create an outbound rule.

    正确答案:D

  • 第7题:

    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、ChannelFactory
    • B、 ServiceHost
    • C、ClientRuntime
    • D、CommunicationObject

    正确答案:A

  • 第8题:

    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 Manager
    • B、service Authorization
    • C、service Credentials
    • D、service Security Audit

    正确答案:D

  • 第9题:

    You are creating a Windows Communication Foundation (WCF) service. You have the following requirements: Messages must be sent over TCP The service must support transactions. Messages must be encoded using a binary encoding Messages must be secured using Windows stream-based security.You need to implement a custom binding for the service. In which order should the binding stack be configured?()

    • A、tcp Transport, windows Stream Security, transaction Flow, binary Message Encoding
    • B、transaction Flow, binary Message Encoding, windows Stream Security, tcp Transport
    • C、windows Stream Security, tcp Transport, binary Message Encoding, transaction Flow
    • D、binary Message Encoding, transaction Flow, tcp Transport, windows Stream Security

    正确答案:B

  • 第10题:

    单选题
    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

    ChannelFactory

    B

    ServiceHost

    C

    ClientRuntime

    D

    CommunicationObject


    正确答案: A
    解析: 暂无解析

  • 第11题:

    单选题
    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


    正确答案: A
    解析: 暂无解析

  • 第12题:

    单选题
    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 exception

    B

     From windows Firewall enable the block all incoming connections option

    C

     From the Windows Firewall with Advanced Security snap-in, create an inbound rule

    D

     From the Windows Firewall with Advanced Security snap-in, create an outbound rule.


    正确答案: C
    解析: 暂无解析

  • 第13题:

    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 Element

    B. Https Transport Binding Element

    C. Ssl Stream Secunty Binding Element

    D. Windows Stream Security Binding Element


    参考答案:A

  • 第14题:

    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. NetTcpContextBinding

    B. BasicHttpContextBinding

    C. NetTcpBinding

    D. NetMsmqBinding


    参考答案:B

  • 第15题:

    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.


    参考答案:D

  • 第16题:

    What is the primary use of a remote access VPN?()

    • A、to secure communication between two remote PCs
    • B、to secure communication between two remote offices
    • C、to secure communication betweenan remote PC and the corporate intranet
    • D、to secure communication between a corporate intranet and the public internet

    正确答案:C

  • 第17题:

    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.

    正确答案:D

  • 第18题:

    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 exception.
    • B、From windows firewall enable the block all incoming connections option.
    • C、From the windows firewall with advanced security snap-in, create an inbound rule.
    • D、From the windows firewall with advanced security snap-in, create an outbound rule.

    正确答案:D

  • 第19题:

    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、AnnouncementService
    • B、AnnouncementClient
    • C、DiscoveryClient
    • D、HttpListener

    正确答案:A

  • 第20题:

    You deploy a mobile messaging solution by using front-end and back-end servers that run Microsoft Exchange Server 2003 Service Pack 2.   Company policy requires that all Microsoft Windows Mobilebased devices must support Microsoft Exchange ActiveSync communication that is Federal Information Processing Standard compliant.   You need to deploy the Windows Mobilebased devices.   What should you use?()

    • A、Microsoft Windows Mobile 5.0
    • B、Microsoft Windows Mobile 2003 for Pocket PC
    • C、Microsoft Windows Mobile 2003 Second Edition
    • D、Microsoft Windows Mobile 5.0 with Microsoft Messaging and Security Feature Pack

    正确答案:D

  • 第21题:

    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 Element
    • B、Https Transport Binding Element
    • C、Ssl Stream Secunty Binding Element
    • D、Windows Stream Security Binding Element

    正确答案:A

  • 第22题:

    单选题
    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.


    正确答案: A
    解析: 暂无解析

  • 第23题:

    单选题
    You are creating a Windows Communication Foundation (WCF) service. You have the following requirements: Messages must be sent over TCP The service must support transactions. Messages must be encoded using a binary encoding Messages must be secured using Windows stream-based security.You need to implement a custom binding for the service. In which order should the binding stack be configured?()
    A

    tcp Transport, windows Stream Security, transaction Flow, binary Message Encoding

    B

    transaction Flow, binary Message Encoding, windows Stream Security, tcp Transport

    C

    windows Stream Security, tcp Transport, binary Message Encoding, transaction Flow

    D

    binary Message Encoding, transaction Flow, tcp Transport, windows Stream Security


    正确答案: B
    解析: 暂无解析

  • 第24题:

    单选题
    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

    NetTcpContextBinding

    B

    BasicHttpContextBinding

    C

    NetTcpBinding

    D

    NetMsmqBinding


    正确答案: C
    解析: 暂无解析