web analytics

Free Download Microsoft 70-518 PDF and VCE Dumps Help You 100% Pass Exam (31-40)

QUESTION 31
You are packaging updates for multiple Windows Presentation Foundation (WPF) applications. Updates to the applications and to third-party control files are available. Updates to the applications have dependencies upon updates to the third-party 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?

A.    Package application updates as a single Installer. Package third-party control files as a merge module
B.    Package application updates as a single Installer. Package third-party control files as a separate installer
C.    Prepare the installers fo individual application updates and include the third-party control files as individual Ides
D.    Prepare the installers fo individual application updates and include the third-party control files as a merge module

Answer: A

QUESTION 32
You are developing a Windows Presentation Foundation (WPF) application. The application will run in a partially trusted sandbox.
You plan to deploy the application on client computers by using the Click Once deployment technology.
You plan to sign the deployment and application manifest by using a trusted publisher certificate. You need to ensure that the following requirements are met:
– Users are not prompted for elevated permissions during application deployment
– The application can request elevated permissions at runtime
Where should you install the trusted publisher certificate?

A.    In the trusted root store on the deployment server
B.    In the trusted publisher store on the deployment server
C.    In the trusted root store on each client computer
D.    In the trusted publisher store on each client computer

Answer: D

QUESTION 33
You are designing a data access layer (DAL) for an application. Conflicts are occurring in the SQL Server database due to concurrent updates.
You need to design a database locking strategy that meets the following requirements:
– Resolves concurrent update conflicts without loss of data
– Ensures that data conflicts can be resolved by users
– Locks only the necessary data for updates
What should you do?

A.    Use optimistic locking.
Terminate the update when a DB Concurrency Exception occurs
B.    Use pessimistic locking.
Terminate the update when a DB Concurrency Exception occurs
C.    Use pessimistic locking.
Retry the failing update operation in the DB Concurrency Exception handler until it succeeds.
D.    Use optimistic locking.
In the DB Concurrency Exception handler, display the data of both original and updated records to the user.
Allow the user to resolve the conflicts.

Answer: D

QUESTION 34
You are developing a Windows application. The application will process data that is stored on the user’s computer.
You plan to design a data storage strategy.
You need to ensure that the following requirements are met:
– Local data can be accessed only by the application
– Local data can be encrypted and compressed
– Local data can be shared between multiple users by sending them the datafile by email
– Users must be able to open the data file directly from the email message
Which local data storage technology should you use?

A.    XML File
B.    Microsoft Access
C.    Microsoft SQL Server Express Edition database
D.    Microsoft SQL Server Compact Edition database

Answer: D

QUESTION 35
You are designing an application in the .net framework 4.0 The application is used mostly in a disconnected scenario. The application requires offline data from a Microsoft Sql Server 2008 database. When the application connects to the network, data will be modified and synchronized. You need to ensure that the application does not access the database server directly to synchronize data when online. Which technology should you use?

A.    WCF Data Service
B.    Remote Data Acces
C.    ADO.NET Sync Services
D.    SQL Server Merge Replication

Answer: C

QUESTION 36
You are developing a Windows Application. New features that require changes to be made to the database schema are added to the application every week. You need to ensure that the changes made to the database schema do not require the application to be recompiled. Which 2 actions should you perform?

A.    Modify the XML mapping file when the schema changes occur
B.    Modify the conceptual schema XML file when the schema changes occur
C.    Build a storage model and use it to access data from the business entities
D.    Build a conceptual model and use it to access data from the business entities

Answer: AD

QUESTION 37
The Windows application will consume a Windows Communication Foundation (WCF) service. The WCF service will provide data to the application. you plan to use the ADO.NET Entity Framework to create a data model that wil be used by the application. Other development team members make changes to the WCF service data contract. You need to ensure that changes made to the WCF service data contract do not require the application to be recompiled. What should you do?

A.    Create a conceptual model and a storage model based on the existing version of the WCF service
B.    Create a storage model based on the business model.
Use a class generated from the storage model for programming
C.    Create a storage model based on the schema of the existing WCF service.
Update the mapping file when the new version of the WCF service is available
D.    Create a conceptual model based on the business model.
Use a class generated from the conceptual model for programming.
Update the mapping file when the new version of the WCF service is available

Answer: D

QUESTION 38
You are creating a Windows Presentation Foundation (WPF) application by using Microsoft NET Framework 4.
You creates a photo album-browsing application. When the user opens an album,pictures in the album are displayed in sets of 10. Pictures are obtained from a Windows Communication Foundation (WCF) service. Most of the memory of the application is allocated in the native heap. The memory usage of the application increases when new albums are opened.
You need to ensure that the memory usage of the application remains within a specific range.
What should you do?

A.    Use a reduced colour palette to render pictures
B.    Use the Net Top Binding to communicate with the WCF service.
C.    Load the pictures from the WCF service on a background thread Implement the Disposable interface
D.    Assign the null value to every variable pointing to a picture that is not displayed Implement the Disposable interface

Answer: D

QUESTION 39
You are debugging a Windows application that uses Windows Presentation Framework (WPF) and Microsoft Visual Studio 2010. The application is deployed as an XAML browser application (XBAP). Some users report that they are not able to use the drag-and-drop functionality.
You need to ensure that all users can use the drag-and-drop functionality.
What should you do?

A.    Use loose XAML.
B.    Require the Full Trust permission on the XBAP application.
C.    Add the URL for the application to the browser’s trusted sites list.
D.    Register the assembly that contains the Data Object objects to the GAG on all client computers.

Answer: C

QUESTION 40
You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft NET Framework 4 The application is designed to allow novice users to enter data into a form. If a user enters invalid data into an input control, the control blinks between two colors. You need to ensure that the blinking visual feature can be applied to other controls without writing any additional code. What should you do?

A.    Create a timer.
B.    Create a shared style.
C.    Create a WPF behavior
D.    Use a merged resource dictionary.

Answer: C

Free Download Microsoft 70-518 PDF and VCE Dumps Help You 100% Pass Exam