Online Access Free 70-518 Exam Questions
| Exam Code: | 70-518 |
| Exam Name: | PRO: Design & Develop Wndws Apps Using MS .NET Framework 4 |
| Certification Provider: | Microsoft |
| Free Question Number: | 155 |
| Posted: | Aug 23, 2026 |
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).
Each method in the middle tier will contain the following catch block.
Catch(ArgumentNullExceptione)
{
throw e;
}
When testing the application, you discover that all ArgumentNullExceptions exceptions that occur in the middle tier do not contain accurate stack trace information.
You need to design the exception handling strategy for the application.
What should you do?
You are designing a .NET Framework 4 solution that includes a Windows Presentation Foundation (WPF) application, a Windows service, and a private assembly shared by the WPF application and by the Windows service.
The solution stores data in a local Microsoft SQL Server Compact 3.5 database. The WPF application and Windows service will each access the database directly. The solution will be installed by using Windows Installer.
You have the following requirements:
- The installer must allow users to specify the installation folders for the WPF application and for the database. - The solution must support the deployment of updates to the WPF application without restarting the Windows service.
You need to recommend an approach for installing the solution.
Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)
You are designing a .NET Framework 4 solution that includes a Windows Presentation Foundation (WPF) application. The WPF application connects to a Microsoft SQL Server 2008 database. You plan to deploy the WPF application to millions of client computers. The SQL Server database will be hosted in a data center.
The WPF application will query the database to provide type-ahead assistance as users enterdata.
The WPF application will send a query after each character is entered. Each query will access multiple joined tables.
You need to recommend an approach for maximizing scalability of the solution.
What should you recommend?
You 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 AllowPartialTrustCallers 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?
You are designing an n-tier solution that connects to a Microsoft SQL Server 2008 database.
You plan to deploy the database to development machines and to a staging database server from within Microsoft Visual Studio 2010. You plan to set up separate build configurations for development and staging. You also plan to deploy to multiple production database servers managed by an outside vendor.
You must not allow the outside vendor to access the Visual Studio projects.
You need to recommend an approach for configuring and deploying the production database servers.
Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)