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 do?

You have developed a Windows Forms server application by using Microsoft .NET Framework 4. Client applications connect to the server application to receive streaming media on demand on a single server. Each incoming connection is launched on a separate thread. As the number of client applications increases, users report that connection attempts intermittently fail. You need to ensure that users can connect to the server application even when the number of client applications increases. What should you do?

What should you do?

You have developed a Windows application by using Microsoft .NET Framework 4, Windows Presentation Foundation (WPF), and Microsoft SQL Server 2008. The application is deployed as an XAML Browser Application (XBAP) and executes in the Internet Zone in Internet Explorer. The application updates data in a SQL Server 2008 database. Users report that a SecurityException exception occurs when the application attempts to save data to the database. You need to design a solution to resolve the problem. What should you do?

What should you do?

You are packaging updates for multiple Windows Presentation Foundation (WPF) applications by using Microsoft .NET Framework 4. Updates to the applications and to thirdparty control files are available. Updates to the applications have dependencies upon updates to the thirdparty control files. An update script is run at logon that allows only a single command to be executed. You need to package the application updates and updates to the third party controls to ensure that they are successfully installed. What should you do?

What is the source of the problem?

You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft SQL Server 2008. The application runs successfully on a local client computer by using your user account. You deploy the database of the application to the production server. You configure the application connection string to use the Windows Authentication mode. You deploy the application to several client computers that use other applications on the network. The client computers access different databases on the production server by using the Windows Authentication mode. Users report that the application is not working and that they receive a database connection exception. You need to identify the source of the problem. What is the source of the problem?

What should you do?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application connects to a Microsoft SQL Server 2008 database. The application uses DataContexts to query the database. You create a function that meets the following requirements:
* Updates the Customer table on the database when a customer is marked as deleted.
* Updates the related entries in other tables (CustomerAddress, CustomerContacts) by marking them as deleted.
* Prevents consumer code from setting the Deleted column’s value directly.
You need to ensure that the function verifies that customers have no outstanding orders before they are marked as deleted. You also need to ensure that existing applications can use the updated function without requiring changes in the code. What should you do?

Which two actions should you perform?

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application uses the background worker process (BWP). When the user clicks a button, the background worker executes a method named DoCalculations asynchronously. You need to implement a progress bar on the user interface (UI) that informs the user of the progress of DoCalculations. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

What should you do?

You use Microsoft .NET Framework 4 to create an application. The application performs resourceintensive calculations that consist of multiple layers of nested looping. The application will be deployed to servers that contain varying hardware configurations. You need to ensure that the application utilizes CPU resources on the server in the most efficient manner. You want to achieve this goal by using the minimum amount of code. What should you do?


Page 4 of 13« First...23456...10...Last »