位置:首页 > 题库频道 > 其它分类 > 计算机其它 > 微软MCAD 70-310 实战百题

You create a .NET Remoting object named Patientinfo that exposes medical patient information. Because of the confidential nature of the information, you must ensure that the data remains secure.You want client applications to connect to Patientinfo over a secure communication channel. You want to accomplish this task by writing the minimum amount of code.What should you do?

发布时间:2021-12-25

A.Create your own host application and use a TcpChannel and BinaryFormatter

B.Create your own host application and use an HttpChannel and a SoapFormatter

C.Install Patientinfo in an Internet Information Services (IIS) virtual directory. Configure Patientinfo to use a TcpChannel and a BinaryFormatter. Configure IIS to use SSL

D.Install Patientinfo in an Internet Information Services (IIS) virtual directory. Configure Patientinfo to use an HttpChannel and a SoapFormatter. Configure IIS to use SSL

试卷相关题目

  • 1You are creating a Windows-based application named WinAppl. To the application, you add a Windows Form named Forml and a reference to a SingleCal 1 .NET Rernoting object named TheirObject.You need to ensure that Forml creates an instance of TheirObject to make the necessary remote object calls.Which code segment should you use?

    A.RemotingConfiguration.RegisterActivatedClientType ( —GetTy pe (TheirObject),"http://YourServer/TheirAppPath/TheirObject.rem")Dim theirObject As New TheirObject()

    B.RemotingConfiguration.RegisterWellKnownClientType( _GetTy pe(TheirObject),"http://YourServer/TheirAppPath/TheirObje ct.rem")Dim theirObject As New TheirObject ()

    C.RemotingConfiguration.RegisterActivatedServiceType( _GetT ype(TheirObject),Dim theirObject As New TheirObject ()

    D.RemotingConfiguration.RegisterWellKnownServiceType( _GetT ype(TheirObject),"http://YourServer/TheirAppPath/TheirObj ect. rem" , _WellKnownObjectMode . Singleton) Dim theirObject AsNew TheirObject()

    开始考试点击查看答案
  • 2You create an XML Web service project that consists of three services named BronzeService, SilverService, and GoldService. All three services are located in the same virtual directory on a production computer. When customers subscribe to your service, they select only one of the three available services.A new customer subscribes to SilverService. You need to create a discovery document that enables this customer to use only SilverService .Which discovery document should you create?

    A.

    B.

    C. 〈exclude path=w__vti_cnf" />^exclude path= "_vti_log'* />

    D. 〈exclude path""一vti一cnf" />〈exclude path=nBron2eServic

    E.asmxn />〈exclude path="GoldService.asmx" />

    开始考试点击查看答案
  • 3You are creating a .NET Remoting object named Payroll. The Payroll class allows remote client applications to access payroll data for your company. Client applications are developed by using Windows Forms and Web Forms.You must ensure that remote client applications are securely authenticated prior to gaining access to Payroll object. You want to accomplish this task by writing the minimum amount of code.What should you do?

    A.Use a TcpChannel and a Binary Format ter for the Payroll class

    B.Use an HttpChannel and a SoapFormatter for the Payroll class

    C.Host the Payroll class in Internet Information Services(IIS) and implement Basic authentication.

    D.Host the Payroll class in Internet Information Services(IIS) and implement Integrated Windows authentication

    开始考试点击查看答案
  • 4You are preparing to deploy an XML Web service named InventoryService. This service queries a Microsoft SQL Server database and returns information to the caller.You use Visual Studio .NET to create a setup project. You need to install InventoryService. You also need to run a script to create the necessary SQL Server database and tables to store the dat

    A.To accomplish this, you need to configure the project to have administrator rights to the SQL Server database.You add a custom dialog box to the project that prompts the user for the administrator user name and password that are used to connect to the SQL Server database. You need to make the user name and password available to a custom Installer class that will execute the script.What should you do?A.Add a launch condition that passed the user name and password to the Install subroutine

    B.Add a merge module to the project that captures the user name and password. Use the merge module to access these values in the Install subroutine

    C.Retrieve the user name and password from the saved State objectin the Install subroutine

    D.Create a custom install action. Set the CustomActionData property to the entered user name and password. Then access these values in the Install subroutine

    开始考试点击查看答案
  • 5You are debugging a visual studio . Net application. The application produces an Xml documents object and then consumes the same object. This object moves data in the application. The object has no schema, but it contains a declaration line that you must inspect.You decide to transform the XML code and its declaration into a string for easy inspection.What should you do?

    A.Assign the ToString method of the Xml Document object to astring variable

    B.Assign the OuterXml property of the XmlDocument object to a string variable

    C.Assign the OuterXml property of the DocumentElement property of the XmlDocument object to a string variable

    D.Use the WriteContentTo method of the XmlDocument object to write the document into a MemoryStream object. Use the GetXml method of the DataSet object to get a string version of the document

    开始考试点击查看答案
  • 6You create a serviced component named Scheduler. Scheduler isregistered in a library application. The Scheduler methods parseString objects into Date Time objects.You write a console application named Coverage.exe to test eachmethod in Scheduler. You want Coverage.exe to test Scheduler formultiple cultures to verify its globalization support.What should you do?

    A.Create a Culturelnfo object for each culture locale beforecalling the Scheduler methods

    B.Create a Regionlnfo object for each culture locale beforecalling the Scheduler methods

    C.Set the current thread's CurrentCulture property to eachculture locale before calling the Scheduler methods

    D.Create a Coverage .ex

    E.config file and add a element to the configuration file for each culture locale

    开始考试点击查看答案
  • 7You create an XML Web service named YourService. You must ensure that this service meets the following URL authorization requirements .0 Anonymous access must be disabled for YourService.® An authenticated user named Userl cannot access YourService. 0 All other authenticared users can access YourService.You configure Internet Information Services(IIS) to meet these requirements. You now need to configure the authorization section in the Web.config file to properly authorize the users.Which code segment should you use?

    A.

    B.

    C.

    D. 开始考试点击查看答案

  • 8You have a .NET Remoting object named BatchOrder. The BatchOrder class allows remote client applications to submit orders in batches .Each BatchOrder object holds state information that is specific to each remote client application. The BatchOrder class has overloaded constructors for initializing an object.You want to develop a server application to host BatchOrder objects. What should you do?

    A.Create a Windows service, and register BatchOrder as a client- activated object

    B.Create a Windows service, and register BatchOrder as a server- activated Singleton object

    C.Host BatchOrder in Internet Information Services (IIS) and create a Web.config file to register BatchOrder as a server- activated SingleCall object

    D.Host BatchOrder in Internet Information Services (IIS) and create a Web.config file to register BatchOrder as a server- activated object with an infinite lease

    开始考试点击查看答案
  • 9You are creating a .NET Remoting object named Dealer for automobile dealership. Dealer exposes a method named SaveSales that saves sales information for the dealership.Dealer is configured to use Integrated Windows authentication to authenticate its callers . You musL ensure that all users of SaveSales are members of the Manager group before allowing the code within SaveSales to run.Which code segment should you use?

    A.Public Function SaveSales(ByVal _ sales As DataSet) As DataSet 'Code to save sales data goes here.End Function

    B.Public Function SaveSales(ByVal _ sales As DataSet) As DataSet 1 Code to save sales data goes here.End Function

    C.〈PrincipalPermission(SecurityAction.InheritanceDemand, Role="Manager")>Public Function SaveSales (ByVal __ sales As DataSet) As DataSet 'Code to save sales data goes here.End Function

    D.Public Function SaveSales(ByVal _ sales As DataSet) As DataSet Dim role As String = "Manager"PrincipalPermission perm = NewPrincipalPermission(Nothing, role)'Code to save sales data goes her

    E.End Function

    开始考试点击查看答案
  • 10You are creating an XML Web service named LegalService. This serviceexposes two Web methods named Send Message and ReceiveMessage.SendMessage is used to send highly confidential messages to its customers. ReceiveMessage is used to receive highly confidential messages from its customers and to process these messages for future use.You need to ensure that these messages cannot be intercepted and viewed by anyone other than LegalService and the customers who access LegalService.Which security mechanism should you use?

    A.SSL

    B.Authorization

    C.Authentication

    D.Impersonation

    开始考试点击查看答案
返回顶部