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

题目

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.
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Every morning, you inspect your company's development and staging servers. You do this to ensure that the servers have the same versions of all files in your Web application.For security reasons, you can only access the staging server through FTP.You need to synchronize files from the staging server so that the staging server matches the development server.You want to achieve this goal by using the minimum amount of administrative effort. Which tool should you use?()

  • A、FTP
  • B、XCOPY
  • C、the Publish Web tool
  • D、the Copy Web tool

正确答案:D

第2题:

You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.  You deploy the application on a Microsoft IIS 6.0 Web server. The server runs on a worker process isolation mode, and it hosts the .NET Framework version 1.1 Web applications. When you attempt to browse the application, the following error message is received:  "It is not possible to run different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process."    You need to ensure that the following requirements are met: all the applications run on the server  all the applications remain in process isolation mode all the applications do not change their configuration.   Which two actions should you perform?()

  • A、Create a new application pool and add the new application to the pool. 
  • B、Configure the IIS 6.0 to run the WWW service in the IIS 5.0 isolation mode. 
  • C、Configure the new application to use the .NET Framework version 2.0 in the IIS 6.0 Manager. 
  • D、Set autoConfig="false" on the <processModel> property in the machine.config file. 
  • E、Disable the Recycle worker processes option in the Application Pool Properties dialog box.

正确答案:A,C

第3题:

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 host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message:  Server Application Unavailable  The web application you are attempting to access on this web server is currently unavailable.Please hit the "Refresh" button in your web browser to retry your request.  You view the Application event log and discover the following message:  It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process.  To ensure productivity you need to solve this problem as quick as possible.  What should you do?()

  • A、You should change the IIS isolation mode.
  • B、You should assign the application to another application pool.
  • C、You should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.
  • D、You should run the Aspnet_regiis.exe Tool.
  • E、You should restart the application pool that hosts the application.

正确答案:B,C

第4题:

You work as an ASP.NET Web Application Developer for SomeCompany. The company uses Visual Studio .NET 2010 as its application development platform. You create an ASP.NET Web application using .NET Framework 4.0. The Web application connects to a SQL Server database. You use the ADO.NET Entity Framework to handle persistence-ignorant entities. You create an ObjectContext object named ObjContext. Subsequently, you change properties on numerous entities. You are required to save the changed entity values in the SQL Server database. Which of the following code segments will you use?()

  • A、ObjContext.SaveChanges(SaveOptions.DetectChangesBeforeSave);
  • B、ObjContext.SaveChanges(SaveOptions.AcceptAllChangesAfterSave);
  • C、ObjContext.SaveChanges(SaveOptions.All);
  • D、ObjContext.SaveChanges(SaveOptions.None);

正确答案:A

第5题:

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 manage a server that runs Windows Server 2008. The server hasTerminal Service Web Access (TS Web Access) installed. Several line-of-business applications areavailable on the server by using TS Web Access. You have a new application installed on the server. Youhave to make the application available through TS Web Access. In order to achieve this,What action should you perform?()

  • A、In order to make the application available through TS Web Access, the data source for TS Web Accessshould be specified from the TS Web Access Web site.
  • B、In order to make the application available through TS Web Access, the application should be added to the RemoteApp Programs list from TS RemoteApp Manager.
  • C、In order to make the application available through TS Web Access, the users should be added to the TS Web Access Computers group from the Local Users and Groups snap-in.
  • D、In order to make the application available through TS Web Access, the mstsc.exe command should be run and specify the /v parameter should be specified from the command prompt.

正确答案:B

第6题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a Web page to display photos and captions. The caption of each photo in the database can be modified by using the application. You write the following code fragment.  | English | Chinese | Japan | Korean | - 123 - Test Information Co., Ltd. All rights reserved.  ’ runat="server"/>  ’ runat="server" />      When you access the Web page, the application throws an error.  You need to ensure that the application successfully updates each caption and stores it in the database.  What should you do? ()

  • A、Add the ID attribute to the Label control.
  • B、Add the ID attribute to the TextBox control.
  • C、Use the Bind function for the Label control instead of the Eval function.
  • D、Use the Eval function for the TextBox control instead of the Bind function.

正确答案:B

第7题:

You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5. You deploy the application on a Microsoft IIS 6.0 Web server. The server runs on a worker process isolation mode, and it hosts the .NET Framework version 1.1 Web applications.  | English | Chinese | Japan | Korean | - 108 - Test Information Co., Ltd. All rights reserved. When you attempt to browse the application, the following error message is received:  "It is not possible to run different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process." You need to ensure that the following requirements are met:  ¡;¤All the applications run on the server  ¡;¤All the applications remain in process isolation mode  ¡;¤All the applicatios do not change their configurations.  Which two actions should you perform?()

  • A、Create a new application pool and add the new application to the pool.
  • B、Configure the IIS 6.0 to run the WWW service in the IIS 5.0 isolation mode.
  • C、Configure the new application to use the .NET Framework version 2.0 in the IIS 6.0 Manager. 
  • D、Set autoConfig="false" on the  property in the machine.config file.
  • E、Disable the Recycle worker processes option in the Application Pool Properties dialog box.

正确答案:A,C

第8题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You plan to deploy the application to a test server.  You need to ensure that during the initial request to the application, the code-behind files for the Web pages are compiled. You also need to optimize the performance of the application.  Which code fragment should you add to the Web.config file?()

  • A、<compilation debug="true"> 
  • B、<compilation debug="false"> 
  • C、<compilation debug="true" batch="true"> 
  • D、<compilation debug="false" batch="false">

正确答案:B

第9题:

Your virtual environment includes Windows Server 2008 R2 Hyper-V servers. You manage the environment by using Microsoft System Center Virtual Machine Manager (VMM) 2008 R2. You are planning to install an application upgrade. Testing the production application requires access to the following three virtual machines (VMs): a domain controller, a server that runs Microsoft SQL Server, and an IIS Web server. You need to test the application upgrade in a virtual environment that is isolated from the production network. Which two sets of actions should your plan include?()

  • A、Import the checkpoint into the test environment, and apply the application update for testing
  • B、Create a checkpoint of the three VMs, and export the checkpoint to the test environment
  • C、Create three VMs in the test environment, attach the existing .vhd files, and apply the application update for testing
  • D、Pause the three VMs, and copy the .vhd files to the test environment

正确答案:A,B

第10题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application uses Session objects. You are modifying the application to run on a Web farm. You need to ensure that the application can access the Session objects from all the servers in the Web farm. You also need to ensure that when any server in the Web farm restarts or stops responding, the Session objects are not lost.  What should you do?()

  • A、Use the InProc Session Management mode to store session data in the ASP.NET worker process. 
  • B、Use the SQLServer Session Management mode to store session data in a common Microsoft SQL Server 2005 database. 
  • C、Use the SQLServer Session Management mode to store session data in an individual database for each Web server in the Web farm. 
  • D、Use the StateServer Session Management mode to store session data in a common State Server process on a Web server in the Web farm. 

正确答案:B

更多相关问题