考题
You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error.Which event should you use? ()A. WebAuditEventB. WebEventManagerC. WebBaseEventD. WebRequestEvent
考题
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()A. Include a data source identified as WebPartConnection1 on the Web Form.B. Include a Web Part identified as customerPart on the Web Form.C. Include a Web Part identified as ordersPart on the Web Form.D. Ensure that you declare an interface named IOrdersPart.E. Ensure that you declare an interface named ICustomerPart.F. Ensure that each Web Part declares either a GetInterface or ProvideInterface method.
考题
A customer wants to improve the availability of a web application and provide more predictable scalability when scaling out the application. Which Feature of WebLogic should you recommend to help solve this problem?()A、Oracle Web GridB、ActiveCacheC、Coherence Grid EditionD、WebLogic Session ReplicationE、Coherence Web Edition
考题
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.
考题
Your team creates a Web site. The Web site needs to be deployed to a staging server for performance testing. You plan to make a number of performance enhancements and then retest. You need to compile and copy the Web site to the staging server. What should you do? ()A、Write a batch file that uses aspnet_compiler.exe.B、Write a batch file that uses InstallUtil.exe.C、Write a batch file that uses Csc.exe.D、Write a batch file that uses aspnet_wp.exe.
考题
You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()A、Ensure that the Web control inherits from the WebControl class.B、Ensure that the Web control inherits from the Control class.C、Ensure that the Web control inherits from the CompositeControl class.D、Ensure that the Web control inherits from the UserControl class.
考题
You are implementing a Web page that displays text that was typed by a user. You need to display the user input in the Web page so that a cross-site scripting attack will be prevented. What should you do?()A、Call document.write.B、Call Response.Write.C、Call HttpUtility.UrlEncode.D、Call HttpUtility.HtmlEncode.
考题
You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()A、Include a data source identified as "WebPartConnection1" on the Web Form.B、Include a Web Part identified as "customerPart" on the Web Form.C、Include a Web Part identified as "ordersPart" on the Web Form.D、Ensure that you declare an interface named "IOrdersPart".E、Ensure that you declare an interface named "ICustomerPart".F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.
考题
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 are creating a Windows Forms application by using the .NET Framework 3.5.You plan to develop a new control for the application. You need to ensure that the control extends the DataGridView control by allowing the cells to contain multicolored text. What should you do?()A、Override the OnPaint method.B、Write a code segment to handle the CellPainting event.C、Write a code segment to handle the CellParsing event.D、Write a code segment to handle the RowPostPaint event.
考题
You create a Web application. You need to turn on Tracing for a page that is not performing well. You must store the trace information in a database for reporting and trending. Which two actions should you perform? ()A、Add a TraceContextEventHandler to the Trace.TraceFinished event to add the trace records into the database.B、Add a system.diagnostics section to the Web.config file. Then add a listener to the new section.C、Use the System.Diagnostics.Trace object to connect to a database. Then insert the trace records.D、In the Page_Load for the page, place the Trace.Write call into a SQL INSERT statement.
考题
You are developing a Web application. The Web application restricts access to an administrative page. The Web application uses the following code segment to protect the page.if (Page.User.Identity.Name != @"CONTOSO/Administrator") { the page, you are redirected to Login.aspx. You discover that the User.Identity.Name property is not being correctly populated. You need to ensure that you can access the page when you are logged on as Administrator. Which two actions should you perform? ()A、In the Web.config file, enable impersonation.B、In IIS, enable anonymous access.C、In IIS, disable anonymous access.D、In the Web.config file, set the authentication mode to Windows.
考题
You create a Web application. The Web application enables users to change fields in their personal profiles. Some of the changes are not persisting in the database. You need to raise a custom event to track each change that is made to a user profile so that you can locate the error. Which event should you use?()A、WebAuditEventB、WebEventManagerC、WebBaseEventD、WebRequestEvent
考题
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You use the ClickOnce deployment methodology to distribute the application. You need to store application-specific data along with read/write permissions without requiring elevated permissions for the application. Where should you store the application data?()A、In isolated storage.B、On the database server.C、In the ClickOnce data directory.D、In the App.config file of the application.
考题
单选题A customer wants to improve the availability of a web application and provide more predictable scalability when scaling out the application. Which Feature of WebLogic should you recommend to help solve this problem?()A
Oracle Web GridB
ActiveCacheC
Coherence Grid EditionD
WebLogic Session ReplicationE
Coherence Web Edition
考题
单选题You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You use the ClickOnce deployment methodology to distribute the application. You need to store application-specific data along with read/write permissions without requiring elevated permissions for the application. Where should you store the application data?()A
In isolated storage.B
On the database server.C
In the ClickOnce data directory.D
In the App.config file of 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: ’ 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 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 are designing a Windows Azure web application. All users authenticate by using their Active Directory Domain Services (AD DS) credentials. You need to recommend an approach for enabling single sign-on for domain-authenticated users. Which two actions should you recommend?()AUse Forms authenticationto generate claims.BUse Active Directory Federation Services (AD FS) to generate claims.CUse SqlMembershipProvider in the web application.DUse Windows Identity Foundation in the web application.
考题
单选题You are developing an ASP.NET MVC 2 Web application. A page makes an AJAX request and expects a list of company names in the following format. ["Adventure Works","Contoso"] You need to write an action method that returns the response in the correct format. Which type should you return from the action method?()A
AjaxHelperB
XDocumentC
JsonResultD
DataContractJsonSerializer
考题
多选题You create a Web application. You need to turn on Tracing for a page that is not performing well. You must store the trace information in a database for reporting and trending. Which two actions should you perform? ()AAdd a TraceContextEventHandler to the Trace.TraceFinished event to add the trace records into the database.BAdd a system.diagnostics section to the Web.config file. Then add a listener to the new section.CUse the System.Diagnostics.Trace object to connect to a database. Then insert the trace records.DIn the Page_Load for the page, place the Trace.Write call into a SQL INSERT statement.
考题
单选题You want to enable users of a Web application to modify the Web application's UI and behavior. These modifications must be maintained at the user level so that when users return to the Web application, the changes are still in effect. You need to achieve this goal by using the minimum amount of custom code. What should you do?()A
Persist control data by using view state.B
Use Web Part controls.C
Maintain a profile for each user.D
Enable session state on the Web application.
考题
问答题Directions: You are applying for admission to an English Course. Write a letter to introduce yourself, and you want to gain an application. You should write about 100 words on answer sheet 2. Do not sign your own name at the end of the letter. Use “Li Ming” instead. You do not need write the address.