PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application.
The application uses the ADO.NET Entity Framework to model entities.
The application allows users to make changes while disconnected from the data store.
Changes are submitted to the data store by using the SubmitChanges method of the DataContext object.
You receive an exception when you call the SubmitChanges method to submit entities that a user has changed in offline mode.
You need to ensure that entities changed in offline mode can be successfully updated in the data store.
What should you do?

What should you do?

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 by using WPF. The middle tier of the application will be implemented by using Windows Communication Foundation (WCF).
The middle tier will contain several methods that update data in a remote database. The middle tier will also contain a long-running method named Process Data. The Process Data method performs database operations and can take several minutes to complete. You need to ensure that the UI of the application can continue to call other methods while the Process Data method is running
What should you do?

What should you do?

You are hosting a Windows Communication Foundation (WCF) service at http://www.contoso.com for a law enforcement agency.
The agency adds operations to support sending biometric fingerprint data via non-buffered streaming.
The service data is routed between intermediaries. The WCF binding you are using by default does not support encryption.
You need to ensure that the fingerprint data is not disclosed when passed over the network. What should you do?

Which two actions should you perform?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application.
The application uses the ADO.NET Entity Framework to manage Plain Old CLR Objects (POCO) entities.
You create a new POCO class. You need to ensure that the class meets the following requirements:
* It can be used by an ObjectContext.
* It is enabled for change-tracking proxies.

Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

What should you do?

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?

Which source should you recommend?

You are designing an ASP.NET Web application for content management.
You have the following requirements:
– Support multiple languages.
– Support dynamic changes to site content.
– Provide the ability to add content to the site without making changes to files within the application directory.
You need to recommend the application s source for retrieving content.
Which source should you recommend?

Which code segment should you use?

You are maintaining a Windows Communication Foundation (WCF) service that uses a custom username password class
to authenticate clients with. The service certificate is hosted in the deployment server store for trusted root certificate authorities
and has a Subject value of TaxServiceKey. Other service certificates hosted on the same server also use TaxServiceKey as a Subject value.
You need to ensure that the service identifies itself with a certificate whose subject name and distinguished names are TaxServiceKey.
Which code segment should you use?

Which ObjectContext method should you call after changes are made to the entities?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4.0 to create an application.
The application connects to a Microsoft SQL Server 2008 database.
You use the ADO.NET Entity Framework to model your entities. You use ADO.NET self-tracking entities.
You need to ensure that the change-tracking information for the self-tracking entities can be used to update the database.
Which ObjectContext method should you call after changes are made to the entities?

What should you do?

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?