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 message encoding should you use?

A Windows Communication Foundation (WCF) service is responsible for transmitting XML documents between systems. The service has the following requirements: It must minimize the transmission size by attaching the XML document as is without using escape characters or base64 encoding. It must interoperate with systems that use SOAP but are not built on the .NET platform. You need to configure the service to support these requirements. Which message encoding should you use?

What are two possible ways to achieve this goal?

A WCF service code is implemented as follows. (Line numbers are included for reference only.)
01 <ServiceContract()>
02 <ServiceBehavior(
03 InstanceContextMode:=InstanceContextMode.Single)>
04 Public Class CalculatorService
05
06 <OperationContract()>
07 Public Function Calculate(ByVal op1 As Double,
08 ByVal op As String, ByVal op2 As Double) As Double …
24 End Function
25
26 End Class

You need to decrease the response time of the service. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

What should you design?

You are designing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. You plan to design an instrumentation strategy for the application. You need to ensure that the strategy meets the following requirements: Captures detailed performance information. Enables or disables diagnostic messages by using an application configuration option without requiring the application to restart. What should you design?

Which two actions should you perform?

You use Microsoft .NET Framework 4 to create a Windows application. You plan to deploy the application by using Trusted Application Deployment. The application can only be installed by users who have elevated permissions. You need to ensure that users are not prompted for additional permissions when they install the application. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

Which deployment method should you use?

You use Microsoft .NET Framework 4 to create a Windows application. You use ClickOnce technology to install the application on computers that run Windows 7 with User Access Control (UAC) enabled. The application requires access to environment variables on each computer. You need to ensure that users who do not have administrative permissions can install the application. Which deployment method should you use?

What should you do?

You are designing a Windows application by using Microsoft .NET Framework 4. Remote users have limited network connectivity. Users will not have write permissions to the local file system. You plan to design the error logging strategy for the application. You need to ensure that the application can collect error information. You also need to ensure that the errors can be analyzed from a centralized location. What should you do?

What should you do?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application uses the ADO.NET Entity Framework to model entities. The application allows users to make changes to entities while disconnected from the central data store. You need to ensure that when the user connects to the central data store and retrieves new data, the application meets the following requirements: Changes made to the local data store in disconnected mode are preserved. Entities that have already been loaded into the local data store, but have not been modified by the user, are updated with the latest data. What should you do?

What should you do?

You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application named MyApp.exe. You use Microsoft Windows Installer to package the application. You create an icon file named Application.ico. You need to associate Application.ico with MyApp.exe when MyApp.exe is deployed. What should you do?


Page 2 of 1312345...10...Last »