1.
You are creating an ASP.NET application by using the .NET Framework 3.5. The application has performance problems. You plan to collect sample timing information for each page. You need to ensure that while collecting the information, the following requirements are met: The application remains online. The trace output is not visible to end users. The trace output contains the rendering time for all controls on all the pages. What should you do?
2.
You are creating ASP.NET applications by using the .NET Framework 3.5. The application uses the health monitoring events to raise application audit events in the following scenarios: When users log in When users change their passwords When users perform other security-related actions You need to ensure that the application logs all audit events for all applications on the Web server. What should you do?
3.
You are creating ASP.NET applications by using the .NET Framework 3.5. The application occasionally experiences errors that cannot be reproduced on a test environment.  You need to ensure that the application meets the following requirements: All unexpected errors are logged. Logging is configured with a minimum amount of modification to the application code. What should you do?
4.
You are creating an ASP.NET application by using the .NET Framework 3.5. The application must meet the following requirements: Create a tracking number to identify errors. Display the tracking number to the user when an error occurs. You need to ensure that all the exceptions that contain the tracking number are logged. You also need to ensure that the exceptions to new pages that are added to the application are also logged in the same manner. What should you do?
5.
You are creating an ASP.NET application by using the .NET Framework 3.5. The application will not be deployed on a Web farm or a Web garden scenario. The application must meet the following requirements: It stores shopping cart data for each user for the entire lifetime of an active session. The shopping cart data can be stored regardless of browser settings. You need to ensure optimal performance of the application for the shopping cart functionality. Which storage mechanism should you use to store the shopping cart data?
6.
You are creating an ASP.NET application by using the .NET Framework 3.5. You create an AJAX Web form in the application. You create an ASP.NET AJAX client-component class in the Web form. The class will be used in a JavaScript function in the Web form. You plan to debug the JavaScript function. You need to display all the fields of the AJAX client-component object in the trace console in the Web form by using the minimum amount of code. Which method should you use?
7.
You are an ASP.NET application developer. You plan to debug an ASP.NET application that is developed by using Microsoft .NET Framework 2.0. You set a breakpoint in the JavaScript code that is stored in an external file. The application fails to stop at the breakpoint. You need to debug the application by using Microsoft Visual Studio 2008. You want to achieve this goal by using the least amount of development effort. What should you do?
8.
You are creating an ASP.NET application by using the .NET Framework 3.5. Based on the user name and the time of the day, you are required to provide the following features:
1. Branding of images
2. Control colors
3. Page layouts
You need to provide these features on each page of the application when the page requests are made. What should you do?
9.
You are creating an ASP.NET application by using the .NET Framework 3.5. You need to ensure that the application meets the following requirements: The layout that must be applied to the pages in the application can be selected by the developers. The layout of the pages can be modified by the developers without the source code modification. A consistent page layout is maintained. What should you do?
10.
You are creating ASP.NET applications by using the .NET Framework 3.5. The applications will be hosted on the same physical Web server. You have the following page layout requirements: A common page layout that applies to all the ASP.NET pages across the Web applications All pages to automatically reflect changes that are made to the common page layout You create a master page that provides the page layout. You need to implement a solution that meets the layout requirements. Which three additional tasks should you perform? (Each correct answer presents part of the solution. Choose three.)