You are creating a Windows Communication Foundation (WCF) service. The service endpoints change frequently. On the service, you add a new ServiceDiscoveryBehavior to the Behaviors collection of the ServiceHost Description property. You need to ensure tha

题目

You are creating a Windows Communication Foundation (WCF) service. The service endpoints change frequently. On the service, you add a new ServiceDiscoveryBehavior to the Behaviors collection of the ServiceHost Description property. You need to ensure that client applications can communicate with the service and discover changes to the service endpoints. What should you do?()

  • A、Add a new ServiceDiscoveryBehavior to the Behaviors collection in the client application.
  • B、Add a new AnnouncementClient to the Behaviors collection in the client application.
  • C、Use the FindCriteria class and the UdpDiscoveryEndpoint class to set up the binding in the client application.
  • D、Use the DiscoveryProxy class and the EndpointDiscoveryMetadata class to set up the binding in the client application.

相似考题
参考答案和解析
正确答案:C
更多“You are creating a Windows Comm”相关问题
  • 第1题:

    You are employed as the exchange administrator at Company.com.the Company.com network contains an exchange 2010 organization.you are responsible for managing an exchange server 2010 mailbox server named -ex01.You are in the process of implementing a policy that deletes e-mail messages automatically after 60 days.You receive an instruction from management to identify another location where users can store their messages after 60 days.However, administrators need to locate the e-mail messages in both locations when executing multi- mailbox searches. What should you do?()

    • A、You should consider creating a Retention Policy.
    • B、You should consider creating a.pst file for each user that is stored in a shared folder.
    • C、You should consider creating a Personal Archive for each user.
    • D、You should consider creating a journal rule.

    正确答案:C

  • 第2题:

    You are creating a Windows Forms application by using the .NET Framework 3.5.You have resource files in five different languages.You need to test the application in each language. What should you do?()

    • A、Set the CurrentCulture property explicitly to the respective culture for each language.
    • B、Set the CurrentCulture property explicitly to IsNeutralCulture for each language.
    • C、Set the CurrentUICulture property explicitly to IsNeutralCulture for each language.
    • D、Set the CurrentUICulture property explicitly to the respective culture for each language.

    正确答案:D

  • 第3题:

    You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to display detailed help instructions for each control in the form.You create a help file.You configure a HelpProvider component on the form.You need to display the help file for the control that is focused when the F1 key is pressed.Which method of the HelpProvider class should you call for each control?()

    • A、SetShowHelp
    • B、SetHelpString
    • C、SetHelpKeyword
    • D、SetHelpNavigator

    正确答案:A

  • 第4题:

    You work as a network Exchange administrator at Company.com.The Company.com network currently consists of a single Active Directory forest containing a single domain named Company.com.The Company.com organization makes use of Microsoft Exchange Server 2010 as their messaging solution.During the course of the week you receive an instruction from the CIO to stop internal users from sending e-mail messages containing the words "Classified Data" to users outside the organization. What should you do?()

    • A、You should consider creating a message classification.
    • B、You should consider creating a Transport rule.
    • C、You should consider creating a Send connector.
    • D、You should consider creating a managed folder mailbox policy.

    正确答案:B

  • 第5题:

    You work as the enterprise exchange administrator at Company.com.The Company.com network consists of a single Active Directory domain named Company.com.Company.com has an Exchange Server 2010 organization.You have received instructions from the CIO to support Autodiscover from the Internet by creating a resource record in DNS.What should you do?()

    • A、You should consider creating a Host (A) resource record.
    • B、You should consider creating a Text (TXT) resource record.
    • C、You should consider creating a Pointer (PTR) resource record.
    • D、You should consider creating a Mail exchange (MX) resource record.

    正确答案:A

  • 第6题:

    单选题
    You work as the enterprise exchange administrator at Company.com.The Company.com network consists of a single Active Directory domain named Company.com.Company.com has an Exchange Server 2010 organization.You have received instructions from the CIO to support Autodiscover from the Internet by creating a resource record in DNS.What should you do?()
    A

    You should consider creating a Host (A) resource record.

    B

    You should consider creating a Text (TXT) resource record.

    C

    You should consider creating a Pointer (PTR) resource record.

    D

    You should consider creating a Mail exchange (MX) resource record.


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

  • 第7题:

    单选题
    You work as an administrator at ABC.com. The ABC.com network consists of two Active Directory  forests, named ABC.com and test.com. There is no trust relationship configured between the forests.A backup of Group Policy object (GPO) from the test.com domain is stored on a domain controller in the ABC.com domain. You are informed that a GPO must be created in the ABC.com domain, and must be based on the settings of the GPO in the test.com domain. You start by creating the new GPO using the New-GPO Windows PowerShell cmdlet.You want to complete the task via a Windows PowerShell cmdlet.  Which of the following actions should you take?()
    A

    You should consider making use of the Invoke-GPUpdate Windows PowerShell cmdlet.

    B

    You should consider making use of the Copy-GPO Windows PowerShell cmdlet.

    C

    You should consider making use of the New-GPLink Windows PowerShell cmdlet.

    D

    You should consider making use of the Import-GPO Windows PowerShell cmdlet.


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

  • 第8题:

    单选题
    You are creating a Windows Communication Foundation (WCF) service that implements operations in a RESTful manner. You need to add a delete operation. You implement the delete method as follows:void DeleteItems(string id);You need to configure WCF to call this method when the client calls the service with the HTTP DELETE operation. What should you do?()
    A

    Add the WebInvoke(UriTemplate=/Items/{id}, Method=DELETE) attribute to the operation

    B

    Add the HttpDelete atribute to the operation

    C

    Replace the string parameter with a RemovedActivityAction parameter

    D

    Replace the return type with RemovedActivityAction.


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

  • 第9题:

    单选题
    You are a systems administrator responsible for managing a Windows Server 2008 Web server. Recently,your organization set up a new IIS Web site that will be accessed by users outside of your organizations.Consultants should be able to connect to this Web site, using IIS Manager. Your organization’s securitypolicy prevents you from creating domain accounts or local user accounts for these users. You attempt touse the IIS Manager Permissions feature for the Web site. However, when you click Allow User, you areable to select only Windows users.  How can you resolve this problem?()
    A

    Verify that Management Service has been started.

    B

    Reconfigure the file system permissions for the root folder of the Web site.

    C

    Reconfigure Management Service to enable Windows And IIS Manager Credentials.

    D

    Verify the Authentication settings for the Web site.


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

  • 第10题:

    单选题
    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
    解析: 暂无解析

  • 第11题:

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


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

  • 第12题:

    单选题
    You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a new control for the application. You need to ensure that the control extends the DataGridView control by allowing the cells to contain multicolored text. What should you do?()
    A

    Override the OnPaint method.

    B

    Write a code segment to handle the CellPainting event.

    C

    Write a code segment to handle the CellParsing event.

    D

    Write a code segment to handle the RowPostPaint event.


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

  • 第13题:

    You work as an administrator at ABC.com. The ABC.com network consists of two Active Directory  forests, named ABC.com and test.com. There is no trust relationship configured between the forests.A backup of Group Policy object (GPO) from the test.com domain is stored on a domain controller in the ABC.com domain. You are informed that a GPO must be created in the ABC.com domain, and must be based on the settings of the GPO in the test.com domain. You start by creating the new GPO using the New-GPO Windows PowerShell cmdlet.You want to complete the task via a Windows PowerShell cmdlet.  Which of the following actions should you take?()

    • A、You should consider making use of the Invoke-GPUpdate Windows PowerShell cmdlet.
    • B、You should consider making use of the Copy-GPO Windows PowerShell cmdlet.
    • C、You should consider making use of the New-GPLink Windows PowerShell cmdlet.
    • D、You should consider making use of the Import-GPO Windows PowerShell cmdlet.

    正确答案:D

  • 第14题:

    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.

    正确答案:B

  • 第15题:

    You are creating a Windows Forms application by using the .NET Framework 3.5 The application is used by a financial service provider.You discover that the service provider transfers large amounts of data by using XML.You need to read and validate the XMLdocuments in the most time efficient manner.Which technology should you use?()

    • A、The XmlReader class
    • B、The XmlDocument class
    • C、The XmlResolver class
    • D、The LINQ to XML method

    正确答案:A

  • 第16题:

    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

  • 第17题:

    You are the administrator of Etechsol.com Enterprises. Your company consists of a small 20-user network. Management has decided to upgrade all computers to Windows 2000.   After having a closer examination of your company’s network, you realize that only half of the network interface cards are Net PC compliant. You decide to create Windows 2000 remote boot floppies.  What executable is used for creating RIS boot disks for non-PXE compliant clients?()

    • A、RBFG*EXE
    • B、RIPREP*EXE
    • C、RIS*EXE
    • D、RISPXE*EXE
    • E、RISBOO*EXE

    正确答案:A

  • 第18题:

    单选题
    Which of the following data network would you implement if you wanted a wireless network that had a relatively high data rate, but was limited to very short distances?()
    A

    Broadband personal comm. Service (PCS)

    B

    Broadband circuit

    C

    Infrared

    D

    Spread spectrum

    E

    Cable


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

  • 第19题:

    单选题
    You are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a custom control for the application.  The control will be a composite control.Your need to derive from the class that will create the control by using the minimum amount of development effort.What should you do?()
    A

    Derive from the Control class.

    B

    Derive from the UserControl class.

    C

    Derive from the FrameworkElement class.

    D

    Derive from the ContainerControl class.


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

  • 第20题:

    单选题
    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
    解析: 暂无解析

  • 第21题:

    单选题
    You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to create a Windows Installer package for a Windows Forms application. The package will be deployed on Windows Vista computers.You need to ensure that during deployment the installation does not elevate privileges of the user installing the application.What should you do?()
    A

    Create a custom action and set the NoImpersonate property to true

    B

    Create a custom action and set the NoImpersonate property to false

    C

    Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker

    D

    Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator


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

  • 第22题:

    单选题
    You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to design a composite control for the application.You need to derive the control from a base class that supports templates.What should you do?()
    A

    Derive from the Control class.

    B

    Derive from the UserControl class.

    C

    Derive from the ScrollableControl class.

    D

    Derive from the ContainerControl class.


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

  • 第23题:

    单选题
    You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to create a Windows Installer package for a Windows Forms application.The package will be deployed on Windows Vista computers.You need to ensure that during deployment the installation does not elevate privileges of the user installing the application.What should you do?()
    A

    Create a custom action and set the NoImpersonate property to true

    B

    Create a custom action and set the NoImpersonate property to false

    C

    Create a manifest and set the RequestedExecutionLevel level attribute to AsInvoker.

    D

    Create a manifest and set the RequestedExecutionLevel level attribute to AsAdministrator.


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