What should you do?
You work as the Microsoft.NET developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003.
The implementation of policies for Web applications forms part of your responsibilities. You deployed a Microsoft Web Services Enhancements (WSE) 3.0-enabled Web service application to a production server. Each Web service that is implemented in the application has a Policy attribute applied. This attribute specifies the name of a policy in a policy file. The production server has the Microsoft.NET Framework 2.0 installed, but not Microsoft Visual Studio 2005. You are required to modify the Web service on the production server to use a different set of policies than those that were used during the development.
What should you do?
Which two actions should you perform?
You are creating a Windows client application by using the .NET Framework 3.5.
The application will be used to retrieve real-time stock information during market-trading hours.
The application has the following data transfer features:
The untyped DataSet objects are used to transfer data between the different application tiers.
The Windows Communication Foundation channel is used to connect the client application and the
service layer.
You discover that the serialization of the DataSet objects results in large payloads that cause an increase
in the network traffic.
You need to modify the serialization of the DataSet objects to reduce the network traffic. You also need to
preserve the DataTable relationships within the DataSet object.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5. The application includes a Windows Forms user interface.
The user interface connects to the business logic layer and binds the controls directly to the objects that are exposed by the business logic layer.
A class in the business logic layer performs validation of input values and implements the IDataErrorInfo interface.
You need to provide feedback to users when the business logic layer reports a validation error.
What should you do?
Which code segment should you use?
You are creating a Windows Forms application by using the .NET Framework 3.5. You write a code segment to connect to a Microsoft Access database and populate a DataSet. You need to ensure that the application meets the following requirements:
* It displays all database exceptions.
* It logs all other exceptions by using the LogExceptionToFile.
Which code segment should you use?
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.)
What should you do?
You are creating a Windows application by using the .NET Framework 3.5.
The application will be used to update information about musicians and their albums. Users can submit
their rankings for the album.
The application has the following specifications:
It contains SyncTable objects named Artist, Album, and AlbumReview.
It uses a local database cache to switch between online and offline modes.
It applies the offline changes when an Internet connection becomes available.
The application uses the ADO.NET synchronization services and contains a Synchronize() method.
You need to ensure that the application meets the following requirements:
The information about the musicians and their albums are updated in a single transaction.
The process of updates to the musicians and their albums is unaffected by the user rankings.
What should you do?
What should you do?
You create an ASP.NET application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application is installed on a Microsoft Windows 2003 server and manages several expense accounts.
The application uses Forms authentication to manage user logins. The user login information is stored in a database.
You need to generate a report that displays the user access details of the expense accounts for each user login.
What should you do?
What should you do?
You are creating a Windows application by using the .NET Framework 3.5. You add a BackgroundWorker component to a Windows form to handle a time-consuming operation. You add a Cancel button to the form. You need to ensure that when the Cancel button is pressed, the background task is cancelled. What should you do?
What should you do?
You are an enterprise application developer. You design an application that communicates with other applications through .NET Remoting. The application has a large DataSet. You need to improve the performance of the application.
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 retrieve information about the technical skills of the employees.
The data will be retrieved from the following related tables on a Microsoft SQL Server 2008 database
instance by using LINQ to SQL:
EmployeeSkills table
TechnicalSkills table
The application must retrieve data from the TechnicalSkills table only when the corresponding
EmployeeSkills rating value is 3. In addition, the application must minimize data returned and prevent
duplicate information from being returned.
You need to meet the outlined requirements in one roundtrip to the database.
What should you do?