You are designing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application is used mostly in a disconnected scenario. The application requires offline data from a Microsoft SQL Server 2008 database. When the application connects to the network, data will be modified and synchronized.
You need to ensure that the application does not access the database server directly to synchronize data when online.
Which technology should you use?
A. WCF Data ServiceYou are designing updates to an existing Windows Presentation Foundation (WPF) application that connects to a Microsoft SQL Server 2008 database. The application updates will require updates to the database.
You have the following requirements:
Prevent data loss.
Recover the database if the database update fails.
You need to recommend a database deployment strategy.
Which two actions should you recommend? (Each correct answer presents part of the solution.Choose two.)
A. Place the database in single-user mode before deploying the changes.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?
A. Use the DoWork handler of the worker thread and test a shared status value. Use a break statement to terminate the Parallel.ForEach loop.You are developing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application will run in a partially trusted sandbox.
You plan to deploy the application on client computers by using the ClickOnce deployment technology.
You plan to sign the deployment and application manifest by using a trusted publisher certificate. You need to ensure that the following requirements are met:
Users are not prompted for elevated permissions during application deployment.
The application can request elevated permissions at runtime.
Where should you install the trusted publisher certificate?
A. in the trusted root store on the deployment serverYou are designing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
You plan to design an instrumentation strategy for the application.
You need to ensure that the strategy meets the following requirements:
Captures detailed performance information.
Enables or disables diagnostic messages by using an application configuration option without requiring the application to restart.
What should you design?
A. A custom trace listenerYou are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
You plan to create a Customer object that contains an Orders property. The Orders property contains an array of Order objects.
When users browse Customer objects, they must be able to optionally view Order objects.
You need to design a data access strategy that retrieves data only when necessary.
Which strategy should you use?
A. lazy loadingYou 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?
A. Option AYou are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
You plan to create an Author object that contains a Books property. The Books property contains a large array of Book objects.
When users browse through author data in the application, they must be able to view all information related to books written by that author without additional queries.
You need to design a data access strategy that meets the requirement.
Which strategy should you use?
A. lazy loadingYou are designing a Windows Presentation Foundation (WPF) application. The WPF application contains code that will be executed by both full trust callers and partial trust callers. The WPF application code does not have the
AllowPartialTmstCallers attribute set.
You have the following requirements:
The application security settings must allow partial trust callers to create and write to a file.
Users must have access only to files that they create and not to files created by other users. You need to recommend a location for storing each user' s files.
Which location should you recommend?
A. the user's Roaming folderYou are developing an application by using Microsoft .NET Framework 4.
The application will be used by all employees of your company, Local file stores on the computers are secure and inaccessible remotely.
You need to design a remote monitoring strategy to monitor the usage time of the application by each user.
What should you do?
A. Create a TraceLog object and the Trace object by using the System.Diagnostics element to trace startup, shutdown, and user idle time events throughout the application.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-518 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.