PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you recommend?

You are designing an n-tier solution for use by multiple groups of users. The solution consists of a client application that collects information from users and transmits it to a business layer for processing. The business layer sends the information to a service layer by using Windows Communication Foundation (WCF). The service layer exists on multiple servers.

The solution must send the collected information to a specific server in the service layer based on the user’s group.

You need to recommend an approach that will allow the information to be sent to the correct server.

What should you recommend?

Which two actions should you recommend?

You are designing a Windows Presentation Foundation (WPF) application that uses .NET Framework 4.

The application uses a subset of the functionality provided by a third-party COM component that will be replaced later.

The application developers must have access to only the required subset of functionality.

You need to recommend a solution that meets the requirements.

Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)

What should you do?

You are designing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.

The application includes Windows Workflow Foundation (WF) hosts that run thousands of workflow instances. Workflows usually take 2 hours of time to complete. The application also includes a Windows Communication Foundation (WCF) service that contains a method to check the completion status of a workflow stored in a database.

External applications that use the WCF service to check the status of workflows every minute causes performance degradation of the workflow that hosts the application.

You need to eliminate the performance degradation caused by workflow status checks.

What should you do?

What should you do?

You are creating a Windows Communication Foundation (WCF) service that implements the following service contract.

[ServiceContract]
public interface IOrderProcessing
{
[OperationContract]
void ApproveOrder(int id);
}

You need to ensure that only users with the Manager role can call the ApproveOrder method. What should you do?

What should you recommend?

You are designing a Windows Presentation Foundation (WPF) application that accesses a Microsoft SQL Server 2008 database.

You must ensure that database administrators can change the structure of database tables without requiring redeployment of the WPF application.

You need to recommend a data modeling and data access strategy.

What should you recommend?.

What should you do?

A Windows Communication Foundation (WCF) client uses the following service contract.
(Line numbers are included for reference only.)

01 [ServiceContract]
02 public interface IService
03 {
04 [OperationContract]
05 string Operation1();
06 [OperationContract]
07 string Operation2();
08 }

You need to ensure that all calls to Operation1 and Operation2 from the client are encrypted and signed. What should you do?

What should you do?

You are analyzing a Windows client application that uses Microsoft Visual Studio 2010 and Microsoft SQL Server 2008.

The application updates two database tables from the main user interface (UI) thread. You need to ensure that the following requirements are met:
The database tables are either updated simultaneously or not updated at all. Users are notified of the success or failure of the updates. Users are able to perform other tasks during the update process.

What should you do?