PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

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 development and deployment of Microsoft.NET Remoting components forms part of your responsibilities at Domain.com. You are busy developing a Microsoft.NET Remoting component that will allow messages to be sent between client applications. To this end you are creating an event named MessageReceived. Message Received is configured to accept two parameters:
1. An Object instance that represents the object that raised the event.
2. A MessageReceivedEventArgs instance that will contain the data about the message that was sent.
You need to enable the client applications to receive details about a message that was sent. You thus need to code the MessageReceivedEventArgs class accordingly.

What should you do?

What should you do?

You are creating a Windows application by using the .NET Framework 3.5.
The application uses a Web Service to allow managers to retrieve employee performance data.
The application allows managers to access and modify data offline. The employee performance data is
sensitive and must be protected.
You need to implement an offline storage strategy.
What should you do?

What should you do?

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?

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 development and deployment of client applications forms part of your responsibilities at Domain.com. You are busy developing a Microsoft Windows Form application that will access a Microsoft.NET Remoting component. In the event of a user clicking the Print button on a form, the application must call a remote method asynchronously to print a batch of invoices. The application you are developing must allow users the ability to perform other tasks while the invoices are being printed. Once all of the invoices have been printed, the application must interrupt the user by displaying a message box, notifying the user of the status of the invoice printing.
You thus need to implement the functionality to meet all these requirements.

What should you do?

What should you do ?

You create a Windows application by using the .NET Framework 3.5. The application is used by
employees to submit timesheets and to generate reports.
The application must contain a Managers role and an Employees role.
You have the following security requirements:
Members of the Managers role can approve the timesheets.
Members of the Employees role can generate reports only if they are a member of the local administrators
group.
Members of the Managers role can access the application from untrusted domains.
You need to design a security model to meet the design requirements.
What should you do ?

What should you do?

You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You design a performance testing instrumentation strategy for the application. The performance tests must gather the following metrics:
– Average CPU utilization percentage
– Time duration of method calls
– Maximum number of simultaneous users
You need to design a code instrumentation strategy to capture the required information.
What should you do?

What should you do?

You create a Windows application by using the .NET Framework 3.5. The application is used for data entry purposes. The application has the following features:

* Data is read from a shared Microsoft SQL Server 2008 database instance.
* Data entered and saved by the users is temporarily stored in a local SQL Server 2008 Compact edition database instance.
* When the users log off from the application, new records from the local database instance are synchronized to the shared database.
* You discover that the performance of the application is affected when multiple users log off from the application at the same time.

You need to design a performance improvement strategy for the application by using minimum amount of cost, time, and development effort. What should you do?

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 development and deployment of Microsoft.NET Remoting components forms part of your responsibilities at Domain.com. You have just completed the development of a Microsoft.NET Remoting component. You now need to call a remote method asynchronously and obtain an IAsyncResult instance as a result. You thus need to perform additional processing while the asynchronous operation is taking place.

What should you do?

What should you do?

You create a Windows application by using the .NET Framework 3.5. The application is used by the
employees and managers of a bank.
You plan to implement role-based security for the application by using the Identity and Principal features
provided by the .NET Framework 3.5.
You need to ensure that application meets the following requirements:
All users are authenticated against credentials stored in the application database.
Only the managers can access certain features in the application.
What should you do?