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

题目内容 (请给出正确答案)

You develop a Windows Communication Foundation (WCF) service to generate reports. Client applications call the service to initiate report generation but do not wait for the reports to be generated. The service does not provide any status to the client applications. The service class is defined as follows. (Line numbers are included for reference only.) 01 [ServiceContract] 02 public class ReportGeneratorService 03 { 04 ... 05 private int GenerateReports(int clientID) 06 { 07 ... 08 return 0; 09 } 10 } You need to ensure that client applications can initiate reports without waiting for status. Which two actions should you perform (Each correct answer presents part of the solution. Choose two.) ()。

  • A、Insert the following code at line 04. [OperationContract(IsOneWay=true)]
  • B、Insert the following code at line 04. [OperationContract(AsyncPattern=false)]
  • C、At line 05, change the GenerateReports method from private to public.
  • D、Remove line 08. At line 05, change the return type of GenerateReports method to void.

参考答案

更多 “ You develop a Windows Communication Foundation (WCF) service to generate reports. Client applications call the service to initiate report generation but do not wait for the reports to be generated. The service does not provide any status to the client applications. The service class is defined as follows. (Line numbers are included for reference only.) 01 [ServiceContract] 02 public class ReportGeneratorService 03 { 04 ... 05 private int GenerateReports(int clientID) 06 { 07 ... 08 return 0; 09 } 10 } You need to ensure that client applications can initiate reports without waiting for status. Which two actions should you perform (Each correct answer presents part of the solution. Choose two.) ()。A、Insert the following code at line 04. [OperationContract(IsOneWay=true)]B、Insert the following code at line 04. [OperationContract(AsyncPattern=false)]C、At line 05, change the GenerateReports method from private to public.D、Remove line 08. At line 05, change the return type of GenerateReports method to void.” 相关考题
考题 You develop a Windows Communication Foundation (WCF) service. It is used exclusively as an intranet application and is currently unsecured. You need to ensure that the service meets the following requirements: The service now must be exposed as an Internet application. The service must be secured at the transport level. Impersonation and delegation cannot be enabled.What should you use? ()A. basicHttpBinding and HTTPB. basicHttpBinding and KerberosC. wsHttpBinding and KerberosD. wsHttpBinding and HTTPS

考题 You develop a Windows Communication Foundation (WCF) service. You name the service MovieService in the Movie namespace. The service is hosted in Microsoft Internet Information Services (IIS). You copy the assembly containing the service to the bin folder in the virtual directory path.You need to set up the URI that is mapped to the service.What should you do?()A.B.C.D.

考题 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 develop a Windows Communication Foundation (WCF) service. You enable all performance counters and run multiple calls to the service.The service must isolate session data to each user. You need to monitor the instancing behaviour used in the service.Which performance counter should you monitor?()A. ServiceModeService 4.0.0.0\CallsB. ServiceModeService 4.0.0.0\InstancesC. ASP.Net StateService \ Server Sessions ActiveD. ASP.Net StateService \ Server Sessions Total

考题 You have an application that is incompatible with Windows Aero.You need to ensure that Windows Aero is automatically disabled when you run the application.What should you do?() A.AB.BC.CD.D

考题 You perform an in-place upgrade on a Microsoft Windows XP Service Pack 2 (SP2) computer to Windows Vista.After the upgrade, you attempt to run a custom application. You receive the following error message: This application is only designed to run on Windows XP or later.”You need to run the application on Windows Vista.What should you do?()A.AB.BC.CD.D

考题 You perform a clean installation of Microsoft Windows Vista on the first partition. Then, you install Microsoft Windows XP Professional on the second partition of the same machine.You are able to log on to Windows XP Professional but do not have the option to boot to Windows Vista.You need to be able to dual boot the computer.What should you do?()A.AB.BC.CD.D

考题 In order to()your goals, you must work hard.A、makeB、achieveC、requireD、develop

考题 You develop an ASP.NET web application that uses a Windows Azure web role. The application includes a startup script that installs a third-party component. You are developing a test plan for the startup script.  What should you recommend?()  A、 Enable Remote Desktop Protocol (RDP) and deploy the application without the startup script.  Connect to the web role instance by using RDP, and then manually test the startup script.B、 Deploy the application in the Windows Azure Compute Emulator.C、 Deploy the application with a custom error page.D、 Deploy the application and then use IntelliTrace.

考题 You work as an application developer at Certkiller .com. Certkiller .com has asked you to develop an application that monitors and controls the activities of a Windows service.You need to use the appropriate class to meet Certkiller .com’s requirements. What should you do?()A、 Use the ServiceBase class.B、 Use the ServiceInstaller class.C、 Use the ServiceManager class.D、 Use the ServiceController class.

考题 You plan to deploy Windows 7 images. You need ensure that you can deploy images by using the WindowsPreinstallation Environment (Windows PE).  What should you do add to the Windows PE image?()A、Imagex.exeB、Loadstate.exeC、Mighost.exeD、Usmtutils.exe

考题 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 TreeView control by adding a custom node tag and a highlight color.What should you do?()A、Override the OnPaint method.B、Write a code segment in the DrawNode event handler to specify the highlight color.C、Set the DrawMode property of the control to OwnerDrawAll, and then implement a custom DrawNode event handler.D、Set the DrawMode property of the control to OwnerDrawText,and then implement a custom DrawNode event handler.

考题 You have a computer that runs Windows Vista. You need to identify whether the computer can be upgradedto Windows 7.  Which tool should you use?()A、Windows Anytime Upgrade for Windows 7.B、Windows Anytime Upgrade for Windows Vista.C、Windows 7 Upgrade Advisor.D、Windows Vista Upgrade Advisor.

考题 Windows NT 4.0 is currently on the system you are using, and you want to install Windows 2000 Professional. Windows NT 4.0 is currently on an NFTS partition.  For some reason you have decided that you are not going to upgrade, but rather, you are going to run this in a dual boot fashion.  What do you need to do? ()A、Can’t be done.B、You need to put Windows 2000 on a separate partition from Windows NT 4.0C、You need to put Windows 2000 on the same partition as Windows NT 4.0.D、You need to upgrade Windows NT 4.0 to SP4.

考题 You have a computer that runs Windows 7 Professional. You need to upgrade the computer to Windows 7Ultimate. You must achieve this goal in the minimum amount of time.  What should you do?()A、Run Windows Update.B、Run Windows Anytime Upgrade.C、From the Windows 7 installation media, run Setup.exe.D、From the Windows 7 installation media, run Migwiz.exe.

考题 You are designing a Windows 7 deployment image.   You receive a baseline image over the network, from a different geographic location.   You need to verify that the baseline image is valid.   Which tool should you use?()A、ImageXB、Windows Compatibility EvaluatorC、Windows System Image Manager (Windows SIM)D、the Deployment Image Servicing and Management (DISM) tool

考题 单选题You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application that will connect to the Microsoft SQL Server 2005 database. You want to use Windows Authentication along with the Microsoft OLE DB provider. You now need to make sure that the OLE DB connection is as secure as possible.   What should you do?()A  Add the following parameter to the connection string: Integrated Security=true; PersistSecurityInfo=true;B  Add the following parameter to the connection string: Integrated Security=SSPI;C  Add the following parameter to the connection string: Integrated Security=SSPI; PersistSecurityInfo=yes;D  Add the following parameter to the connection string: Integrated Security=true;

考题 单选题You are deploying a custom Windows 7 system image to a new computer. You perform the following tasks:.Start the new computer by using the Windows Preinstallation Environment (Windows PE) .Connect to ashared network location that contains the Windows 7 image file You need to apply the Windows 7 image tothe computer.  What should you do before you apply the image?()A Mount the image.B Configure Windows Firewall.C Configure and format the hard disk drive.D Initialize the Boot Configuration Data (BCD) store.

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

考题 多选题You have been asked to develop an application that uses only connection-oriented protocols. Which two protocols can you use?()APPPBUDPCTCPDICMP

考题 单选题You develop a Windows Communication Foundation (WCF) service that interacts with Microsoft Message Queuing (MSMQ). The service requires sessions. You need to create a custom binding that enables messages sent to the queue to be viewed when you are using a listener tool. Which binding elements should you use?()A textMessageEncoding and msmqTransport in this order.B textMessageEncoding and msmqIntegrationTransport in this order.C msmqTransport and textMessageEncoding in this order.D msmqIntegrationTransport and textMessageEncoding in this order.

考题 单选题You develop a Windows Communication Foundation (WCF) service. It is used exclusively as an intranet application and is currently unsecured. You need to ensure that the service meets the following requirements: The service now must be exposed as an Internet application. The service must be secured at the transport level. Impersonation and delegation cannot be enabled. What should you use? ()A basicHttpBinding and HTTPB basicHttpBinding and KerberosC wsHttpBinding and KerberosD wsHttpBinding and HTTPS

考题 单选题You have a computer that runs Windows 7. You install Windows XP in a new partition on the computer anddiscover that you can no longer start Windows 7. You need to start Windows 7 in the minimum amount oftime.  What should you do?()A From Windows XP, modify the default path in the boot.ini file.B From Windows XP Recovery Console, run the Fixboot command.C Start the computer from the Windows 7 installation media and select Install now.D Start the computer from the Windows 7 installation media and run Startup Repair.

考题 单选题Windows NT 4.0 is currently on the system you are using, and you want to install Windows 2000 Professional. Windows NT 4.0 is currently on an NFTS partition.  For some reason you have decided that you are not going to upgrade, but rather, you are going to run this in a dual boot fashion.  What do you need to do? ()A Can’t be done.B You need to put Windows 2000 on a separate partition from Windows NT 4.0C You need to put Windows 2000 on the same partition as Windows NT 4.0.D You need to upgrade Windows NT 4.0 to SP4.

考题 单选题You develop an ASP.NET web application that uses a Windows Azure web role. The application includes a startup script that installs a third-party component. You are developing a test plan for the startup script.  What should you recommend?()A  Enable Remote Desktop Protocol (RDP) and deploy the application without the startup script.  Connect to the web role instance by using RDP, and then manually test the startup script.B  Deploy the application in the Windows Azure Compute Emulator.C  Deploy theapplication with a custom error page.D  Deploy the application and then use IntelliTrace.

考题 单选题You plan to deploy Windows 7 images. You need ensure that you can deploy images by using the WindowsPreinstallation Environment (Windows PE).  What should you do add to the Windows PE image?()A Imagex.exeB Loadstate.exeC Mighost.exeD Usmtutils.exe

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