QUESTION 111
You are designing an update to an existing Windows Presentation Foundation (WPF) application. Users can purchase and download photographs from the company’s Web server by using the WPF application. Photographs must be viewable only when logged in as the user who purchased the photographs. You need to recommend a download location for the photographs. Which location should you recommend?
A. the application’s IsolatedStorage folder
B. the user’s IsolatedStorage folder
C. the application’s installation folder
D. the user’s local Temp folder
Answer: B
QUESTION 112
You are designing an update to an existing Windows Presentation Foundation (WPF) application. You plan to use Microsoft Visual Studio 2010. The updated WPF application will require a specific version of a third-party component.
You have the following requirements: Deploy the update by using Windows Installer. Update the WPF application only if the required version of the third-party component is present on the client computer.
You need to recommend configuration settings for the application installer.
Which property should you recommend be set?
A. the Version property of the .NET Launch Condition
B. the Condition property of a new Launch Condition
C. the RemovePreviousVersions property of the Setup Project
D. the Version property of the Setup Project
Answer: B
QUESTION 113
You 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
B. Specify the simple recovery model for the database.
C. Specify the full recovery model for the database.
D. Place the database in restricted user mode before deploying the changes.
Answer: CD
QUESTION 114
You are designing a .NET Framework 4 solution that contains a Windows Presentation Foundation (WPF) application and a Windows Communication Framework (WCF) Web service. The WPF application will be deployed to users’ desktops located in the company’s corporate network. The WCF Web service will be deployed to a Web farm located in the company’s perimeter network. The firewall between the perimeter network and the Internet allows only HTTP and HTTPS traffic.
You need to recommend an approach for minimizing the attack surface of the WCF Web service.
What should you recommend?
A. Add a load-balancing router to the Web farm configuration.
B. Configure a WCF endpoint to use the basicHttpBinding binding.
C. Configure a WCF endpoint to use the NetTcpBinding binding.
D. Set up an SSL certificate on the server.
Answer: D
QUESTION 115
You are preparing to deploy a solution that includes a Windows Forms application and several COM components. Unsigned interop assemblies have been created for each of the COM components.
You need to recommend an approach for deploying the solution.
What should you recommend?
A. Deploy the windows Forms application and interop assemblies to a folder on the client computer.
Sign the interop assemblies.
B. Deploy the Windows Forms application and COM components to a folder on the client computer.
Deploy the interop assemblies to the Global Assembly Cache (GAC).
C. Deploy the Windows Forms application, COM components, and interop assemblies to a folder on the client computer.
Register the COM components.
D. Deploy the Windows Forms application to a folder on the client computer.
Deploy the COM components and interop assemblies to the Global Assembly Cache (GAC).
Register the COM components.
Answer: C
QUESTION 116
You are designing a multi-tenant Windows Presentation Foundation (WPF) application that will connect to a Microsoft SQL Server 2008 database. The WPF application will change the structure of database tables and views at runtime based on the tenant’s configuration.
The WPF application must meet the following requirements:
– Keep each tenant’s data separate.
– Allow changes to the structure of the tables and views for each tenantwithout interfering with other tenants’ data.
You need to recommend an approach for managing the database structure.
What should you recommend?
A. Create a Partition Scheme for each tenant.
B. Create an Application Role for each tenant.
C. Create a Schema for each tenant.
D. Create a Synonym for each tenant.
Answer: C
QUESTION 117
You are designing a sales and inventory tracking system by using Microsoft Visual Studio 2010 and Microsoft SQL Server 2008. The sales, inventory, and shipping tables will reside in different databases on different database servers.
You need to ensure that the tables are updated simultaneously.
What should you do?
A. Use LINQ to SQL
B. Use Distributed transactions
C. Use Microsoft Sync Framework
D. Use the ADO.NET Entity Framework
Answer: B
QUESTION 118
You use Microsoft .NET Framework 4 to create a Windows Forms application. The application includes a RichTextBox control and a ListBox control. The ListBox control is populated with a list of valid file names. The application allows users to drag a ListBox item to the RichTextBox control.
You need to provide a visual indication that a file that is dragged can be dropped on the RichTextBox control.
What should you do?
A. Use a DoubleAnimation class.
B. Use a Storyboard animation class.
C. Use the DragDropEffects enumeration.
D. Use the DragAction enumeration.
Answer: C
QUESTION 119
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You want to localize the application to use the German locale settings.
You need to allow the ResourceManager class to retrieve a neutral German locale version of the text to be displayed in the user interface (UI).
Which file should you add to the project?
A. Resources.de.xml
B. Resources.de-DE .xml
C. Resources.de.resx
D. Resources.de-DE .resx
Answer: C
QUESTION 120
You use Microsoft .NET Framework 4 to create a custom Windows Presentation Foundation (WPF) application. Your environment includes several WPF applications. The applications use the same logo and style configuration as part of a corporate standard.
You need to ensure that the existing applications can be updated to use the same logo and style settings without recompiling.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. Mark the resource as an embedded resource in each application.
B. Create a resource in an XAML file that contains the logo and style configurations.
C. Create a resource in a custom control that contains the logo and style configurations.
D. Add the resource as a ResourceDictionary in the MergedDictionaries collection of each application.
E. Use ResourceManager to read the content of the resource.
Manually assign the style configurations included in the resource file to the appropriate control in each application.
Answer: BD
Free Download Microsoft 70-518 PDF and VCE Dumps Help You 100% Pass Exam