You are creating an XML Web service that processes credit card information. This service will be consumed by computers that run on Microsoft Windows operating systems, as well as computers that run on other operating systems.You must ensure that client credentials passed to the service are secure and cannot be compromised. You are not as concerned with the length of time that Web method calls take to maintain this level of security. You need to configure authentication for this service.Which type of authentication should you use?
A.Basic
B.Forms
C.Client Certificate
D.Integrated Windows
试卷相关题目
- 1You have a .NET Remoting object named Promotions. The Promotions class allows remote client applications to add new product promotions to an online catalog application. The Promotions class is an assembly file named Fabrikam.dll.You have an Internet Information Services (IIS) virtual directory named PromotionsObject. The Fabrikam. dl 1 file is in the Promo- tionsObjectbin directory. You want to host the Promotions class in IIS.What should you do?
A.Create a We
B.config file that includes the following code segment:
B. Create a Web.config file that includes the following code segment:C.Create a Web.config file that includes the following code segment:〈configuration〉〈system.runtime.remoting〉
开始考试点击查看答案〈formatter ref="soap"/> - 2You create three Windows services named SRI, SR2, and SR3. You want to install all three services on a computer named Computer1 by using the Installer tool (Installutil.exe).On the command line of Computer1, you enter and run the following command: Installutil SRI SR2 SR3During the installation process, SR3 throws an installation error. The installation process completes.How many of the three services are now installed on Computer1?
A.None
B.One
C.Two
D.Three
开始考试点击查看答案 - 3You are creating a serviced component named CTComponent that will be distributed to your customers. You are also creating a setup project that will register the component in the global assembly cache on each customer’s computer.You anticipate that there will be future updates to CTComponent that you will provide to your customers. All updates to CTComponent will be backward compatible. You will create similar setup projects for each update of CTComponent that will register the updated assembly in the global assembly cache.You need to ensure that any applications on your customers ' computer that reference CTComponent use the most recent version of the component.Which actions should you take? (Choose all that apply)
A.Sign CTComponent by using a strong name
B.Compile CTComponent as a satellite assembly
C.Include a publisher policy file that is registered in the global assembly cache on your customer's computers
D.Increment the assembly version for each update of CTComponent
E.Add an application configuration file to CTComponent that includes assembly binding information that redirects priorversions to the updated version。
开始考试点击查看答案 - 4You are using Visual Studio .NET to develop a new application to replace an older COM-based application. The new application will use some of the old COM components until they can be replaced by Visual Studio .NET code.Your application uses a COM DLL named OurCOM.dll. The Visual Studio.NET assembly for 0urC0M.dll must be named OurDotNetCOM. You must use the name "ProjectX" for the namespace of the COM components . You must ensure that your application uses these naming guidelines. What should you do?
A.Reference OurCOM.dll from Visual Studio .NET.Change the assembly name in Solution Explorer.Change the namespace name by editing the assembly
B.Reference OurCOM.dll from Visual.NET.Change the assembly name in Solution Explorer. Change the namespace name by using the Namespace property of a Code- Name space Import object
C.Run the Type Library Importer (Tlbimp.exe) with the /namespace and/out options to create the assembly
D.Run the Type Library Importer (Tlbimp. exe) with the /out option to create the assembly. Change the namespace by using the Namespace property of a CodeNamespaceImport object
开始考试点击查看答案 - 5You are using Visual Studio .NET to develop an application. You have a common business logic component that was created in COM that you want to use until you can replace it with Visual Studio .NET code.You create the Visual Studio .NET solution for the new application. You want to use the COM component in your Visual Studio .NET solution. What should you do?
A.Register the COM component by using Regsvr32.exe
B.Run the Type Library Exporter (Tlbexp.exe) and pass the COM component as the filename parameter
C.Use Visual Studio .NET to add a reference to the COM component
D.Run the Assembly Registration tool(Regasm.exe) and pass theCOM component as the filename parameter
开始考试点击查看答案 - 6You are creating an XML Web service that provides a daily quotation from literary works to its customers. This quotation is requested in many different languages, thousands of times every day, and by thousands of Web sites operating many different platform.A Web method named GetQuotes takes a languagelD as input. GetQuotes uses this languagelD to retrieve a translated version of the daily quotation from a Microsoft SQL Server database and to return that quotation to the customer.You want to minimize the time it takes to return the translated version.What should you do?
A.Store each translated quotation by using the Cache object
B.Store each translated quotation by using the Session object
C.Set the Buf ferResponse property of the WebMethod attribute to false
D.Set the CacheDuration property of the WebMethod attribute to an interval greater than zero
开始考试点击查看答案 - 7Your company provides a credit card processing application for its customers. The current application supports only computers that run on a Microsoft Windows operating system.You are asked to rewrite the current application as a . NET application. This .NET application does not need to be backward compatible with the current application.You must ensure that this new application meets the following requirements: ••Must support asynchronous processing•Must be able to pass data through firewalls•Must pass only SOAP-Compliant formatted data validated by using an XSD schema•Must not be limited to client computers running on a Microsoft operating systemYou want to accomplish this task by using the minimum amount of development effort.Which type of .NET application should you use?
A.Windows service
B.XML Web service
C.Serviced component
D..NET Remoting object
开始考试点击查看答案 - 8You are creating an XML Web service named ListBoxService. This service provides content, such as states, countries, and geographical regions, for use in dropdown list boxes.ListBoxService contains a Web method named RetrieveRegionsListBox. This method runs a DataSet object that contains every geographical region in the world.RetrieveRegionsListBox calls a Microsoft SQL Server database to load the DataSet object with region dat
A.You want to minimize the amount of time the method takes to return to the caller.What should you do?A.Use a stored procedure to return the data
B.Store each DataSet object by using the Session object
C.Set the BufferResponse property of the Web Method attribute to false
D.Set the CacheDuration property of the WebMethod attribute to an interval greater than zero
开始考试点击查看答案 - 9Your Microsoft SQL Server 6.5 database contains a table named PurchaseOrders that consists of more than 1 million rows.You are developing an application to populate a DataReader object with data from PurchaseOrders. You want to ensure that the application processes the data as quickly as possible.You create a SQL SELECT statement in a local variable named YourSQLSelect You need to instantiate a SqlConnection object and a SqlCommand object that you will use to populate the DataReader object.Which code segment should you use?
A.Dim myConnection As New OleDbConnection —(rayOleDbConnectionString)Dim YourCommand As New OleDbCommand (YourSQLSelect)
B.Dim myConnection As New OleDbConnection (myOleDbConnectionString)Dim YourCommand As New OleDbCommand (YourSQLSelect, myConnection)
C.Dim myConnection As New SqlConnection _(mySqlConnectionString)Dim YourCommand As New SqlCommand (YourSQLSelect)
D.Dim myConnection As New SqlConnection (mySqlConnectionString)Dim YourCommand As New SqlCommand (YourSQLSelect, myConnection)
开始考试点击查看答案 - 10Your Microsoft SQL Server database contains a table named Orders. Orders is used to store new purchase orders as they are entered into an orderentry application. To keep up with customer demand, the order fulfillment department wants to know at 15-minute intervals when new orders are entered.You need to develop an application that reads Orders every 15 minutes and sends all new orders to the order fulfillment department. The application will run on computer that is used by several users who continuously log on and log off from the network to perform miscellaneous tasks.Which type of .NET application should you use?
A.Windows Form
B.Windows service
C.XML Web service
D..NET Remoting object
开始考试点击查看答案