70-573 Exam Details

  • Exam Code
    :70-573
  • Exam Name
    :TS: Office SharePoint Server, Application Development (available in 2010)
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :280 Q&As
  • Last Updated
    :Feb 06, 2022

Microsoft 70-573 Online Questions & Answers

  • Question 61:

    You plan to create a workflow that has the following three activities:

    You need to ensure that each time the workflow starts, the three activities are linked to a single task.

    What should you do?

    A. Create an SPWorkflowEventReceiver event receiver for the SharePoint Tasks list.
    B. Configure all activities to use the same Taskld.
    C. Configure all activities to use the same correlation token.
    D. Create an SPItemEventReceiver event receiver for the SharePoint Tasks list.

  • Question 62:

    You have a list named Projects that contains a column named ClassificationMetadata. You need to create a Web Part that updates the ClassificationMetadata value to NA for each item in the Projects list. You write the following code segment. (Line numbers are included for reference only.)

    01For Each currentItem As SPListItem In SPContext.Current.Web.Lists("Projects").Items 03Next

    Which code segment should you add at line 02?

    A. currentItem("ClassificationMetadata") = "NA"
    B. currentItem.Fields("ClassificationMetadata").DefaultFormula = "NA"
    C. currentItem.Fields("ClassificationMetadata").DefaultValue = "NA"
    D. currentItem("Value") = "ClassificationMetadata/NA"

  • Question 63:

    You are creating an application.

    You develop a custom control that renders a contextual tab. The control contains the following code segment.

    (Line numbers are included for reference only.)

    01 protected override void OnPreRender(EventArgs e)

    02 {

    03 SPRibbon curRibbon = SPRibbon.GetCurrent(this.Page); 05 curRibbon.MakeContextualGroupInitiallyVisible("SP.Ribbon.ContextualGroup",

    string.Empty);

    06 base.OnPreRender(e);

    07 }

    You need to ensure that when the custom control is rendered, the custom contextual tab appears in the Ribbon.

    Which code segment should you add at line 04?

    A. curRibbon.Enabled = true;
    B. curRibbon.MakeRTEContextualTabsAvailable("SP.Ribbon.ContextualTab");
    C. curRibbon.MakeTabAvailable("SP.Ribbon.ContextualTab");
    D. curRibbon.Visible = true;

  • Question 64:

    You create a Web Part. You need to display the number of visits to a SharePoint site collection in a label named LblVisits. You write the following code segment. (Line numbers are included for reference only.)

    01 RunWithElevatedPrivileges(ElevateSub)

    02 Private Sub ElevatedSub()

    03 Try

    05 LblVisits.Text = site.Usage.Visits.ToString()

    06 Finally

    07 ...

    08 End Try

    09 End Sub

    Which code segment should you add at line 04?

    A. Dim esite As New SPSite(SPContext.Current.Site.ID)
    B. Dim esite As SPSite = SPContext.Current.Site
    C. Dim esite As SPSite = SPContext.GetContext(HttpContext.Current).Site
    D. Dim esite As SPSite = SPControl.GetContextSite(HttpContext.Current)

  • Question 65:

    You create a Feature.

    You need to add an item to the context menu of a list.

    Which type of element should you use?

    A. a Listlnstance
    B. a ListTemplate
    C. a CustomAction
    D. a Module

  • Question 66:

    You are creating an application page that will open a dialog box. The application page uses a custom master page. You write the following code segment. (Line numbers are included for reference only.)

    01 < script type="text/javascript" >

    02 function DialogCallback ( dialogResult, retumValue ){>

    03 function OpenEditDialog (id){

    04 var options = {

    url:" http://intranet/Jayouts /MsgToShow.aspx, width: 300,

    05 height: 300,

    06 dialogReturnValueCallback : DialogCallback

    07 };

    08 SP.UI.ModalDialog.showModalDialog (options);

    09 }

    10 < /script >

    You need to ensure that the code opens the dialog box.

    What should you do?

    A. Add a script link that references SP.js.
    B. At line 08, change showModalDialog to commonModalDialogOpen.
    C. At line 08, change showModalDialog to openDialog.
    D. Add a script link that references SharePoint.Dialog,js .

  • Question 67:

    You are creating a custom workflow action to be used in Microsoft SharePoint Designer reusable workflows.

    The action programmatically creates a SharePoint site named Site1 at a specific URL. The workflow actions schema file contains the following code segment.

    ClassName="SPDActivityDemo.CreateSite"

    Assembly="SPDActivityDemo, Version=1.0.0.0, Culture=neutral,

    PublicKeyToken=1a4a7a2c3215a71b"

    AppliesTo="all"

    Category="Test">

    You need to ensure that users can specify the URL property of the action in SharePoint Designer.

    What should you add to the schema of the action?

  • Question 68:

    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=10and$top=30
    D. /ListData.svc/Products $skip=30and$top=10

  • Question 69:

    You plan to create one provider Web Part and two consumer Web Parts. You need to ensure that the consumer Web Parts can receive data from the provider Web Part. You create an interface that contains the following code segment.

    Public Interface Interface1

    Property Parameter1 As String

    End Interface

    What should you do next?

    A. Implement Interface1 in the provider Web Part.
    B. Implement IWebPartField in the provider Web Part.
    C. Create a set accessor for Parameter1.
    D. Create a second interface and use it to communicate with the provider Web Part.

  • Question 70:

    You are creating two Web Parts named WPMaster and WPDetails.

    You need to ensure that when an item is selected from WPMaster, the details of the item are displayed in WPDetails.

    This must occur without requiring WPDetails to retrieve the existing item from the data source.

    What should you implement in WPMaster?

    A. IWebActionable
    B. IWebPartTable
    C. IListProvider
    D. IWebPartRow

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-573 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.