1.
You are creating a Windows application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The business logic layer of the application is implemented by using Windows Communication Foundation (WCF). The application must provide maximum availability. It must be able to run in a reliable manner even when network connectivity is not available. You need to design the WCF service interaction for the business layer of the application. What should you do?
2.
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. You use the ADO.NET Entity Framework to model your entities. You use Plain Old CLR Objects (POCO) entities along with snapshotbased change tracking. The code accesses the POCO entities directly. You need to ensure that the state manager synchronizes when changes are made to the object graph. Which ObjectContext method should you call?
3.
You are designing a Windows application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The business logic layer of the application is implemented by using Windows Communication Foundation (WCF). You create a duplex bidirectional WCF service that contains a single operation. The service operation sends the result back to the client application by using a twoway callback operation. You plan to design a service interaction strategy. You need to ensure that deadlocks are prevented. What should you do?
4.
You are upgrading a standalone Windows Presentation Foundation (WPF) application and an XAML browser application (XBAP) to Microsoft .NET Framework 4. You plan to add .NET 4 types and members to both applications. Both applications consume a common utility assembly that modifies files on a local file system. The utility assembly requires full trust. You need to ensure that both applications can use the common utility assembly without any securityrelated exceptions. What should you do?
5.
You are designing a Windows Presentation Foundation (WPF) application for your company by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The business layer of the application is implemented by using Windows Communication Foundation (WCF). You plan to support nonrepudiation and data integrity for WCF messages. You need to design the security strategy for the application. What should you do?
6.
You are designing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will store data that includes a time and date stamp. The middle tier of the application is implemented by using Windows Communication Foundation (WCF). The middle tier connects to geographically separated database servers. You need to ensure that the application meets the following requirements: Data stored contains time and date information local to the database server. Data stored contains Universal Coordinated Time (UTC). Which class should you use?
7.
You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will be deployed on Windows 7 computers in the United States and Europe. You need to ensure that array data is sorted based on the culture of the operating system. What should you do?
8.
You are designing a new feature for an existing Windows Forms application by using Microsoft .NET Framework 4. The application contains multiple forms that are loaded into a parent Multiple Document Interface (MDI) form. Your company policy does not allow the use of thirdparty controls. You need to ensure that the new feature meets the following requirements:
It provides a threedimensional scale model.
It allows users to change the colors of the model and communicates the color selections back to the application.
It allows the model to scale, based on the user's client computer display resolution.
It is a child form in the MDI application.
What should you do?
9.
You use Microsoft .NET Framework 4 to create a Windows Presentation Framework (WPF) application. You plan to create a custom control that contains four text input fields. Each of the text input fields within the control will contain a label. You need to ensure that the text input fields within the control can be validated by using a regular expression validator. Which class should you inherit from?
10.
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application has multiple data entry windows. Each window contains controls that allow the user to type different addresses for shipping and mailing. All addresses have the same format. You need to ensure that you can reuse the controls. What should you create?