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.
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.
相关考题:
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 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 domainsB.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.
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 enabledB、Server roles can be configured locally via the command prompt using Windows PowerShell.C、Server roles can be configured locally via Server ManagerD、You are able to access the Microsoft Management Console locallyE、The Desktop Experience is not available
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 commandC、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.
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.
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.
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.
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 WizardD、You should consider making use of TS Manager
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-NetFirewallRuleB、Enable-NetFirewallRuleC、Set-NetIPsecRuleD、Enable-NetIPsecRule
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 /CreateDCAccountB、dcpromo.exe /ReplicaOrNewDomain:replicaC、Set-ADDomainMode -Identity contoso.com -DomainMode Windows2008DomainD、Set-ADForestMode -Identity contoso.com -ForestMode Windows2008R2Forest
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 .NET Framework 2.0 Windows Service application and are busy writing the following installation code for the Windows service: Public Class TestServiceInstaller Implemets Installer 'Additional code to go here End Class You are required to install the Windows service and write the values associated with the service in the Windows Registry. What should you do?()A、The Assembly Registration Tool (Regasm.exe) should be used.B、The Global Assembly Cache Tool (Gacutil.exe) should be used.C、The .NET Services Installation Tool (Regsvcs.exe) should be used.D、The Installer Tool (InstallUtil.exe) should be used.
You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit? ()A、FrameworkElementB、UIElementC、UserControlD、Button
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 R2installed and all client computers have either Windows 7 or Windows 8 installed. All client computers are located in an organizational unit (OU) named ABCComputers. You create a new GPO named Win8 and linked it to the ABCComputers OU.However, the settings in Win8 must only be applied to client computers that have Windows 8 installed. What should you do to have Win8 applied appropriately, using the least amount of administrative effort?()A、You should create an OU for the Windows 8 client computers and link the Win8 to that OUB、You should configure WMI filtering for Win8.C、You should configure Security filtering for Win8.D、You should enable Group Policy Caching on the Windows 8 client computers.E、You should configure Audit filtering for Win8.
You work as an 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 2008 R2 installed. Some of ABC.com’s workstations have Windows 7 installed, while the rest have Windows 8 installed. After installing a new Windows Server 2012 R2 computer in the ABC.com domain, you configure it to run the File and Storage Services server role.You are instructed to create a shared folder on the new server, and configure the use of Previous Versions for restoring files located in the shared folder. Which of the following actions should you take?()A、You should consider configuring the Shadow Copies settings on the new server.B、You should consider configuring the Snapshot settings on the new server.C、You should consider configuring the Background Copy settings on the new server.D、You should consider configuring the Permission settings on the new server.
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.the Company.com contains an exchange server 2010 client access server named -ex13.The mobile clients at Company.com are configured to either run windows mobile 5.0, windows mobile 6.1 or windows mobile 6.5.the mobile users use the internet to connect to -ex13, using mail.Company.com.you have received instructions from the cio to equip -ex13 with a certificate.however, the mobile users need to connect to -ex13 from the internet via exchange activesync.What should you do?()A、You should consider including Company.com in the certificate.B、you should consider including -ex13.Company.com in the certificate.C、You should consider including EAS.Company.com in the certificate.D、You should consider including mail.Company.com in the certificate.
You work as an administrator at ABC.com. The ABC.com network consists of a single domain named ABC.com.ABC.com has a domain controller, named ABC-DC01, which has Windows Server 2012 R2 installed. Another ABC.com domain controller, named ABC-DC02, has Windows Server 2008 R2 installed.You have deployed a server, named ABC-SR15, on ABC.com’s perimeter network. ABC-SR15 is running a Server Core Installation of Windows Server 2012 R2.You have been instructed to make sure that ABC-SR15 is part of the ABC.com domain. Which of the following actions should you take?()A、You should consider making use of Set-Computer Windows PowerShell cmdlet on ABC-SR15.B、You should consider making use of Get-Computer Windows PowerShell cmdlet on ABC-SR15.C、You should consider making use of Test-Computer Windows PowerShell cmdlet on ABC-SR15.D、You should consider making use of Add-Computer Windows PowerShell cmdlet on ABC-SR15.
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.The ABC.com network contains a server named ABC_SR11 that hosts a virtual machine named ABC_VT01. ABC_VT01 has an existing snapshot. You want to change the Snapshot File Location of ABC_VT01. How would you accomplish this?()A、You should use Windows Explorer to move the snapshot file.B、You should run the Convert-VHD cmdlet on ABC_VT01.C、You should use Hyper-V Manager to delete the existing snapshot.D、You should use Windows Backup to configure the file location.
单选题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 .NET Framework 2.0 Windows Service application and are busy writing the following installation code for the Windows service: Public Class TestServiceInstaller Implemets Installer 'Additional code to go here End Class You are required to install the Windows service and write the values associated with the service in the Windows Registry. What should you do?()AThe Assembly Registration Tool (Regasm.exe) should be used.BThe Global Assembly Cache Tool (Gacutil.exe) should be used.CThe .NET Services Installation Tool (Regsvcs.exe) should be used.DThe Installer Tool (InstallUtil.exe) should be used.
单选题Your company has a single Active Directory domain named intranet.contoso.com. All domain controllers run Windows Server 2008. The domain functional level and the forest functional level are set to Windows 2000 native mode. You need to ensure the UPN suffix for contoso.com is available for user accounts. What should you do first()ARaise the contoso.com forest functional level to Windows Server 2003 or Windows Server 2008.BRaise the contoso.com domain functional level to Windows Server 2003 or Windows Server 2008.CAdd the new UPN suffix to the forest.DChange the Primary DNS Suffix option in the Default Domain Controllers Group Policy Object (GPO) to contoso.com.
单选题You are developing a Windows Presentation Foundation (WPF) application. You configure PresentationTraceSource to track errors in a bound TextBox control in the application. You need to choose the window that the Trace information is sent to Which Visual Studio window should you select ?()AAutosBImmediateCLocalsDOutput
单选题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?()AYou should consider making use of the Invoke-GPUpdate Windows PowerShell cmdlet.BYou should consider making use of the Copy-GPO Windows PowerShell cmdlet.CYou should consider making use of the New-GPLink Windows PowerShell cmdlet.DYou should consider making use of the Import-GPO Windows PowerShell cmdlet.
单选题Your company has a single Active Directory directory service forest named contoso.com. A partner organization has a forest named fabrikam.com. Both forests are set to the Windows 2000 forest functional level. Domains named contoso.com and fabrikam.com are set to Windows 2000 Native Mode. You plan to create a forest trust relationship between contoso.com and fabrikam.com. You need to be able to configure selective authentication for the trust relationship. What should you do?()A Raise the forest functional level on contoso.com and fabrikam.com to Windows Server 2003.B Raise the domain functional level on contoso.com and fabrikam.com to Windows Server 2003.C Raise the domain functional level and the forest functional level on contoso.com to Windows Server 2003.D Raise the domain functional level and the forest functional level on fabrikam.com to Windows Server 2003.
单选题You have an Active Directory domain named contoso.com.You have an Exchange Server 2010 organization that contains a Client Access server named CAS1.Users connect to CAS1 from the Internet by using mail.contoso.com.The organization contains the following mobile clients: (1)Windows Mobile 5.0 (2)Windows Mobile 6.1 (3)Windows Mobile 6.5 You plan to install a certificate on CAS1.You need to ensure that all clients can connect to CAS1 from the Internet by using Exchange ActiveSync.Which name should you include in the certificate?()Acontoso.comBCAS1.contoso.comCEAS.contoso.comDmail.contoso.com
多选题You have a server that runs Windows Server 2003 Service Pack 2 (SP2). You install the Windows Support Tools on the server.You need to list all of the name servers in a DNS zone named contoso.com. Which two possible commands should you run?()ADnslint /d contoso.comBNetdiag /d:Contoso.com /test:DNSCNet view /domain:contoso.comDNslookup –querytype=ns contoso.com
单选题Your company has two Active Directory forests named contoso.com and fabrikam.com. Both forests run only domain controllers that run Windows Server 2008. The domain functional level of contoso.com is Windows Server 2008. The domain functional level of fabrikam.com is Windows Server 2003 Native mode. You configure an external trust between contoso.com and fabrikam.com. You need to enable the Kerberos AES encryption option. What should you do()ACreate a new forest trust and enable forest-wide authentication.BRaise the forest functional level of contoso.com to Windows Server 2008.CRaise the forest functional level of fabrikam.com to Windows Server 2008.DRaise the domain functional level of fabrikam.com to Windows Server 2008.
单选题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?()ASet-NetFirewallRuleBEnable-NetFirewallRuleCSet-NetIPsecRuleDEnable-NetIPsecRule
单选题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 which contains three different Windows services. You are required to only set one Windows service to start automatically when the system is restarted. What should you do?()AUse the ServiceController class.BUse the ServiceBase class.CUse the ServiceProcessInstaller class.DUse the ServiceInstaller class.
单选题You work as an application developer at Certkiller .com. You have created a Windows service application for the purpose of monitoring the number of active service requests running on Certkiller .com’s server. You want to configure this Windows service application to produce a report every ten minutes. You start by placing the reporting logic in the GenerateReport method of this Windows service.You want to create a Timer object that invokes this method every ten minutes.What should you do? ()A AB BC CD D