PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

You need to that all the requested data is retneved

You use Microsoft Visual Studio 2010 and Microsoft ADO.NET Framework 4 to create an
application.The application connects to a Microsoft SQL Server database.The application uses the
ADO.NET LINQ to SQL model to retrieve data from the database. The application will not modifv
retrieved data.You need to that all the requested data is retneved. You want to achieve this goal
using the minimum amount of resources. What should you do?

Which ObectContext method should you choose?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application.You
use the ADO.NET Entity Framework to model your entities.You use Plain Old CLR Obects (POCO)
entities along with snapshot-based change tracking. The code accesses the POCO ent,es direcly. You
need to ensure that the state manager synchronizes when changes are made to the object graph.
Which ObectContext method should you choose?

You need to ensure that the following requirements are met: The database tables are either updated simultaneou

You are analyzing a Windows client application that uses Microsoft Visual Studio 2010 and
Microsoft SQL Server 2008. The application updates two database tables from the main
user interface (UI) thread. You need to ensure that the following requirements are met: The
database tables are either updated simultaneously or not updated at all. Users are notified
of the success or failure of the updates. Users are able to perform other tasks during the
update process. What should you do?

Which two actions sould you perform?

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The
application uses the ADO.NET Entity Framework to manage PIan Old CLR Objects (POCO) entities.
You create a new POCO class.
You reed to ensure that the class meets the following requirements:
• It can be used by an ObjectContext
• It is enabled for change-trackng proxles
Which two actions sould you perform? (Each correct answer presents part of the solution.
Choose two.)

You need to call a function that is defined in the conceptual model from within the LINQ to Entities queries

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The
application connects to a Microsoft SQL Server database. You use the ADO.NET LINQ to Entities
model to retrieve data from the database. You need to call a function that is defined in the
conceptual model from within the LINQ to Entities queries. You create a common language runtime
(CLR) method that maps to the function. What should you do next?

Which approach should you recommend?

You are designing a SharePoint 2010 intranet site at your company. The accounting
department has designed a SharePoint list. They need this list to be included in any new
site that is created by using the Team Site site definition provided by SharePoint. A feature
has been created that provisions the list in a site. You need to satisfy the request from the
accounting department, while reducing the risk that future SharePoint service pack updates
will impact your solution. Which approach should you recommend?