Which data store should you use?
You are creating two related desktop applications by using the .NET Framework 3.5.
The applications will access and manage the timesheet entries that are stored in a shared local data
store.
An existing ASP.NET application that uses a Microsoft SQL Server 2005 Standard Edition database
provides corporate timesheet entry management.
You need to deploy a local data store that helps reuse schemas and stored procedures that are defined in
the database.
Which data store should you use?
What should you do?
You create a class library by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
When an instance of the class is created, the class acquires a handle from the WIN32 DLL and saves the handle to a data member.
You need to identify a strategy to ensure that the Win32 DLL handle releases resources when they are no longer being used.
What should you do?
Which code segment should you add at line 06?
You are creating a Windows Forms application by using the .NET Framework 3.5.You write the following code segment to bind a list of categories to a drop-down list. (Line numbers are included for reference only.)
01 OleDbConnection cnnNorthwind =new OleDbConnection(connectionString);
02 OleDbCommand cmdCategory = new OleDbCommand(“SELECT CategoryID, CategoryName FROM Categories ORDER BYCategoryName”, cnnNorthwind);
03 OleDbDataAdapter daCategory = newOleDbDataAdapter(cmdCategory);
04 DataSet dsCategory = new DataSet();
05 daCategory.Fill(dsCategory);
06
You need to ensure that the drop-down list meets the following requirements:
* Displays all category names.
* Uses the category ID as the selected item value.
Which code segment should you add at line 06?
What should you do to ensure that the requirements are met by using minimum possible development effort?
4:You are creating a Windows application by using the .NET Framework 3.5. The application must meet the following requirements:
* It records the details of the users who modify sensitive information.
* It requires a context-related stack dump for the details.
* It is executed by using the local user account without administrative privileges.
You need to ensure that the requirements are met by using minimum possible development effort. What should you do?
What should you do?
You are an enterprise application developer. You plan to evaluate the performance of an ASP.NET application. You review a performance monitoring log. You notice that the ASP.NET Worker Process Restarts performance counter shows a consistent measure over several days. However, the performance counter spikes unexpectedly at irregular intervals. You need to provide the following information: An explanation for the performance spike.A plan to ensure that the performance spike does not recur.
What should you do?
Which data store should you use?
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?
What should you do?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You are creating a high-level design for the application. You identify several functionalities that can be developed as reusable components.
You need to identify the public interface for each component from the application design.
What should you do?
What should you do?
You are creating a Windows application by using the .NET Framework 3.5. The application will be used to manage records of patients at the hospital. Each application form contains a TreeView control that displays a hierarchical list of patients. Items from the TreeView controls can be dragged to other controls on the form. Each form has a different layout. You discover that items from the TreeView controls of 10 forms cannot be dragged to other forms. You need to ensure that the TreeView controls across all forms in the application function appropriately. You want to achieve this goal by using minimum development effort. What should you do?
How should you complete the diagram?
You are an enterprise application developer. You are developing an application that runs in an N- tier environment. You need to design your N-tier layers to enforce client-based certificate security.
How should you complete the diagram? (To answer, drag the appropriate layers to the correct locations in the answer area.)
Which two actions should you perform?
You are creating a Windows application by using the .NET Framework 3.5.
The corporate users will install the application from an Intranet Web site.
You plan to use ClickOnce deployment to perform the following tasks:
Publish the application.
Release application service packs.
The update strategy must prevent users from launching an earlier version of the application when a new
service pack is available.
You need to recommend an update strategy.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)