Microsoft PRO: Design & Develop Wndws Apps Using MS .NET Framework 4 Sample Questions:
1. 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) SQL Server Merge Replication
B) Remote Data Access
C) WCF Data Service
D) ADO.NET Sync Services
2. You are designing a Windows application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
You plan to implement control caching to improve the loading time of a control. It is not required to refresh the content of the control after the application loads. The application will be compiled by using the .NET 4 client profile.
You need to ensure that the following requirements are met:
--
The control is reusable in multiple forms.
Data in the control is cached when the application is loaded.
What should you do?
A) In the Load event of the application window, add code to load the control. Save the control to the cache by using objects in the System.WeB.Caching namespace.
B) In the constructor of the application window, add code to load the control. Save the control to a static variable.
C) In the Load event of the application window, add code to load the control. Save the control to an instance variable.
D) In the constructor of the application window, add code to load the control. Save the control to the cache by using objects in the System.WeB.Caching namespace.
3. You are designing a distributed Windows Presentation Foundation (WPF) application.
You have the following requirements: - Ensure that all errors are logged in a central location.
- Ensure that the WPF application logs related errors within a single transaction - Secure error information during transmission.
You need to recommend a strategy for collecting error information.
What should you recommend?
A) Create a Windows Communication Foundation (WCF) service. Use the basicHttpBinding protocol to transport the information.
B) Write the information to the Windows Application log on each client system. Use Windows Error Reporting to collect the results.
C) Create a Windows Communication Foundation (WCF) service. Use the wsHttpBinding protocol to transport the information.
D) Write the information to the Windows Application log on each client system. Use Windows Management Instrumentation (WMI) to collect the results.
4. ---
You are designing a distributed Windows Presentation Foundation (WPF) application. You have the following requirements:
Ensure that all errors are logged in a central location.
Ensure that the WPF application logs related errors within a single transaction.
Secure error information during transmission.
You need to recommend a strategy for collecting error information.
What should you recommend?
A) Create a Windows Communication Foundation (WCF) service. Use the basicHttpBinding protocol to transport the information.
B) Write the information to the Windows Application log on each client system. Use Windows Error Reporting to collect the results.
C) Create a Windows Communication Foundation (WCF) service. Use the wsHttpBinding protocol to transport the information.
D) Write the information to the Windows Application log on each client system. Use Windows Management Instrumentation (WMI) to collect the results.
5. ---
You are designing a .NET Framework 4 solution. The solution contains a Windows Presentation Foundation (WPF) application and a Windows Communication Foundation (WCF) Web service.
The WPF application uses the WCF Web service to store data in a Microsoft SQL Server 2008 database.
You have the following requirements:
Ensure that the WPF application functions while users' computers are offline.
Minimize the time spent sending data to the WCF Web service.
Minimize disk space requirements for data storage.
You need to recommend an approach for synchronizing data between the WPF application and the database.
Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)
A) Create a local caching solution that periodically checks for Internet connectivity and writes directly to the local data store and to the WCF Web service.
B) Store data in DataSet objects. Serialize data locally by using XML serialization.
C) Store data in custom business objects. Serialize data locally by using custom serialization.
D) Create a local caching solution that periodically checks for Internet connectivity, uses local memory, and batches changes to the WCF Web service.
Solutions:
| Question # 1 Answer: D | Question # 2 Answer: B | Question # 3 Answer: C | Question # 4 Answer: C | Question # 5 Answer: B,C |














1090 Customer Reviews
Quality and ValueITCertKing Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.
Tested and ApprovedWe are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.
Easy to PassIf you prepare for the exams using our ITCertKing testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.
Try Before BuyITCertKing offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.
