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

Which data access technology should you use?

You are developing a Windows application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008. The application will store data in a SQL Server database instance. You plan to use the Code Generation technology to develop data entities. You need to ensure that the following requirements are met:
* When the application runs, a database must be created if it does not already exist.
* When the database schema changes, data entities must be added dynamically.
Which data access technology should you use?

Which binding expression should you use?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application contains a ListBox control named lbxItems that is databound to a collection of objects. Each object has a DisplayValue property. You add a Button control to the application. You need to ensure that the Content property of the Button control is databound to the DisplayValue property of the selected item of lbxItems.
Which binding expression should you use?

Which header and request type should you use in the application?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Communication Foundation (WCF) Data Services service. You discover that when an application submits a PUT or DELETE request to the Data Services service, it receives an error. You need to ensure that the application can access the service. Which header and request type should you use in the application?

Which two actions should you perform?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Communication Foundation (WCF) Data Services service. The service connects to a Microsoft SQL Server 2008 database. The service is hosted by an Internet Information Services (IIS) 6.0 server. You need to ensure that applications authenticate against user information stored in the database before the application is allowed to use the service. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

How should you design the validation?

You are designing an application by using Windows Presentation Foundation (WPF), Microsoft .NET Framework 4, and Microsoft SQL Server 2008. The application will contain several forms that include custom data validators. You need to ensure that data is validated before the database updates occur. You also need to ensure that the validation logic can be reused. How should you design the validation?

What should you do?

You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4. The application allows users to view product details. Product managers can modify the product details for the products that they manage. You plan to design the application by using the ModelViewViewModel (MVVM) pattern. You need to ensure that the product details can be viewed by all users and modified only by product managers. What should you do?

What should you do?

You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4. The application retrieves customer data from an enterprise resource planning (ERP) system. You need to ensure that the following requirements are met:
* Customer data is retrieved only once.
* Customer data is available on multiple forms within the application.
* Forms can implement TwoWay binding to the customer data.
What should you do?

What should you do?

You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4. You plan to create a wizard by using a Window, a Frame, and several Page objects. The wizard will use the NavigationService. The NavigationService will be invoked by buttons on the user interface (UI). You need to ensure that priorpage navigation can be disabled. What should you do?

What should you use?

You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4. The application will run on Windows 7based kiosks that are located indoors and outdoors. The kiosk displays have a photo sensor that will update the application with the current ambient luminosity. You need to ensure that the user interface (UI) of the application dynamically changes the application theme based on the ambient luminosity.
What should you use?


Page 6 of 13« First...45678...Last »