You create an application. The application processes hundreds of XML documents per minute. The XML documents are validated against inline schemas. You need to load XML documents from the file system and read them as quickly as possible. XML comments must be ignored while reading the XML documents. What should you do?()A、Create an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.B、Create an instance of the XmlReader class with an instance of the XmlTextReader class.C、Create an instance of the XmlDocument class and specify a location for the application schema.D、Create an instance of the XmlReader class with an instance of the XmlNodeReader class.
You create an application. The application processes hundreds of XML documents per minute. The XML documents are validated against inline schemas. You need to load XML documents from the file system and read them as quickly as possible. XML comments must be ignored while reading the XML documents. What should you do?()
- A、Create an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.
- B、Create an instance of the XmlReader class with an instance of the XmlTextReader class.
- C、Create an instance of the XmlDocument class and specify a location for the application schema.
- D、Create an instance of the XmlReader class with an instance of the XmlNodeReader class.
相关考题:
You are developing a Windows Communication Foundation (WCF) service that will be hosted in Microsoft Internet Services (IIS) 7.0.The service must be hosted in an IIS application named Info. You need to enable this service to be hosted in IIS by changing the web.config file.Witch XML segment should you add to the web.config file?()A.B.C.D.
You want to debug the Windows Communication Foundation (WCF) client and server interaction through message and application tracing.You need to correlate traces generated on the client and the server. Which XML segment should you add to the system.diagnostics configuration element in the client and server application configuration file?()A.B.C.D.
A Windows Communication Foundation (WCF) service is responsible for transmitting XML documents between systems.The service has the following requirements:It must minimize the transmission size by attaching the XML document as is without using escape characters or base64 encoding.It must interoperate with systems that use SOAP but are not built on the .NET plafform.You need to configure the service to support these requirements. Which message encoding should you use?()A. Binary message encodingB. MTOM (Message Transmission Optimization Mechanism) message encodingC. Text message encoding with message version set to noneD. Text message encoding with message version set to SOAP 1.2
A(n) ______ document is an interlinked system of documents in which a user may iump from one document to another in a nonlinear,associative way.A.HipertextB.WebC.HtmlD.XML
The(72)is a system for linking hypertext documents Originally, each document was a page written in(73)with hyperlinks to other documents.Nowadays,XML is gradually starting to take over from(73).A.WebB.E-mailC.DNSD.FTP
You have a computer that runs Windows Vista. The computer contains a custom application. You need toexport the user state and the settings of the custom application. What should you do?()A、Run Loadstate.exe and specify the /config parameter.B、Run Scanstate.exe and specify the /genconfig parameter.C、Modify the miguser.xml file. Run Loadstate.exe and specify the /ui parameter.D、Modify the migapp.xml file. Run Scanstate.exe and specify the /i parameter.
Your company has a Microsoft Hyper-V Server 2008 R2 environment. You need to manually back up a child partition while it is turned off. Which two elements should you back up?()A、the system stateB、the InitialStore.xml fileC、the child .vhd filesD、the child .xml configuration file
You have a reference computer that runs Windows 7. You plan to deploy an image of the computer. Youcreate an answer file named answer.xml. You need to ensure that the installation applies the answer fileafter you deploy the image. Which command should you run before you capture the image?()A、Imagex.exe /append answer.xml /check.B、Imagex.exe /mount answer.xml /verify.C、Sysprep.exe /reboot /audit /unattend:answer.xml.D、S.ysprep.exe /generalize /oobe /unattend:answer.xml.
You create an application. The application processes hundreds of XML documents per minute. The XML documents are validated against inline schemas.You need to load XML documents from the file system and read them as quickly as possible. XML comments must be ignored while reading the XML documents. What should you do?()A、Create an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.B、Create an instance of the XmlReader class with an instance of the XmlTextReader class.C、Create an instance of the XmlDocument class and specify a location for the application schema.D、Create an instance of the XmlReader class with an instance of the XmlNodeReader class.
Your company has a main office and a branch office. The branch office has three servers that run a Server Core installation of Windows Server 2008 R2. The servers are named Server1, Server2, and Server3.You want to configure the Event Logs subscription on Server1 to collect events from Server2 and Server3.You discover that you cannot create a subscription on Server1 from another computer.You need to configure a subscription on Server1.Which two actions should you perform?()A、Run the wecutil cs subscription.xml command on Server1.B、Run the wevtutil im subscription.xml command on Server1.C、Create an event collector subscription configuration file. Name the file subscription.xml.D、Create a custom view on Server1 by using Event Viewer. Export the custom view to a file named subscription.xml.
A Windows Communication Foundation (WCF) service is responsible for transmitting XML documents between systems. The service has the following requirements: It must minimize the transmission size by attaching the XML document as is without using escape characters or base64 encoding. It must interoperate with systems that use SOAP but are not built on the .NET plafform. You need to configure the service to support these requirements. Which message encoding should you use?()A、Binary message encodingB、MTOM (Message Transmission Optimization Mechanism) message encodingC、Text message encoding with message version set to noneD、Text message encoding with message version set to SOAP 1.2
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to use a PresentationTraceSources object when the application is executed by users. When the application is executed in a test environment, all debug information is successfully captured. You need to be able to capture debug information when the application is deployed. What should you do?()A、Enable WPF tracing in the registry.Restart the application.B、Enable tracing by modifying local Group Policy.Restart the application.C、Open the XML configuration file for your application on the user's computer.Set tracing to a verbose level.Restart the application.D、Open the XML configuration file for your application on the user's computer.Add a trace listener.Restart the application.
You develop a Web application that writes data to a file on a server. You restrict access to the file to specific Windows users. The Web application runs as CONTOSO/ASPNET. You deny anonymous access to the application in IIS. You add the following XML segment in the Web.config file.You need to ensure that the application meets the following requirements:It must impersonate the user when it writes data to the file.It must run as CONTOSO/ASPNET when a user does not access the file. Which two actions should you perform? ()A、Use the following XML segment in the Web.config file. identity impersonate="false"/B、Use the following XML segment in the Web.config file. identity impersonate="true"/C、Use the following code segment to access the file. Dim wp As WindowsPrincipal = _CType(HttpContext.Current.User, WindowsPrincipal) Dim wi As WindowsIdentity = WindowsIdentity.GetCurrent() Dim wic As WindowsImpersonationContext = wi.Impersonate()' Access the file herewic.Undo()D、Use the following code segment to access the file. Dim wi As WindowsIdentity = WindowsIdentity.GetCurrent()Dim wic As WindowsImpersonationContext = _WindowsIdentity.Impersonate(wi.Token)' Access the file herewic.Undo()
Your company has a main office and a branch office. The branch office has three serves that run a server core installation of windows server 2008. The servers are named server1, server2, server3. You want to configure the event logs subscription on server1 to collect events from server2 and server3. You discover that you cannot create a subscription on server1 another computer. You need to configure a subscription on server1. Which two actions should you perform? ()A、Run the wecutil cs subscription.xml command on server1.B、Run the wevutil im subscription.xml command on server1.C、Create an event collector subscription configuration file. Name the file subscription.xml.D、Create a custom view on server1 by using event view. Export the custom view to a file named subscription.xml.
You have two computers named Computer1 and Computer2. Computer1 runs Windows Vista. Computer2runs Windows 7. Computer1 has a custom application installed. You create a custom XML file named app1.xml that contains the migration settings for the application. You need to migrate the configuration andapplication data for the custom application from Computer1 to Computer2. What should you do?()A、On Computer1, run Loadstate.exe /l:app1. On Computer2, run Scanstate.exe /l:app1.xml.B、On Computer1, run Scanstate.exe /i:app1.xml. On Computer2, run Loadstate.exe /i:app1.xml.C、On Computer1, run Loadstate.exe /keyfile:app1.xml. On Computer2, run Loadstate.exe /keyfile:app1.xml.D、On Computer1, run Scanstate.exe /genconfig:app1.xml. On Computer2, run Loadstate.exe /config:app1.xml.
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You need to ensure that the application is able to load staff information from an XML file into aDataSet instance. The XML file contains an inline schema. You have to call a method of theDataSet class in order to load the information. Identify how you can accomplish this?()A、You should call the ReadXml method with the ReadSchema XML read mode.B、You should call the ReadXml method with the InferTypedSchema XML read mode.C、You should call the ReadXmlSchema method.D、You should call the ReadXml method with the InferSchema XML read mode.
You are creating a Windows Forms application by using the .NET Framework 3.5 The application is used by a financial service provider.You discover that the service provider transfers large amounts of data by using XML. You need to read and validate the XMLdocuments in the most time efficient manner.Which technology should you use?()A、The XmlReader classB、The XmlDocument classC、The XmlResolver classD、The LINQ to XML method
You create a Web application to process XML documents. The Web application receives XML document files from several sources, reads them, and stores them in a Microsoft SQL Server database. The Web application parses all incoming data files to ensure that they conform to an XML schema. You need to find all validation errors in the XML document. What should you do?()A、Load the XML data by using an instance of the XmlDocument class and specify a location for the application schema.B、Configure the ValidationEventHandler in the XmlReaderSettings of the XmlReader object.C、Read the XML file into a DataSet object and set the EnforceConstraints property to True.D、Read the XML file into a DataSet object. Handle the DataSet.MergeFailed event to parse the data that does not conform to the XML schema.
You have a computer that runs Windows XP Professional. Multiple users share the computer. You log on to the computer by using the local administrator account and install a custom application. You need to add an application shortcut to the desktop of all new users who use the computer. The shortcut must appear on the desktop of new users only. What should you do?()A、Copy the shortcut to %systemdrive%/documents and settings/default user/desktop/.B、Copy the shortcut to %systemdrive%/documents and settings/all users/desktop/.C、Copy the shortcut to your desktop. Modify the %comspec% system environment variable. D、Copy the shortcut to the guest user’s desktop. Assign the Everyone group Read permission to the guest user profile.
单选题You create an application. The application processes hundreds of XML documents per minute. The XML documents are validated against inline schemas. You need to load XML documents from the file system and read them as quickly as possible. XML comments must be ignored while reading the XML documents.What should you do? ()ACreate an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.BCreate an instance of the XmlReader class with an instance of the XmlTextReader class.CCreate an instance of the XmlDocument class and specify a location for the application schema.DCreate an instance of the XmlReader class with an instance of the XmlNodeReader class.
单选题You are creating an online catalog application that will display product information on the company Web site. The product data is stored in a SQL Server 2005 database. The data is stored as relational data but must be passed to the application as an XML document by using FOR XML. You test your application and notice that not all of the items matching your query appear in the XML document. Only those products that have values for all elements in the schema appear. You need to modify your Transact-SQL statement so that all products matching your query appear in the XML document. What should you do?()AAdd an XML index to the table that contains the product data.BAdd the XSINIL argument to the ELEMENTS directive in the query.CAdd a HAVING clause to the query.DAdd the replace value of clause to the query.
单选题You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You need to ensure that the application is able to load staff information from an XML file into aDataSet instance. The XML file contains an inline schema. You have to call a method of theDataSet class in order to load the information. Identify how you can accomplish this?()AYou should call the ReadXml method with the ReadSchema XML read mode.BYou should call the ReadXml method with the InferTypedSchema XML read mode.CYou should call the ReadXmlSchema method.DYou should call the ReadXml method with the InferSchema XML read mode.
单选题You create a Web application to process XML documents. The Web application receives XML document files from several sources, reads them, and stores them in a Microsoft SQL Server database. The Web application parses all incoming data files to ensure that they conform to an XML schema. You need to find all validation errors in the XML document. What should you do? ()ALoad the XML data by using an instance of the XmlDocument class and specify a location for the application schema.BConfigure the ValidationEventHandler in the XmlReaderSettings of the XmlReader object.CRead the XML file into a DataSet object and set the EnforceConstraints property to True.DRead the XML file into a DataSet object. Handle the DataSet.MergeFailed event to parse the data that does not conform to the XML schema.
单选题You create an application. The application processes hundreds of XML documents per minute. The XML documents are validated against inline schemas.You need to load XML documents from the file system and read them as quickly as possible. XML comments must be ignored while reading the XML documents. What should you do?()ACreate an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.BCreate an instance of the XmlReader class with an instance of the XmlTextReader class.CCreate an instance of the XmlDocument class and specify a location for the application schema.DCreate an instance of the XmlReader class with an instance of the XmlNodeReader class.
单选题You have two computers named Computer1 and Computer2. Computer1 runs Windows Vista. Computer2runs Windows 7. Computer1 has a custom application installed. You create a custom XML file named app1.xml that contains the migration settings for the application. You need to migrate the configuration andapplication data for the custom application from Computer1 to Computer2. What should you do?()AOn Computer1, run Loadstate.exe /l:app1. On Computer2, run Scanstate.exe /l:app1.xml.BOn Computer1, run Scanstate.exe /i:app1.xml. On Computer2, run Loadstate.exe /i:app1.xml.COn Computer1, run Loadstate.exe /keyfile:app1.xml. On Computer2, run Loadstate.exe /keyfile:app1.xml.DOn Computer1, run Scanstate.exe /genconfig:app1.xml. On Computer2, run Loadstate.exe /config:app1.xml.
单选题You have a reference computer that runs Windows 7. You plan to deploy an image of the computer. Youcreate an answer file named answer.xml. You need to ensure that the installation applies the answer fileafter you deploy the image. Which command should you run before you capture the image?()AImagex.exe /append answer.xml /check.BImagex.exe /mount answer.xml /verify.CSysprep.exe /reboot /audit /unattend:answer.xml.DS.ysprep.exe /generalize /oobe /unattend:answer.xml.
单选题You are creating a Windows Forms application by using the .NET Framework 3.5 The application is used by a financial service provider.You discover that the service provider transfers large amounts of data by using XML.You need to read and validate the XMLdocuments in the most time efficient manner.Which technology should you use?()AThe XmlReader classBThe XmlDocument classCThe XmlResolver classDThe LINQ to XML method