You need to delete the previous versions of all documents in a document library. The deleted versions of the documents must be retained in the SharePoint Recycle Bin. What should you do? A. For the document library, call the Recycle…

You need to create a Microsoft .NET Framework console application that queries a list by using the SharePoint client object model. Which two assemblies should you reference? (Each correct answer presents part of the solution. Choose two.) A. Microsoft.Office.Sharepoint.ClientExtensions.dll B.…

You have a SharePoint site collection that contains 100 sites. Each site contains 100 lists. You need to retrieve the data from all of the lists. The data must be retrieved in the minimum amount of time. Which access method…

You are creating an application for SharePoint Server 2010. The application will run on a remote computer. You need to identify a data access method to query lists in the application. Strongly-typed access to columns must be provided from within…

You create a custom list named Products. You need to perform a Representational State Transfer (REST) query that returns products 30 to 39. Which URL should you use? A. /ListData.svc/Products(30) $skip=10 B. /ListData.svc/Products(39) $skip=30 C. /ListData.svc/Products $skip=10&$top=30 D. /ListData.svc/Products $skip=30&$top=10

You create a custom list named Products. You need to perform a Representational State Transfer (REST) query that returns the first product in the list. Which URL should you use? A. http://intranet/_vti_bin/ListData.svc/Products(1) B. http://intranet/_vti_bin/ListData.svc/Products $filter=1 C. http://intranet/Lists/Products/AllItems.aspx contents=1 D. http://intranet/Lists/Products/ListData.svc…

You create two custom lists named Offices and Rooms. Rooms has the following columns: . Title . Capacity . Equipment Offices has the following columns: . Title . Rooms (a lookup to the Title column in the Rooms list) .…

You plan to create a custom Web Part that displays items from a custom SharePoint list named Project. You need to ensure that you can access the list by using strongly-typed objects in Microsoft Visual Studio 2010. What should you…

You need to create a Web Part that displays all of the permission levels of the current subsite. Which collection should you use? A. SPContext.Current.Web.Permissions B. SPContext.Current.Web.Properties C. SPContext.Current.Web.RoleAssignments D. SPContext.Current.Web.RoleDefinitions

You develop a custom approval workflow. The workflow uses the CreateTask class to assign tasks to a user named User1. A list called Tasks stores the tasks. Other workflows and users use the Tasks list. You need to ensure that…