1.
You are creating a Windows application by using the .NET Framework 3.5. The application is used to manage employee information. The application meets the following specifications: A main form named EmployeeList contains a list control that displays a list of all employees. The menu items help simultaneously display various detail forms for each employee selected from the list control. Each detail form for a selected employee contains a different set of information about the employee. You need to ensure that when a user switches from one employee to another, the open detail forms are updated to the corresponding employee information. What should you do?
2.
You are creating a Windows application by using the .NET Framework 3.5. Your application requires a local data store that requires no administrative privileges to install. The data store must use the ClickOnce deployment. The application will cache data when offline. When the application returns online, it must synchronize data with a corporate SQL Server 2008 database. You need to identify a local data store that meets the outlined requirements. You also need to ensure that the application uses minimum possible memory. Which data store should you use?
3.
You are creating a Windows application by using the .NET Framework 3.5. The application makes function calls to an unmanaged library to control the operation of a robot. You create a class that consumes significant memory during function calls to the unmanaged library. You discover that memory consumption increases over time. You need to ensure that the application consistently consumes minimum memory. What should you do?
4.
You create a Windows application by using the .NET Framework 3.5. The application has a complex form that is used to capture information. Users of the application enter data in the forms quickly by using tabs to navigate through the form controls. They must be immediately notified when they enter invalid data in the form controls. You need to notify the users without blocking the data entry process. Which control should you use?
5.
You maintain a Windows Forms application and an ASP.NET application. The Windows Forms application has the following features: The application impersonates the logged-on user. The data is stored in a Microsoft SQL Server 2008 database. The application grants user access to data by calling the IPrincipal.IsInRole method on the basis of user roles. The ASP.NET application uses forms-based authentication to authenticate users. You need to share the login and user role information between the Windows Forms application and the ASP.NET application. What should you do?
6.
You create a Windows application by using the .NET Framework 3.5. The application will connect to a Microsoft SQL Server 2008 database on the network. You are creating the data access layer for the application. The database schema will change regularly. You need to ensure that the schema changes can be applied with minimum possible development effort. Which data access technology should you use?
7.
You are creating a Windows application by using the .NET Framework 3.5. You configure the deployment project of the application to deploy an assembly named MyClass.dll to the global assembly cache (GAC). You replace the existing version of the application with an updated version. You discover that because of the presence of an old version of MyClass.dll assembly in the GAC, the updated version does not function properly. You need to ensure that when the application is uninstalled for replacement, the MyClass.dll assembly is deleted from the GAC. What should you do?
8.
You create a Windows application by using the .NET Framework 3.5. The application will connect to a Microsoft SQL Server 2008 database on the network. You are creating the data access layer for the application. The database schema will change regularly. You need to ensure that the schema changes can be applied with minimum possible development effort. Which data access technology should you use?
9.
You maintain a Windows Forms application and an ASP.NET application. The Windows Forms application has the following features: The application impersonates the logged-on user. The data is stored in a Microsoft SQL Server 2008 database. The application grants user access to data by calling the IPrincipal.IsInRole method on the basis of user roles. The ASP.NET application uses forms-based authentication to authenticate users. You need to share the login and user role information between the Windows Forms application and the ASP.NET application. What should you do?
10.
You create a Windows application by using the .NET Framework 3.5. You review the design for a Windows application that has the following features: The data layer sends and receives data updates by using Microsoft Messaging Queue (MSMQ) 4.0. Data is stored in a Microsoft SQL Server 2008 server database instance. Data from a DataSet object is displayed in a DataGrid control. The application is deployed to portable computers that can access the corporate network only when plugged on to it. The data must be most securely stored when the computer is in offline mode. You need to ensure that the portable computers can update data even when offline. What should you do?