PrepAway - Latest Free Exam Questions & Answers

Category: 70-518

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

How should you design the validation?

You are designing an application by using Windows Presentation Foundation (WPF), Microsoft .NET Framework 4, and Microsoft SQL Server 2008.

The application will contain several forms that include custom data validators.

You need to ensure that data is validated before the database updates occur. You also need to ensure that the validation logic can be reused.

How should you design the validation?

What should you do?

You are updating a Windows desktop client application that was created by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.

The application displays data derived from several database queries. The display takes a long time to update.

The application currently uses a BackgroundWorker thread and a Parallel.ForEach statement on that thread.

Users have requested a modification to the program that would allow them to interrupt the display of data and begin processing a new and different query.

You decide to provide a new Stop button on the user interface (UI) to allow the user to terminate the current data display and initiate the new query.

The main UI thread must be notified when the current data processing is terminated so that the new query can be started.

You need to implement the Stop button event handler.

What should you do?

Which class should you use?

You are developing a Windows application by using Microsoft .NET Framework 4.

You plan to design a diagnostic logging strategy that will be used in a production environment.

You need to ensure that the strategy meets the following requirements:
Enables or disables diagnostic messages by using an application configuration option. Changes the level of detail in the diagnostic messages without recompiling the application.

Which class should you use?

Which data access technology should you use?

You are developing a Windows application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008.

The application will store data in a SQL Server database instance.

You plan to use the Code Generation technology to develop data entities.

You need to ensure that the following requirements are met:
When the application runs, a database must be created if it does not already exist. When the database schema changes, data entities must be added dynamically.

Which data access technology should you use?

What should you do?

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

You plan to use Microsoft Sync Framework to synchronize the data stored in a local Microsoft SQL Server Compact Edition database with the data stored in a centralized SQL Server 2008 database.

Four columns are added to each table involved in the synchronization process to track changes to the database.

You add the following four columns to the database table.

Users report that the synchronization process is not always successful.

You need to ensure that the application synchronizes data successfully.

What should you do?

Which deployment technology should you use?

You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.

The application contains a COM component.

You plan to deploy the application to several client computers by using read-only media.

You need to ensure that the COM component is registered during deployment of the application.
Which deployment technology should you use?

What should you create?

You are designing a Windows client application by using Microsoft NET Framework 4 and Microsoft Visual Studio 2010.
The application will read and write data that is stored in a mainframe application A hardware device that is located between the application and the mainframe removes all XML-formatted messages.
You need to ensure that the application can request and receive data from the mainframe application.
What should you create?

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 be deployed on Windows 7 computers in the United States and Europe.

You need to ensure that array data is sorted based on the culture of the operating system.

What should you do?

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 in WPF.

The middle tier of the application is implemented by using an existing COM component.

The middle tier contains a long-running method named ProcessData.

You need to ensure that users can continue to use the UI while ProcessData is running.

What should you do?


Page 1 of 1012345...10...Last »