PrepAway - Latest Free Exam Questions & Answers

Category: 70-518 (v.1)

Exam 70-518: Pro: Designing and Developing Windows Applications Using Microsoft .NET Framework 4 (update October 28th, 2015)

You need to design the exception handling strategy for the application

You are designing a Windows Presentation Foundation (WPF) application by using
Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. The application will consist
of a user interface (UI) tier and a middle tier. The middle tier will be implemented by using
Windows Communication I Foundation (WCF). Each method in the middle tier will contain
the following catch block. Catch (Argument-NullException e) { thcow e; } When testing the
application, you discover that all ArgumentNullExceptions exceptions that occur in the
middle tier do not contain accurate stack trace information. You need to design the
exception handling strategy for the application. What should you do?

You need to design the security strategy for the application

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?

You need to ensure that users can continue to use the UI while ProcessData is running

You are designing an application by using Windows Presentation Foundation (WPF) and
Microsoft .NET Framework 4. The user interface (UI) tier of the application will be
implemented in WPF. The middle tier of the application is implemented by using an existing
COM component. The middle tier contains a long-running method named ProcessData. You
need to ensure that users can continue to use the UI while ProcessData is running. What
should you do?

You need to ensure that the COM components can be replaced without impacting the existing user interface (UI)

You are designing an n-tier Windows application by using Microsoft .NET Framework 4,
Microsoft Visual Studio 2010, and Microsoft SQL Server 2008. The application will replace
an existing client/server application. The existing application was created by using Microsoft
Visual Basic 6.0 and consists of a series of COM components that access a SQL Server
database. You plan to move the existing COM components into a Windows Communication
Foundation (WCF) tier. You need to ensure that the COM components can be replaced
without impacting the existing user interface (UI) tier. You also need to ensure that the COM
components can be replaced separately. What should you do?

You need to ensure that array data is sorted based on the culture of the operating system

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 a Windows application by using Microsoft .NET Framework 4 and
Microsoft Visual Studio 2010. You plan to add a feature to the application. The application
will be used in several different locales. The application will send data to a centralized
server and log the date and time information. You need to ensure that the date and time
information includes the local Universal Time Coordinate (UTC) offset value. Which class
should you use?

You need to ensure that the WCF service operation receives binary data files along with a string parameter tha

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). You create a WCF service that contains
a single operation to upload large binary data files. You configure the binding of the WCF
service to enable data streaming. You need to ensure that the WCF service operation
receives binary data files along with a string parameter that contains the description of each
file. You create a service operation that receives a single parameter, what should you do
next?

You need to implement the Stop button event handler

You are updating a Windows desktop client application that was created by using Microsoft
.NET Framework 4 and Microsoft Visual Studio 2010. The application displays data derived
from several database queries. The display takes a long time to update. The application
currently uses a BackgroundWorker thread and a Parallel.ForEach statement on that
thread. Users have requested a modification to the program that would allow them to
interrupt the display of data and begin processing a new and different query. You decide to
provide a new Stop button on the user interface (UI) to allow the user to terminate the
current data display and initiate the new query. The main UI thread must be notified when
the current data processing is terminated so that the new query can be started. You need to
implement the Stop button event handler. What should you do?

You need to design the WCF service interaction for the business layer of the application

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?

Which technology should you use?

You are designing a Windows application by using Microsoft .NET Framework 4 and
Microsoft Visual Studio 2010. The application retrieves data from multiple heterogeneous
data sources. The retrieved data is aggregated into a single record set You need to ensure
that the application takes advantage of new multi-core server processors. Which technology
should you use?


Page 3 of 2012345...1020...Last »