单选题You are troubleshooting an ASP.NET Web application. System administrators have recently expanded your web farm from one to two servers. Users are periodically reporting an error message about invalid view state. You need to fix the problem. What should you do?()ASet viewStateEncryptionMode to Auto in web.config on both servers.BSet the machineKey in machine.config to the same value on both servers.CChange the session state mode to SQLServer on both servers and ensure both servers use the same connection string.DOverride the SavePageStateToPersistenceMedium and LoadPageStateFromPersistenceMedium methods in the page base class to serialize the view state to a local web server file.

单选题
You are troubleshooting an ASP.NET Web application. System administrators have recently expanded your web farm from one to two servers. Users are periodically reporting an error message about invalid view state. You need to fix the problem. What should you do?()
A

Set viewStateEncryptionMode to Auto in web.config on both servers.

B

Set the machineKey in machine.config to the same value on both servers.

C

Change the session state mode to SQLServer on both servers and ensure both servers use the same connection string.

D

Override the SavePageStateToPersistenceMedium and LoadPageStateFromPersistenceMedium methods in the page base class to serialize the view state to a local web server file.


参考解析

解析: 暂无解析

相关考题:

You are creating an ASP.NET web application that hosts several Windows Communication Foundation (WCF) services.The services have ASP.NET Compatibility Mode enabled. Users authenticate with the Web application by using a cookie-based ASP.NET Forms Authentication model.You add a service file named Authentication.svc that contains the following code segment:%@ ServiceHost Service=System.Web.ApplicationServices.AuthenticationServiceFactory=System.Web.ApplicationServices.ApplicationServicesHostFactory %You need to ensure that users can access the WCF services without having to re-authenticate.Which two configuration settings should you add? (Each is part of a complete solution. Choose two.)()A. In the system web. Extensions scripting/webServices/authenticationService element, set the enabled attribute to true.B. In the system web. Extensions scripting/webServices/profileService element, set the enabled attribute to true.C. Add a service endpoint with basicHttpBinding for the contract System.Web.ApplicationServices.AuthenticationService.D. Add a custom service behavior named AuthenticationService Type Behaviors with a service AuthenticationManager element that has service AuthenticationManagerType set to System.Web.Security.SQL Membership Provider

You are the newly appointed system administrator at Certkiller.com. The previous administratorcreated a Microsoft ASP.NET application using Microsoft .NET Framework v3.5.  You need to capture the timing and performance information of the application. Managementwants you to make sure that data is only accessible when a client is logged onto the Web servernot the individual Web pages.  What should you do?()A、You should consider adding compilation debug="true" / to the Web.config file.B、You should consider adding compilation debug="false" urlLinePragmas="true" / to theWeb.config file.C、You should consider adding trace enabled="true" writeToDiagnosticsTrace="true"pageOutput="true" localOnly="true" / to the Web.config file.D、You should consider adding trace enabled="true" pageOutput="false" localOnly="true" / tothe Web.config file.

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.

Certkiller.com has hired you as a system administrator for their network. The previousadministrator created a Microsoft ASP.NET Web application. Microsoft .NET Framework v3.5 wasused to create this application. You detect an unexpected increase in the value of the Application Restarts counter whilstmonitoring the application performance counters. You receive an instruction from management toidentify the reasons for the increase. What should you identify?()A、The increase occurred due to changes made to the Web.config file in the system.web sectionfor debugging the application.B、The increase occurred due to the Microsoft IIS 6.0 host being restarted.C、The increase occurred due to an additional code fragment that needs recompilation to theASP.NET Web application.D、The increase occurred due to the Microsoft Windows Server 2003 that hosts the Webapplication being restarted.E、The increase occurred due to an additional new assembly in the Bin directory of the application.F、The increase occurred due to HTTP compression being enabled in the Microsoft IIS 6.0manager for the application

You create a mobile Web application. You need to use a Command control to post user input from the UI elements back to the server. What are two possible ways to achieve this goal?()A、Place the Command control within an instance of the System.Web.UI.MobileControls.SelectionList control.B、Place the Command control within an instance of the System.Web.UI.MobileControls.ObjectList control.C、Place the Command control within an instance of the System.Web.UI.MobileControls.Form control.D、Place the Command control within an instance of the System.Web.UI.MobileControls.Panel control.

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 are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using the ASP.NET page designer.  You need to add a control to the master page to define the region. Which control should you add?()A、ContentB、ContentPlaceHolderC、PlaceHolderD、Substitution

Certkiller.com has employed you as a system administrator. Your job function encompassescreating an ASP.NET application for the network. You make use of Microsoft .NET Frameworkv3.5 to creaste the application.  You receive a request from management to capture the timing and performance data of the newlycreated application. For security purposes you need to make sure that he data is only availablewhen a Certkiller user is logged on to the Web server and not on individual Web pages.  What should you do?()A、You should consider adding trace enabled="true" writeToDiagnosticsTrace="true"pageOutput="true" localOnly="true" / to the Web.config file.B、You should consider adding compilation debug="false" urlLinePragmas="true" / to theWeb.config file.C、You should consider adding trace enabled="true" pageOutput="false" localOnly="true" / tothe Web.config file.D、You should consider adding compilation debug="true" / to the Web.config file.

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 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 are developing an ASP.NET Web application. You create a master page. The master page requires a region where you can add page-specific content by using theASP.NET page designer. You need to add a control to the master page to define the region. Which control should you add?()A、PlaceHolderB、ContentPlaceHolderC、ContentD、Substituition

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. You create a Web page in the application. The Web page will get large sets of data from a data source.  You add a DataPager control to the page. You are required to display navigation controls that enable you to create a custom paging Ul for the DataPager control. What will you do?()A、Use NextPreviousPagerField.B、Use NumericPagerField.C、Use PreviousPagerField.D、Use NextPagerField.E、Use TemplatePagerField.

You are creating an ASP.NET Web site. The site contains pages that are available to anonymous users. The site also contains a page named Premium.aspx that provides premium content to only members of a group named Subscribers. You need to modify the web.config file to ensure that Premium.aspx can be accessed by only members of the Subscribers group. Which configuration should you use?()A、location path="Premium.aspx" system.web authorization allow users="Subscribers"/            deny users="*"/ /authorization /system.web /location B、location path="Premium.aspx" system.web authorization allow roles="Subscribers"/             deny users="*"/ /authorization /system.web /location C、location path="Premium.aspx" system.web authorization allow roles="Subscribers"/             deny users="?"/ /authorization /system.web /location D、location path="Premium.aspx" system.web authorization deny users="*"/ allow roles="Subscribers"/ /authorization /system.web /location

单选题Certkiller.com has employed you as a system administrator. Your job function encompassescreating an ASP.NET application for the network. You make use of Microsoft .NET Frameworkv3.5 to creaste the application.  You receive a request from management to capture the timing and performance data of the newlycreated application. For security purposes you need to make sure that he data is only availablewhen a Certkiller user is logged on to the Web server and not on individual Web pages.  What should you do?()AYou should consider adding trace enabled=true writeToDiagnosticsTrace=truepageOutput=true localOnly=true / to the Web.config file.BYou should consider adding compilation debug=false urlLinePragmas=true / to theWeb.config file.CYou should consider adding trace enabled=true pageOutput=false localOnly=true / tothe Web.config file.DYou should consider adding compilation debug=true / to the Web.config file.

单选题You are troubleshooting an ASP.NET Web application. System administrators have recently expanded your web farm from one to two servers. Users are periodically reporting an error message about invalid view state. You need to fix the problem. What should you do?()ASet viewStateEncryptionMode to Auto in web.config on both servers.BSet the machineKey in machine.config to the same value on both servers.CChange the session state mode to SQLServer on both servers and ensure both servers use the same connection string.DOverride the SavePageStateToPersistenceMedium and LoadPageStateFromPersistenceMedium methods in the page base class to serialize the view state to a local web server file.

多选题You are implementing an ASP.NET Web application. Users will authenticate to the application with an ID. The application will allow new users to register for an account. The application will generate an ID for the user based on the users full name. You need to implement this registration functionality. Which two actions should you perform?()AConfigure the SqlMembershipProvider in the web.config file.BConfigure the SqlProfileProvider in the web.config file.CCreate an ASP.NET page that contains a default CreateUserWizard control to create a new user account.DCreate an ASP.NET page that contains a custom form that collects the user information and then uses the Membership.CreateUser method to create a new user account.

单选题You manage a server that runs Windows Server 2008. The server has the Web Server (IIS) role installed. The Web developer at your company creates a new Web site that runs an ASP.NET 3.0 Web application.  The ASP.NET Web application must run under a security context that is separate from any other ASP.NET application on the Web server.  You create a local user account and grant account rights and permissions to run the ASP.NET Web application.  You need to configure authentication for the new Web site to support the Web application. What should you do?()AConfigure the Windows Authentication setting to Enabled.BConfigure the Forms Authentication setting to Enabled by using all the default settings.CConfigure the ASP.NET State service to log on to the new local user account by using the Services console.DConfigure the ASP.NET Impersonation setting to Enabled. Edit the ASP.NET Impersonation setting by specifying the new local user account.

单选题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?()ARemove the rights from the ASP.NET user to the file. BRemove the rights from the application pool identity to the file. CAdd the identity impersonate=true/ section to the Web.config file. DAdd the authentication mode=[None] section to the Web.config file.

单选题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?()AIn the Web.config file of the application,set the Theme attribute of the pages element to the name of the theme.BIn the Web.config file of the application,set the StyleSheetThemeattribute of the pages element to the name of the theme.CAdd a master page to the application. In the @Master directive,set the Theme attribute to the name of the theme.DAdd a master page to the application. In the @Master directive,set the StyleSheetTheme attribute to the name of the theme.

单选题You are developing an ASP.NET Dynamic Data Web application. Boolean fields must display as Yes or No instead of as a check box. You replace the markup in the default Boolean field template with the following markup.You need to implement the code that displays Yes or No. Which method of the FieldTemplateUserControl class should you override in the BooleanField class?()AOnLoadBConstructCOnDataBindingDSaveControlState

单选题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 are in charge of a server that runs Windows Server 2008. The server hasthe Web Server (IIS) server role installed. The Web developer at your company creates a new Web sitethat runs an ASP.NET 3.0 Web application. The ASP.NET Web application must run under a securitycontext that is separate from any other ASP.NET application on the Web server. You create a local useraccount and grant account rights and permissions to run the ASP.NET Web application. Authentication forthe new Web site should be configured to support the Web application. What action should you perform?()AThe ASP.NET Impersonation setting should be configured to Enabled. Edit the ASP.NET Impersonation setting by specifying the new local user account.BThe Windows Authentication setting should be configured to Enabled.CThe Forms Authentication setting should be configured to Enabled by using all the default settings.DThe ASP.NET State Service should be configured to log on to the new local user account by using the Services console.

多选题You are creating an ASP.NET web application that hosts several Windows Communication Foundation (WCF) services. The services have ASP.NET Compatibility Mode enabled. Users authenticate with the Web application by using a cookie-based ASP.NET Forms Authentication model. You add a service file named Authentication.svc that contains the following code segment: You need to ensure that users can access the WCF services without having to re-authenticate. Which two configuration settings should you add? (Each is part of a complete solution. Choose two.)()AIn the system web. Extensions scripting/webServices/authenticationService element, set the enabled attribute to true.BIn the system web. Extensions scripting/webServices/profileService element, set the enabled attribute to true.CAdd a service endpoint with basicHttpBinding for the contract System.Web.ApplicationServices.AuthenticationService.DAdd a custom service behavior named AuthenticationService Type Behaviors with a service AuthenticationManager element that has service AuthenticationManagerType set to System.Web.Security.SQL Membership Provider

多选题Certkiller.com has hired you as a system administrator for their network. The previousadministrator created a Microsoft ASP.NET Web application. Microsoft .NET Framework v3.5 wasused to create this application. You detect an unexpected increase in the value of the Application Restarts counter whilstmonitoring the application performance counters. You receive an instruction from management toidentify the reasons for the increase. What should you identify?()AThe increase occurred due to changes made to the Web.config file in the system.web sectionfor debugging the application.BThe increase occurred due to the Microsoft IIS 6.0 host being restarted.CThe increase occurred due to an additional code fragment that needs recompilation to theASP.NET Web application.DThe increase occurred due to the Microsoft Windows Server 2003 that hosts the Webapplication being restarted.EThe increase occurred due to an additional new assembly in the Bin directory of the application.FThe increase occurred due to HTTP compression being enabled in the Microsoft IIS 6.0manager for the application

多选题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?()ARestart of the Microsoft IIS 6.0 host.BRestart of the Microsoft Windows Server 2003 that hosts the Web application.CAddition of a new assembly in the Bin directory of the application.DAddition of a code segment that requires recompilation to the ASP.NET Web application.EEnabling of HTTP compression in the Microsoft IIS 6.0 manager for the application.FModification to the Web.config file in the system.web section for debugging the application.