PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which provider class should you extend?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application will utilize the ASP.NET Profile provider to store user information in Microsoft SQL Server.

The provider must integrate with a custom table that stores each profile property in a separate column.

You need to create a custom Profile provider by extending an existing provider class that will result in the least amount of effort.

Which provider class should you extend?

What should you do?

You create a PerformancePoint Add-in for Excel report. You publish the report as a form. Users can modify the values that are stored in the non-leaf members. You need to ensure that any changes made to nonCleaf-member values are also propagated to the leaf-member values.

Your solution must maintain the proportion between the leaf-member values. What should you do?

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application will use ASP.NET Forms authentication. Authentication information will be stored

in a Microsoft SQL Server 2008 database instance.

You need to ensure that passwords are stored by using a non-reversible technique. You also need to ensure that stored passwords are as secure as possible.

What should you do?

What should you do?

You are writing an application that reads messages from a message queue.
The name of the message queue is stored in a member variable named queueName.
When a message is read, the application processes the message.
The code for the application is as follows:

class MyApp
{
MessageQueue queue;
public MyApp()
{
queue = new MessageQueue(queueName, QueueAccessMode.Receive);
queue.ReceiveCompleted += new ReceiveCompletedEventHandler(this.ReceivedMessage);
queue.BeginReceive();
}
bool KeepListening() { }
void ProcessMessage(Message m) { }
}

You need to ensure that the application continues to read messages when the KeepListening method returns True, and stops when the KeepListening method returns False.

What should you do?

What should you do?

You create a PerformancePoint Add-in for Excel report. Your model has a dimension named Products. The Products dimension contains two member sets named Color and ProductCategory. You add a matrix to the report. The matrix displays the number of products in the ProductCategory member set. You need to ensure that the matrix displays the number of products in the ProductCategory member set only if the Color member has a value of either Red or Blue. What should you do?

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

The application is configured to run by using a specific set of user credentials. Other applications are not allowed to use these user credentials. The application uses asymmetric encryption to encrypt and decrypt messages to other servers.

You need to protect the private key used to encrypt and decrypt messages from being accessed by other users or applications on the same server.

What should you do?

What should you do?

You create a serviced component.

You install the component into the COM+ catalog.
COM+ runs on the server.

A Windows-based application that is installed on multiple desktop computers must use the component.
The component must run on the server, but the Windows-based application must send component method calls over the network to the component.
The communications protocol used is DCOM.
You need to ensure that the Windows-based application can connect to the component.

What should you do?