QUESTION 51
You are planning a Windows Presentation Basis (WPF) application for your organization by making use of Microsoft .Web Framework 4 and Microsoft Visual Studio 2010. The organization layer of the software is implemented by using Windows Communication Groundwork (WCF). You plan to assistance non-repudiation and data integrity for WCF messages. You need to style the security method for the software. What really should you do?
A. Attach a digital signature to the WCF messages.
B. Encrypt the WCF messages by employing the Secure Sockets Layer (SSL) protocol.
C. Encrypt the WCF messages by employing the Internet Protocol Protection (IPSec) protocol.
D. Implement message-level security by using digital certificates as client computer credentials.
Answer: A
QUESTION 52
You are developing an application by using Microsoft .NET Framework 4, The application will be used by all employees of your company, Local file stores on the computers are secure and inaccessible remotely. You need to design a remote monitoring strategy to monitor the usage time of the application by each user. What should you do?
A. Create a TraceLog object and the Trace object by using the System.
Diagnostics element to trace startup, shutdown, and user idle time events throughout the application
B. Create a TraceLog object by using the System.
Diagnostics element in the application configuration file.
Add the TraceSource element for startup, shutdown, and user idle time events.
C. Use the System.Management.
Instrumentation namespace to publish startup, shutdown, and user idle time events of the application.
Publish the events to Microsoft Operations Manager.
D. Use the System.Management.
Instrumentation namespace to issue event queries against methods that pass ProgressEvent and StoppedEvent arguments.
Publish the events to the Event Log Correct.
Answer: C
QUESTION 53
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?
A. LINQ
B. PLINQ
C. ADO.NET DataSet
D. ADO.NET Typed DataSet
Answer: B
QUESTION 54
You are designing a Windows application by using Microsoft .NET Framework 4, Microsoft Visual Studio 2010, and Microsoft SQL Server 2008. You need to design a data access strategy that meets the following requirements:
– Automatically tracks changes
– Maps the database data model to the object model
Which data access technology should you use?
A. LINQ to SQL
B. LINQ to XML
C. ADO.NET DataSet
D. ADO.NET DataReader
Answer: A
QUESTION 55
You are designing a complex and critical Windows desktop application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
You plan to implement a logging strategy for the application.
You need to record all unexpected errors that occur in the application.
What should you do?
A. Subscribe to the unhandled exception event handler for the AppDomain object.
Record relevant application-specific information to an external log.
B. Subscribe to the unhandled exception event handler for the application’s dispatcher on the main application thread. Record relevant application-specific information to an external log.
C. Create a generic catch (Exception e) block in the Main method of the application.
Record relevant application-specific information to a log in the Main method.
D. Create a global WIN 32 unhandled exception filter.
Record relevant application-specific information to an external log from within the filter.
Answer: A
QUESTION 56
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?
A. Use an asynchronous worker thread to call Process Data.
B. Use the Invoke method of the Dispatcher class to call Process Data.
C. Call the Run method of the Dispatcher class before invoking Process Data.
D. Call the Do Events method of the Application class before invoking Process Data Correct
Answer: A
QUESTION 57
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?
A. Add a configuration setting to the appSettings section of the App.config file.
B. Use a comparison method to compare ASCII values.
C. Use the Resource Manager to create culture-sorted lists
D. Use a comparison method that specifies a Culturelnfo class or the CompareOptions enumeration parameter
Answer: D
QUESTION 58
You are designing a Windows client application by using Microsoft NET Framework 4 and Microsoft Visual Studio 2010. The application will read and write data that is stored in a mainframe application A hardware device that is located between the application and the mainframe removes all XML-formatted messages. You need to ensure that the application can request and receive data from the mainframe application. What should you create?
A. A RSS-based WCF service
B. A REST-based WCF service
C. A NET Removing service that uses the SOAP formatter
D. A .NET Web Service that uses the ws Http Binding
Answer: B
QUESTION 59
You are designing a Windows Presentation Foundation (WPF) application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010.
The application contains a COM component.
You plan to deploy the application to several client computers by using read-only media.
You need to ensure that the COM component is registered during deployment of the application.
Which deployment technology should you use?
A. XCopy
B. Microsoft Windows Installer (MSI)
C. ClickOnce along with full trust
D. ClickOnce along with partial trust
Answer: B
QUESTION 60
You are developing an application by using Microsoft .NET Framework 4 and Microsoft Visual Studio 2010. You plan to use Microsoft Sync Framework to synchronize the data stored in a local Microsoft SQL Server Compact Edition database with the data stored in a centralized SQL Server 2008 database.
Four columns are added to each table involved in the synchronization process to track changes to the database.
You add the following four columns to the database table.
Users report that the synchronization process is not always successful.
You need to ensure that the application synchronizes data successfully.
What should you do?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
Free Download Microsoft 70-518 PDF and VCE Dumps Help You 100% Pass Exam