微软认证考试

You work as a system administrator at Certkiller.com. You are in the process of creating anASP.NET application using Microsoft .NET Framework v3.5.  You receive an instruction from management to create a custom-templated server control. Toensure producti

题目

You work as a system administrator at Certkiller.com. You are in the process of creating anASP.NET application using Microsoft .NET Framework v3.5.  You receive an instruction from management to create a custom-templated server control. Toensure productivity you need to make sure that the child controls of the newly created servercontrol are identified within the hierarchy of the page. You thus need to identify the interface thatwill accomplish this.  What should you do?()

  • A、You should consider implementing the IRequiresSessionState interface.
  • B、You should consider implementing the ITemplatable interface.
  • C、You should consider implementing the IPostBackDataHandler interface.
  • D、You should consider implementing the INamingContainer interface
参考答案和解析
正确答案:D
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Certkiller.com has employed you as a Web Application Developer. You are in the process ofcreating an ASP.NET application using Microsoft .NET Framework v3.5. You decide to create acustom Web user control for the application.  You name this control TestShare. TestShare will be compiled as a library. The code below iswritten for TestShare. (The line numbers is included for reference purposes) 1 Protected Overloads Overrides Sub OnInit(ByVal e As EventArgs) 2 MyBase.OnInit(e) 3 4 End Sub  The master pages in the application contains the directive below:<%@ Master Language="VB" EnableViewState="false" %> You receive an instruction from management to make sure that the state of TestShare is able tocontinue on the pages that reference a master page. You thus need to determine the appropriatecode that should be added at line 3.  What should you identify?()

  • A、You should consider adding the Page.RegisterRequiresControlState(Me) code fragment.
  • B、You should consider adding the Page.UnregisterRequiresControlState(Me) code fragment.
  • C、You should consider adding the Page.RegisterStartupScript("TestShare", "server") codefragment.
  • D、You should consider adding the Page.RegisterRequiresPostBack(Me) code fragment.

正确答案:A

第2题:

You are the newly appointed system administrator at Certkiller.com. You are in the process ofcreating a Microsoft ASP.NET application using Microsoft .NET Framework v3.5.  The new application will make use of eleven themes. Certkiller clients will be permitted to selecttheir themes from the Web page. You need to make sure that the theme selected by a client isdisplayed when the client returns to the application. This should occur even when the client returnsto log on at a later date or from another workstation.  You should take cognizance of the fact that the application operates on different storage types andin different environments. Management wants you tp store the themes selected by the clients aswell as retrieving the required theme.  What should you do?()

  • A、This can be accomplished using the Response.Cookies collection in order to store the name ofthe theme that is selected by the client.
  • B、This can be accomplished by retrieving the required theme name from the Session object everytime the client visits a page.
  • C、This can be accomplished by retrieving the required theme name every time the client visits apage.
  • D、This can be accomplished by retrieving the required theme name from the Application objectevery time the client visits a page.

正确答案:B

第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 create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You host the application on a server named ContosoTest that runs Microsoft IIS 6.0. You set up remote debugging on the ContosoTest server.  You need to debug the application remotely from another computer named ContosoDev.  What should you do?()

  • A、Attach Microsoft Visual Studio.NET to the w3wp.exe process. 
  • B、Attach Microsoft Visual Studio.NET to the inetinfo.exe process. 
  • C、Attach Microsoft Visual Studio.NET to the Msvsmon.exe process. 
  • D、Attach Microsoft Visual Studio.NET to the WebDev.WebServer.exe process.

正确答案:A

第5题:

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  An exception management framework is not used in the Web application. You need to ensure thatthe application log the unhandled exceptions automatically to the event log. You need to configurethe Web.config file to accomplish this. Identify the configuration that will assist you in thisscenario?()

  • A、You should consider using the <healthMonitoring enabled="true"/> configuration.
  • B、You should consider using the <deployment retail="true"/> configuration.
  • C、You should consider using the <customErrors mode="On"/> configuration.
  • D、You should consider using the <trace enabled="true"/> configuration.

正确答案:A

第6题:

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

正确答案:A,C,E

第7题:

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.

正确答案:B

第8题:

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 interface
  • D、the IPostBackDataHandler interface

正确答案:B

第9题:

Certkiller.com has employed you as a system administrator. You are in the process of creating anASP.NET AJAX application using .NET Framework v3.5.  You receive an instruction from management to debug the JavaScript code in the application. Youthen attach Microsoft Visual Studio 2008 debugger to the Microsoft Internet Explorer instance. Youneed to make sure that the details of the client side object on the debugger console is displayedon the application.  What should you do?()

  • A、This can be achieved using the Sys.Debug.fail method.
  • B、This can be achieved using the Sys.Debug.traceDump method.
  • C、This can be achieved using the Sys.Debug.trace method.
  • D、This can be achieved using the Sys.Debug.assert method.

正确答案:B

第10题:

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  You create a custom-templated server control.  | English | Chinese | Japan | Korean | - 112 - Test Information Co., Ltd. All rights reserved. You need to ensure that the child controls of the server control are uniquely identified within thecontrol hierarchy of the page.  Which interface should you implement? ()

  • A、the ITemplatable interface
  • B、the INamingContainer interface
  • C、the IRequiresSessionState interface
  • D、the IPostBackDataHandler interface

正确答案:B

更多相关问题