PrepAway - Latest Free Exam Questions & Answers

Category: 70-573 (v.1)

Exam 70-573: TS: Microsoft SharePoint 2010, Application Development (update October 30th, 2015)

You need to convert the user control to a Web Part that will be hosted in a Microsoft SharePoint Server 2010 f

You are running a default installation of Microsoft Visual Studio 2010. You have a user control
named Control.ascx. You need to convert the user control to a Web Part that will be hosted in a
Microsoft SharePoint Server 2010 farm. The Web Part must be packaged as a sandboxed
solution. What should you do?

Which code segment should you add to the Web Part?

You create a Feature named Feature1. Feature1 is activated in a SharePoint site. You create a
Web Part that contains the following code. Dim site As New SPSite(“http://intranet/site1”) Dim web
As SPWeb = site.OpenWeb() Dim feature As SPFeatureDefinition =
SPFarm.Local.FeatureDefinitions(“Feature1”) You need to modify the Web Part to activate
Feature1 in Site1 only. Which code segment should you add to the Web Part?

Where should you define the workflow action?

Using Microsoft Visual Studio 2010, you create a custom workflow action named WF1 that copies
the content of a document library to another document library. WF1 is used in a Microsoft
SharePoint Designer reusable workflow. You need to ensure that the workflow action can be
deployed to multiple sites. Where should you define the workflow action?

You need to retrieve all of the items in the list that have a value of True in their Urgent column

You have a SharePoint list named Assets that contains 1,000,000 items. The list contains a
column named Urgent. Approximately 100 items have a value of True in their Urgent column. You
use the following line of code to retrieve the Assets list. SPList assetsList = currentUeb.Lists
[“assets”]; You need to retrieve all of the items in the list that have a value of True in their Urgent

column. You must retrieve the items in the minimum amount of time. What should you do?

Which code segment should you add to the Web Part?

You plan to develop a Web Part that displays a SharePoint list. The Web Part will verify the list
permissions when users access by using the web.CurrentUser. DoesUserHavePermissions
method. You need to ensure that when users do not have permissions to the list, the Web Part
displays the company’s logo. Which code segment should you add to the Web Part?


Page 6 of 24« First...45678...20...Last »