You are integrating a Windows Communication Foundation (WCF) service within an enterprise-wide Service Oriented Architecture (SOA).Your service has the following service contract: [ServiceContract]public class CreditCardConfirmationService { [OperationContract] boolean ConfirmCreditCard(string ccNumber); double OrderAmount(int orderNumber);} You need to allow the code in the ConfirmCreditCard method to participate automatically in existing transactions.If there is no existing transaction, a new transaction must be created automatically. What should you do?()A、Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new TransactionScope()) block.B、Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new CommittableTransaction()) block.C、Add an [OperationBehavior(TransactionScopeRequired=true)] attribute to the ConfirmCreditCard method.D、Add an [OperationBehavior(TransactionAutoComplete=true)] attribute to the ConfirmCreditCard method.

You are integrating a Windows Communication Foundation (WCF) service within an enterprise-wide Service Oriented Architecture (SOA).Your service has the following service contract: [ServiceContract]public class CreditCardConfirmationService { [OperationContract] boolean ConfirmCreditCard(string ccNumber); double OrderAmount(int orderNumber);} You need to allow the code in the ConfirmCreditCard method to participate automatically in existing transactions.If there is no existing transaction, a new transaction must be created automatically. What should you do?()

  • A、Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new TransactionScope()) block.
  • B、Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new CommittableTransaction()) block.
  • C、Add an [OperationBehavior(TransactionScopeRequired=true)] attribute to the ConfirmCreditCard method.
  • D、Add an [OperationBehavior(TransactionAutoComplete=true)] attribute to the ConfirmCreditCard method.

相关考题:

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 integrating a Windows Communication Foundation (WCF) service within an enterprise-wide Service Oriented Architecture (SOA).Your service has the following service contract:[ServiceContract]public class CreditCardConfirmationService { [OperationContract] boolean ConfirmCreditCard(string ccNumber);double OrderAmount(int orderNumber);}You need to allow the code in the ConfirmCreditCard method to participate automatically in existing transactions.If there is no existing transaction, a new transaction must be created automatically. What should you do?()A. Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new TransactionScope()) block.B. Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new CommittableTransaction()) block.C. Add an [OperationBehavior(TransactionScopeRequired=true)] attribute to the ConfirmCreditCard method.D. Add an [OperationBehavior(TransactionAutoComplete=true)] attribute to the ConfirmCreditCard method.

You have a computer that runs Windows Vista.You need to ensure that the temporary Internet files are deleted when you close Windows Internet Explorer.What should you do?() A.AB.BC.CD.D

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

You enable the Windows Sidebar feature on your computer. You discover that you are unable to access the desktop icons that appear beneath the Windows Sidebar feature. You need to access these desktop icons.  What are two possible ways to achieve this goal?()A、Close the Windows Sidebar feature.B、Move all the Windows Sidebar gadgets to the desktop.C、Move the Windows Sidebar feature to the opposite side.D、Remove all gadgets from the Windows Sidebar feature.E、Configure the Windows Sidebar feature to bring all gadgets to the front.

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 work as the IT professional in an international company which is named Wiikigo. You are experiencedin implementing and administering a network operating system. You are specialized in deploying servers,configuring Windows Server 2008 Terminal services and network application services,and configuring aweb services infrastructure. You have the Windows Deployment Services (WDS) role installed on a serverthat runs Windows Server 2008. You plan to install Windows Vista on a computer that does not supportPreboot Execution Environment (PXE). You have a Windows Vista image that is stored on the WDS server. You have to start the computer and install the image that is stored on the WDS server. What should you create?()A、You should create a discover imageB、You should create an install imageC、You should create a capture imageD、You should create a CD-ROM that contains PXE drivers

You have a server that runs Windows Server 2008. You install the Windows Media Services server role on the server.  You plan to publish an audio file to the Internet by using Media Server. You need to create a license for the audio file. What should you do first?()A、Publish the audio file to a new Web site.B、Publish the audio file to the Windows Media Services server.C、Package the audio file as a Windows Installer application.D、Package the audio file by using Windows Media Rights Manager.

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 have a computer that runs Windows XP. The computer has one partition. You install Windows 7 on thecomputer. You need to migrate a user profile from the Windows XP installation to Windows 7 installation. What should you do first?()A、From Windows 7, run Scanstate.exe /offlineWinOld:c:/windows.B、From Windows 7, run Scanstate.exe /offlineWinOld:c:/windows.old.C、At the command prompt, run Xcopy /s /e c:/windows/users/*.* c:/users/.D、At the command prompt, run Xcopy /s /e c:/windows.old/documents and settings/*.* c:/users/.

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 have a single server that has a Server Core Installation of Windows Server 2012 R2. How would you install the graphical user interface (GUI) to this server?()A、You should use Windows PowerShell to run the Enable-NetFirewallRule command.B、You should use Windows PowerShell to run the Add-WindowsPackage command.C、You should use Windows PowerShell to run the Install-WindowsFeature command.D、You should use Server Manager console on to add the User Interfaces.E、You should use Server Manager console to add the Infrastructure feature.F、You should use Server Manager console to add the Windows feature.

You have a computer that runs Windows 7 Home Premium. You need to upgrade the computer to Windows7 Ultimate. You must achieve this goal in the minimum amount of time.  What should you do?()A、Perform a Windows Anytime Upgrade.B、Download and run the Windows 7 Upgrade Advisor.C、Insert the Windows 7 installation media. From the Install Windows dialog box, select the Upgrade option.D、Start the computer from the Windows 7 installation media. From the Install Windows dialog box, selectthe Upgrade option.

You have a computer that runs Windows XP Professional. The computer is configured as a Simple Network Management Protocol (SNMP) agent and is monitored by an SNMP management server.  You install Windows XP Professional Service Pack 2 (SP2) and Windows Defender on the computer. You discover that the SNMP management server can no longer collect SNMP data from the computer. You need to ensure that the SNMP management server can collect data from the Windows XP Professional computer.  What should you do?()A、Reinstall the SNMP.B、Perform a Windows Update.C、Uninstall Windows Defender. D、Create an exception in Windows Firewall.

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.

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 have a computer that runs Windows XP. The computer has one partition. You install Windows 7 on thecomputer. You need to migrate a user profile from the Windows XP installation to Windows 7 installation. What should you do first?()AFrom Windows 7, run Scanstate.exe /offlineWinOld:c:/windows.BFrom Windows 7, run Scanstate.exe /offlineWinOld:c:/windows.old.CAt the command prompt, run Xcopy /s /e c:/windows/users/*.* c:/users/.DAt the command prompt, run Xcopy /s /e c:/windows.old/documents and settings/*.* c:/users/.

单选题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?()AMount the image.BConfigure Windows Firewall.CConfigure and format the hard disk drive.DInitialize the Boot Configuration Data (BCD) store.

单选题You perform a clean installation of Windows 7 on a computer. You need to ensure that you can runWindows XP Mode in Windows 7. What should you do?()AEnable hardware-assisted virtualization.BCreate a Data Execution Prevention (DEP) exception.CInstall Windows XP in the same partition as Windows 7.DInstall Windows XP in a different partition than Windows 7.

单选题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?()AFrom Windows XP, modify the default path in the boot.ini file.BFrom Windows XP Recovery Console, run the Fixboot command.CStart the computer from the Windows 7 installation media and select Install now.DStart the computer from the Windows 7 installation media and run Startup Repair.

单选题You are the administrator of a Windows 2000 network. You are configuring eight computers to use both Windows NT Workstation 4.0 and Windows 2000 Professional. Each computer has a 10 GB hard disk. You configure the hard disk on each computer to have two 5 GB partitions. Windows NT Workstation is installed on drive D. Windows 2000 Professional is installed on drive C. In Windows 2000 Professional, you configure a disk quota on drive C to prevent users from saving work files on the disk. You restart the computers and load Windows NT Workstation 4.0. You notice that users can still save files to drive C. You want to prevent users from saving files to drive C in either operating system. You also want to ensure that users can access both drives while using either operating system. What should you do on each computer? ()AReinstall Windows NT Workstation 4.0 after configuring the disk quotasBUse Windows 2000 Professional to configure drive C as a dynamic partitionCUse Windows 2000 Professional to enable Encrypting File System (EFS) on drive CDUse Windows NT Workstation 4.0 to configure NTFS permissions on drive C to deny the usersWrite permission

单选题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? ()ACan’t be done.BYou need to put Windows 2000 on a separate partition from Windows NT 4.0CYou need to put Windows 2000 on the same partition as Windows NT 4.0.DYou need to upgrade Windows NT 4.0 to SP4.

单选题You run a Windows Defender scan on your computer system. The scan identifies one of your applications as having potentially unwanted behavior.  You need to continue to use the application. You also need to stop Windows Defender from alerting you about this application.  Which Windows Defender option should you use? ()AIgnoreBRemoveCQuarantineDAlways Allow

单选题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?()AImagex.exeBLoadstate.exeCMighost.exeDUsmtutils.exe