Microsoft PRO: Design & Develop Wndws Apps Using MS .NET Framework 4 - 070-518 FREE EXAM DUMPS QUESTIONS & ANSWERS

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?
Correct Answer: B Vote an answer
You are designing a Windows Presentation Foundation (WPF) application.
The application data files have the file name extension .abC.
The WPF application installer must meet the following requirements: - Add a shortcut to the desktop. - Install infrequently used assemblies on demand.
--
Associate the .abc file name extension with the WPF application. Roll back the installation in the event of a failure.
You need to recommend a deployment method.
What should you recommend?
Correct Answer: D Vote an answer
You are designing a Windows Presentation Foundation (WPF) application that accesses a business tier. The business tier is implemented as a Windows Communication Foundation (WCF) service and stores data in a Microsoft SQL Server 2008 database.
The WCF service will be accessed by external applications that do not use the .NET Framework.
You need to recommend an approach for passing data between layers.
What should you recommend?
Correct Answer: B Vote an answer
You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008.
You have designed the application to use the ADO.NET Entity Framework for the Data Access Layer (DAL).
You have designed the user interface (UI) of the application by using the Model-View-ViewModel (M-V-VM) pattern.
The middle tier of the application is designed by using Windows Communication Foundation (WCF).
The database schema changes often. The DAL entity objects are required to be referenced from the middle tier and the ViewModel layer of the UI.
You need to ensure that the DAL entity objects are updated when the database schema changes.
What should you do?
Correct Answer: A Vote an answer
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?
Correct Answer: D Vote an answer
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 AsArgumentNullException.
Throw e
When testing the application, you discover that all ArgumentNullExceptions that occur in
the middle tier do not contain accurate stack trace information.
What should you do?
Correct Answer: D Vote an answer
You are designing an n-tier .NET Framework 4 solution that includes a Windows Presentation Foundation (WPF) application and a Windows Workflow Foundation (WF) component. The WF component contains functionality to incorporate frequently changing rules.
You need to recommend a tier for the deployment of the WF component that will not degrade the performance of the WPF application.
Which tier should you recommend?
Correct Answer: B Vote an answer
You are analyzing an application that uses Microsoft .NET Framework 4 and Microsoft SQL Server 2008.
The application is used to maintain an inventory database and is accessed from several remote Windows client applications. The application frequently updates multiple rows in a database table by using a DbDataAdapter object.
Users report that the application runs slowly during peak business hours.
When large number of records are changed by multiple users, you discover the following:
The CPU utilization of the client applications is normal.
The network utilization increases slightly.
The CPU utilization of the database server remains close to the normal average
for a day.
You need to resolve the performance issue.
What should you do?
Correct Answer: A Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
You are designing an n-tier .NET Framework 4 solution that includes a Windows
Presentation Foundation (WPF) application.
The WPF application will access data stored in a Microsoft SQL Server 2008 database by
using the solution's data access tier.
The data access tier must also be available from within Microsoft Excel 2010. You need to recommend a technology for accessing the data access tier. Which technology should you recommend?
Correct Answer: B Vote an answer
You are designing a Windows Presentation Foundation (WPF) application.
The WPF application must run against either Microsoft SQL Server 2008 or a third-party
database system without duplicating data access logiC.
You need to recommend a data access technology.
What should you recommend?
Correct Answer: B Vote an answer
You are modifying an existing Windows Presentation Foundation (WPF) application that uses .NET Framework 4. The WPF application uses a wizard to capture data and insert the data into a database. The database includes one parent table and many child tables.
Inserting captured data in the database locks many database tables and delays application access.
You have the following requirements:
Reduce delays when saving datA.
Ensure that other application users are not blocked from reading datA.
Ensure that captured data is available only after all child tables are updated.
You need to recommend an approach for inserting captured data into the database.
---
What should you recommend?
Correct Answer: A Vote an answer
0
0
0
10