PrepAway - Latest Free Exam Questions & Answers

Tag: 70-518

Exam 70-518: Pro: Designing and Developing Windows Applications Using Microsoft .NET Framework 4

What should you do?

You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application will consist of a user interface (UI) tier and a middle tier. The middle tier will be implemented by using Windows Communication Foundation (WCF). You plan to design the exception handling strategy for the application. Each method in the middle tier will contain the following catch block.
Catch e As Argument Null Exception
Throw
When testing the application, you discover that all Argument Null Exceptions that occur in the middle tier do not contain accurate stack trace information.
What should you do?

What should you use?

You are designing a Windows client application by using Microsoft NET Framework 4 and Microsoft Visual Studio 2010. The business logic layer of the application is implemented by using Windows Communication Foundation (WCF). You write the following code segment in the middle tier:
<ServiceContractO> —
Public Interface lWcf Service
<OperationContractO> —
<FaultContract(GetType(ApplicationException))> —
Sub ProcessData(ByVal d As Data)
End Interface

The Process Data service method is a long-running operation. You need to ensure that the application meets the following requirements:
+ Users can continue to use the user interface while the Process Data service method is running.
+ Message delivery is reliable.

What should you use?

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?

What should you do?

You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application will consist of a user interface (UI) tier and a middle tier. The middle tier will be implemented by using Windows Communication Foundation (WCF). You plan to design the exception handling strategy for the application. Each method in the middle tier will contain the following catch block.
Catch e As Argument Null Exception
Throw
When testing the application, you discover that all Argument Null Exceptions that occur in the middle tier do not contain accurate stack trace information.
What should you do?

What should you do?

You are designing an n-tier Windows application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008. The application will replace an existing client/server application. The existing application was created by using Microsoft Visual Basic 6.0 and consists of a series of COM components that access a SQL Server database.
You plan to move the existing COM components into a Windows Communication Foundation (WCF) tier. You need to ensure that the COM components can be replaced without impacting the existing user interface (UI) tier.
You also need to ensure that the COM components can be replaced separately.
What should you do?

What should you do next?

You are creating a Windows application by using Microsoft NET Framework 4 and Microsoft Visual Studio 2010
The business logic layer of the application is implemented by using Windows Communication Foundation (WCF).
You create a WCF service that contains a single operation to upload large binary data files You configure the binding of the WCF service to enable data streaming You need to ensure that the WCF service operation receives binary data files along with a string parameter that contains the description of each file
You create a service operation that receives a single parameter.
What should you do next?

What should you do?

You are upgrading a stand-alone Windows Presentation Foundation (WPF) application and an XAML browser application (XBAP) to Microsoft NET Framework 4 You plan to add NET 4 types and members to both applications. Both applications consume a common utility assembly that modifies files on a local file system.
The utility assembly requires full trust.
You need to ensure that both applications can use the common utility assembly without any security-related exceptions.
What should you do?

Which technology should you use?

You are designing an application by using Microsoft NET Framework 4 and Microsoft Visual Studio 2010.
Your development team consists of designers and C# developers. You need to ensure that the application meets the following requirements:
+ Kit allows separation of user interface (UI) code and business logic.
+ tt allows the UI to be data-bound without requiring a code-behind file.

Which technology should you use?

What should you do?

You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft NET Framework 4.
The user interface (UI) tier of the application will be implemented by using WPF. The middle tier of the application will be implemented by using Windows Communication Foundation (WCF).
The middle tier will contain several methods that update data in a remote database. The middle tier will also contain a long-running method named Process Data. The Process Data method performs database operations and can take several minutes to complete. You need to ensure that the UI of the application can continue to call other methods while the Process Data method is running
What should you do?


Page 3 of 1012345...10...Last »