1.
You are creating an ASP.NET application by using the .NET Framework 3.5. The application must use an existing Microsoft SQL Server database that stores user names and passwords in the same table. You are not allowed to change the database schema. You need to ensure that the application can use the Login, LoginView, LoginStatus, LoginName, and PasswordRecovery controls to manage user data. What should you do?
2.
You are creating an ASP.NET application by using the .NET Framework 3.5. The application stores user names and passwords in the database. You need to ensure that the passwords are encrypted and cannot be decrypted. What should you do?
3.
You are creating an ASP.NET application by using Microsoft .NET Framework 3.5. The application is a library application that catalogs subjects and books. The application contains a DataContext object named Subjects and a related line of business object named Books. The Subjects DataContext object is queried by using the following LINQ query.
var query = from subject in Subjects
where subject.Books.All(b => b.Price <= 25)
select subject;
You need to find out the results that will be returned from the query. What is the result of the query?
4.
You are creating an ASP.NET application by using the .NET Framework 3.5. The application will contain a Data Access Layer (DAL) that will support databases from third-party vendors. The application will display data by using a GridView control. You need to ensure that the application meets the following requirements: Allow paging Provide optimistic concurrency Which data access object should you use in the DAL?
5.
You are creating ASP.NET applications by using the .NET Framework 3.5. You plan to evaluate an application design that has the following specifications: Data is stored in a Microsoft SQL Server 2008 database. Data is retrieved by using a DataContext object. Data is displayed by using GridView controls. You need to choose an appropriate data source control that can be used in the design of the application. Which data source control should you use?
6.
You are creating ASP.NET applications by using the .NET Framework 3.5. The application has two tables named Products and ProductPrice. The application retrieves and stores data from the Product table into a Dataset object. The application uses the DataSet object to modify and update the data that is retrieved. The update command for the related SqlDataAdapter class is generated automatically by using a SqlCommandBuilder object. You plan to retrieve and modify data from the Product and ProductPrice tables as a unit. You need to ensure that the application can update the data in the tables. What should you do?
7.
You are creating an ASP.NET application by using the .NET Framework 3.5. You need to create a UI element in the application to meet the following requirements: Custom logic can be implemented. The element can be used in multiple places on each page. The element can be used on multiple pages within the application. The element can be redistributed for use in other applications without sharing source code or layout files. What should you do?
8.
You are creating an ASP.NET application by using the .NET Framework 3.5. You plan to develop a custom control library. Developers will use the control on Web pages in multiple applications. Each ASP.NET application will be configured by using different state management strategies. You need to ensure consistent state management for all instances of the control. Which state repository should you choose?
9.
You are creating an ASP.NET application by using the .NET Framework 3.5. You review the design of an ASP.NET Web form that collects text input. The Web form design has the following features:  It uses the single-file page model that has script blocks which specify the runat="server" attribute. It includes a TextBox control. It includes a LinkButton control to submit the Web form. It includes a RegularExpressionValidator control that validates the text input.  You need to ensure that the Web form functions properly in browsers that have JavaScript support disabled. What should you do?
10.
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application has a mobile Web form that contains the following ObjectList control. You create an event handler named ObjectListCtrl_ItemCommand. You need to ensure that the ObjectListCtrl_ItemCommand handler detects the selection of the CmdDisplayDetails item. Which code segment should you write?