PrepAway - Latest Free Exam Questions & Answers

Category: 70-521

Exam 70-521: Upgrade: Transition your MCPD .NET Framework 3.5 Windows Developer Skills to MCPD .NET 4 Windows Applications Developer

What should you create?

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?

Which class should you inherit from?

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?

What should you do?

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?

What should you do?

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a custom command as a resource. The key of the command is saveCommand. You write the following code fragment. (Line numbers are included for reference only.)
01 <Canvas>
02
03 <Button>
04
05 </Button>
06 </Canvas>

You need to ensure that saveCommand is executed when the user clicks the Button control. What should you do?

What should you do?

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?

Which class should you use?

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?

What should you do?

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?

What should you do?

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?

What should you do?

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?


Page 7 of 13« First...56789...Last »