You are developing a Windows Com

题目

You are developing a Windows Communication Foundation (WCF) service. You write a method named Submit that accepts messages of the type System.ServiceModel.Channels.Message. You need to process the body of the incoming messages multiple times in the method. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)()

  • A、Use the GetBody method of the Message class to read the content of the messages.
  • B、Use the CreateBufferedCopy method of the Message class to load the messages into memory.
  • C、Use the WriteBodyContents method of the BodyWriter class to make a copy of the messages.
  • D、Use the CreateMessage method of the MessageBuffer class to make a copy of the messages.
参考答案和解析
正确答案:B,D
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You work as an administrator at ENSUREPASS.com. The ENSUREPASS.com network consists of a single domain named ENSUREPASS.com. All servers on the ENSUREPASS.com network have Windows Server 2012 installed. You are in the process of installing a Server Core installation of Windows Server 2012 on a new ENSUREPASS.com server, named ENSUREPASS-SR13.  Which of the following is TRUE with regards to a installing a Server Core installation of Windows Server 2012?()

  • A、The Server Graphical Shell is installed, but not enabled
  • B、Server roles can be configured locally via the command prompt using Windows PowerShell.
  • C、Server roles can be configured locally via Server Manager
  • D、You are able to access the Microsoft Management Console locally
  • E、The Desktop Experience is not available

正确答案:B,E

第2题:

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

第3题:

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.


参考答案:B

第4题:

You work as a senior administrator at ABC.com. The ABC.com network consists of a single domain named ABC.com. All servers on the ABC.com network have Windows Server 2012 R2 installed, and all workstations have Windows 8 installed. You are running a training exercise for junior administrators.You are currently discussing a Windows PowerShell cmdlet that activates previously de-activated firewall rules.  Which of the following is the cmdlet being discussed?()

  • A、Set-NetFirewallRule
  • B、Enable-NetFirewallRule
  • C、Set-NetIPsecRule
  • D、Enable-NetIPsecRule

正确答案:B

第5题:

You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a Windows Service application. You need to change the security context in which the service runs. The service will be run in context of a non-privileged user on the local computer and present anonymous credentials to any remote server. You are required to set the Account property of the ServiceProcessInstaller class to specify the service account. What should you do?()

  • A、Use ServiceAccount.User.
  • B、Use ServiceAccount.LocalService.
  • C、Use ServiceAccount.LocalSystem.
  • D、Use ServceAccount.NetworkService.

正确答案:B

第6题:

You work as a network administrator at ABC.com.The ABC.com network consists of a single domain named ABC.com.  All servers on the ABC.com network have Windows Server 2012 R2 installed and all client computers have Windows 8 installed.The ABC.com network contains a domain controller named ABC_DC04 and member server named ABC_SR11.ABC_SR11 runs a Core Installation of Windows Server 2012 R2.How would you configure THESABCING_DC04 to remotely view the event log on ABC_SR11?()

  • A、You should use the Windows Powershell to run the Get-NetFirewallRule command.
  • B、You should use the Windows Powershell to run the Set-NetFirewallProfile command
  • C、You should use the Windows Powershell to run the New-NetIPsecRule command.
  • D、You should use the Windows Powershell to run the Show-NetIPsecRule command.

正确答案:A

第7题:

You work as an administrator at ABC.com. The ABC.com network consists of a single domain named ABC.com. All domain controllers on the ABC.com domain have Windows Server 2008 R2 installed.  The ABC.com network has a member server named ABC_SR07 that has Windows Server 2012 R2 installed.You are required to promote ABC_SR07 to a domain controller. You log on to SERVER07 and insert the installation disk.  What would be your next step?()

  • A、You should run the DCPROMO command on ABC_SR07.
  • B、You should run the Install-ADDSDomainControllercmdlet on ABC_SR07.
  • C、You should upgrade one of the existing domain controllers to Windows Server 2012 R2.
  • D、You should configure the Integration Services settings on ABC_SR07.
  • E、You should configure a system sate backup of ABC_SR07.

正确答案:C

第8题:

You are the network administrator responsible for testing and deploying new service packs for Windows 2000. Your forest has two trees, with four domains in each tree, as shown in the exhibit.

For the testing of each service pack, you plan to deploy the service pack to the support.IS.contoso.com domain and the support.IS.litware.com domain, but to no other domains. You plan to use a Group Policy to configure and administer the service pack package. You need to minimize the complexity and administration of the service pack package, and to minimize network traffic between the domains.

You create a Microsoft Windows Installer package for the service pack. What should you do to configure the Group Policy?

A.Configure the Windows Installer package in a Group Policy for the litware.com and contoso.com domains

B.Configure the Windows Installer package in a Group Policy for the support.IS.litware.com and support.IS.contoso.com domains.

C.Configure two sites, with one tree in each site. Configure the Windows Installer package in a Group Policy for each site.

D.Configure one site that contains both trees. Configure the Windows Installer package in a Group Policy for the site.


正确答案:B
解析:Explanation:Inthisscenariowemustcreateanewgrouppolicyandapplytheinstallerpackagetoit.WemustthenlinktheGroupPolicytothetwodomainssupport.IS.litware.comandsupport.IS.contoso.com.Incorrectanswers:A:TheGroupPolicyshouldbeappliedtothelocaldomains.C:WeapplytheGroupPolicytothedomain,nottoOUs.D:TheGroupPolicyshouldbeappliedtoboththesupport.IS.litware.comdomainandsupport.IS.contoso.comdomain.

第9题:

You work as an administrator at ABC.com. The ABC.com network consists of a single domain named ABC.com. All servers in the ABC.com domain have Windows Server 2012 R2 installed, while domain controllers have Windows Server 2008 R2 installed.You are then tasked with deploying a new Windows Server 2012 R2 domain controller. You are preparing to install the DNS Server role, and enable the global catalog server option.  Which of the following actions should you take?()

  • A、You should consider making use of Server Manager.
  • B、You should consider making use of the Active Directory Installation Wizard.
  • C、You should consider making use of the DHCP Installation Wizard
  • D、You should consider making use of TS Manager

正确答案:B

第10题:

Your network contains an Active Directory domain named contoso.com. All domain controllers run Windows Server 2008 R2. The functional level of the domain is Windows Server 2008 R2. The functional  level of the forest is Windows Server 2008.   You have a member server named Server1 that runs Windows Server 2008.   You need to ensure that you can add Server1 to contoso.com as a domain controller.   What should you run before you promote Server1()

  • A、dcpromo.exe /CreateDCAccount
  • B、dcpromo.exe /ReplicaOrNewDomain:replica
  • C、Set-ADDomainMode -Identity contoso.com -DomainMode Windows2008Domain
  • D、Set-ADForestMode -Identity contoso.com -ForestMode Windows2008R2Forest

正确答案:C

更多相关问题