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.

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. 

相关考题:

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.

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()A、the ITemplatable interface B、the INamingContainer interface C、the IRequiresSessionState interfaceD、the IPostBackDataHandler interface

You create a Microsoft ASP.NET AJAX application by using the Microsoft .NET Framework version 3.5.  You attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance to debug the JavaScript code in the AJAX application.  You need to ensure that the application displays the details of the client-side object on the debugger console.  What should you do?()A、Use the Sys.Debug.fail method.B、Use the Sys.Debug.trace method.C、Use the Sys.Debug.assert method.D、Use the Sys.Debug.traceDump method.

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"

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. When you access the application in a Web browser, you receive the following error message: "Service Unavailable".  You need to access the application successfully.  What should you do?()A、Start Microsoft IIS 6.0. B、Start the Application pool. C、Set the .NET Framework version. D、Add the Web.config file for the application.

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.

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.

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.

You have a Microsoft ASP.NET Framework version 1.0 application. The application does not use any features that are deprecated in the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0.  You need to configure the application to use the ASP.NET Framework version 3.5 without recompiling the application.  What should you do?()A、Edit the ASP.NET runtime version in IIS 6.0. B、Edit the System.Web section handler version number in the machine.config file. C、Add the requiredRuntime configuration element to the Web.config file and set the version attribute to v3.5. D、Add the supportedRuntime configuration element in the Web.config file and set the version attribute to v3.5.

You have a Microsoft ASP.NET Framework version 1.0 application. The application does not use any  | English | Chinese | Japan | Korean | - 106 - Test Information Co., Ltd. All rights reserved. features that are deprecated in the Microsoft .NET Framework version 3.5. The application runs on Microsoft IIS 6.0.  You need to configure the application to use the ASP.NET Framework version 3.5 without recompiling the application.  What should you do?()A、Edit the ASP.NET runtime version in IIS 6.0.B、Edit the System.Web section handler version number in the machine.config file.C、Add the requiredRuntime configuration element to the Web.config file and set the version attribute to v3.5.D、Add the supportedRuntime configuration element in the Web.config file and set the version attribute to v3.5.

You create Windows Forms applications by using the .NET Framework 3.5. You plan to use a setup project to deploy a new Windows Forms application.The application uses a component that requires the Microsoft NET Framework 1.1.You need to create a launch condition so that the application can be deployed on client computers.   What should you do?()A、Use the Depth property.B、Use the Version property.C、Use the MinVersion property.D、Use the ComponentID property.

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()A、the ITemplatable interfaceB、the INamingContainer interfaceC、the IRequiresSessionState interfaceD、the IPostBackDataHandler interface

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:         ’ 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.

You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.  The computer that hosts the ASP.NET Web application contains a local instance of Microsoft SQL Server 2005. The instance uses Windows Authentication. You plan to configure the membership providers and the role management providers.  You need to install the database elements for both the providers on the local computer.  What should you do?()A、Run the sqlcmd.exe -S localhost E command from the command line. B、Run the aspnet_regiis.exe -s localhost command from the command line. C、Run the sqlmetal.exe /server:localhost command from the command line. D、Run the aspnet_regsql.exe -E -S localhost -A mr command from the command line.

You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.  When you review the application performance counters, you discover that there is an unexpected increase in the value of the Application Restarts counter. You need to identify the reasons for this increase.  What are three possible reasons that could cause this increase?()A、Restart of the Microsoft IIS 6.0 host.B、Restart of the Microsoft Windows Server 2003 that hosts the Web application.C、Addition of a new assembly in the Bin directory of the application.D、Addition of a code segment that requires recompilation to the ASP.NET Web application.E、Enabling of HTTP compression in the Microsoft IIS 6.0 manager for the application.F、Modification to the Web.config file in the system.web section for debugging the application.

You create a Microsoft ASP.NET Web application by using the Microsoft .NET Framework version 3.5.  You use Windows Authentication for the application. You set up NTFS file system permissions for the Sales group to access a particular file. You discover that all the users are able to access the file.  You need to ensure that only the Sales group users can access the file. What additional step should you perform?()A、Remove the rights from the ASP.NET user to the file. B、Remove the rights from the application pool identity to the file. C、Add the identity impersonate="true"/ section to the Web.config file. D、Add the authentication mode="[None]" section to the Web.config file.

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application contains a DataSourceControl named CategoriesDataSource that is bound to a Microsoft SQL Server 2005 table. The CategoryName column is the primary key of the table. You write the following code fragment in a FormView control:   01    02   Category:   03      09      10     You need to ensure that the changes made to the CategoryID field can be written to the database.  Which code fragment should you insert at line 04?()A、SelectedValue='%# Eval("CategoryID") %' B、SelectedValue='%# Bind("CategoryID") %' C、SelectedValue='%# Eval("CategoryName") %' D、SelectedValue='%# Bind("CategoryName") %'

You modify an existing Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You add a theme to the ASP.NET application.  You need to apply the theme to override any settings of individual controls.  What should you do?()A、In the Web.config file of the application,set the Theme attribute of the pages element to the name of the theme.B、In the Web.config file of the application,set the StyleSheetThemeattribute of the pages element to the name of the theme.C、Add a master page to the application. In the @Master directive,set the Theme attribute to the name of the theme.D、Add a master page to the application. In the @Master directive,set the StyleSheetTheme attribute to the name of the theme.

多选题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?()ACreate a new application pool and add the new application to the pool.BConfigure the IIS 6.0 to run the WWW service in the IIS 5.0 isolation mode.CConfigure the new application to use the .NET Framework version 2.0 in the IIS 6.0 Manager.DSet autoConfig=false on the processModel property in the machine.config file.EDisable the Recycle worker processes option in the Application Pool Properties dialog box.

多选题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?()ACreate a new application pool and add the new application to the pool.BConfigure the IIS 6.0 to run the WWW service in the IIS 5.0 isolation mode.CConfigure the new application to use the .NET Framework version 2.0 in the IIS 6.0 Manager.DSet autoConfig=false on the  property in the machine.config file.EDisable the Recycle worker processes option in the Application Pool Properties dialog box.

单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a Web form in the application by using the following code fragment:   01     02 protected void Button_Handler(object sender, EventArgs e)   03 {   04   // some long-processing operation.  05 }   06    07  A AB BC CD D

单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a Web form in the application by using the following code fragment:   01     02 protected void Button_Handler(object sender, EventArgs e)   03 {   04   // some long-processing operation.  05 }   06    07  AABBCCDD

多选题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?()AYou should change the IIS isolation mode.BYou should assign the application to another application pool.CYou should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.DYou should run the Aspnet_regiis.exe Tool.EYou should restart the application pool that hosts the application.

单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()Athe ITemplatable interfaceBthe INamingContainer interfaceCthe IRequiresSessionState interfaceDthe IPostBackDataHandler interface

单选题You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a custom-templated server control.  You need to ensure that the child controls of the server control are uniquely identified within the control hierarchy of the page.  Which interface should you implement?()Athe ITemplatable interface Bthe INamingContainer interface Cthe IRequiresSessionState interfaceDthe IPostBackDataHandler interface