Microsoft PRO: Design & Develop Wndws Apps Using MS .NET Framework 4 Sample Questions:
1. You are debugging a Windows application that uses Windows Presentation Foundation (WPF) and Microsoft Visual Studio 2010.
The application is deployed as an XAML browser application (XBAP). Some users report that they are not able to use the drag-and-drop functionality.
You need to ensure that all users can use the drag-and-drop functionality.
What should you do?
A) Use loose XAML.
B) Add the URL for the application to the browser's trusted sites list.
C) Require the FullTrust permission on the XBAP application.
D) Register the assembly that contains the IDataObject objects to the GAC on all client computers.
2. You are designing a Windows application by using Microsoft .NET Framework 4.
Remote users have limited network connectivity. Users will not have write permissions to
the local file system.
You plan to design the error logging strategy for the application.
You need to ensure that the application can collect error information. You also need to
ensure that the errors can be analyzed from a centralized location. What should you do?
A) Log the errors to the Windows System event log.
B) Use the Microsoft Sync Framework.
C) Use a local log file.
D) Log the errors to a Web service.
3. 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?
A) The data tier
B) The data access tier
C) The business tier
D) The presentation tier
4. You are designing a Windows Presentation Foundation (WPF) client application that requests reports from a Windows Communication Foundation (WCF) Web service.
Users must be able to perform other tasks while the WCF Web service generates the report.
You need to recommend a message exchange pattern for the communication between the WPF application and the WCF Web service.
What are two possible message exchange patterns that will meet the requirements? (Each correct answer presents a complete solution, Choose two.)
A) Datagram without session
B) Datagram with session
C) Duplex
D) Request-Response
5. 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.)
A) Use SQL Server 2008 Management Studio to deploy the production databases.
B) Use VSDBCMD to deploy the production databases.
C) Use a Visual Basic SQL CLR Database Project.
D) Use a SQL Server 2008 Database Project.
Solutions:
| Question # 1 Answer: B | Question # 2 Answer: B | Question # 3 Answer: C | Question # 4 Answer: B,C | Question # 5 Answer: B,C |
We're so confident of our products that we provide no hassle product exchange.


By Ogden

