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 221:

    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 222:

    You have a custom user profile property named MyProperty. You need to create a Web Part that displays the value of MyProperty for the current user. Which code segment should you use?

    A. Dim profile As String = SPContext.Current.Web.Properties("CurrentUser/MyProperty")
    B. Dim profile As String = SPContext.Current.Web.Users("MyProperty").ToString()
    C. Dim profileManager As New UserProfileManager(SPServiceContext.Current) Dim userProfile As UserProfile = profileManager.GetUserProfile (SPContext.Current.Web.CurrentUser.LoginName) Dim profile As String = userProfile("MyProperty").ToString()
    D. Dim profileManager As New UserProfileManager(SPServiceContext.Current) Dim userProfile As UserProfile = profileManager.GetUserProfile (SPContext.Current.Web.CurrentUser.LoginName) Dim profile As String = userProfile.Properties.GetPropertyByName ("MyProperty").ToString()

  • Question 223:

    You are creating an event receiver. The event receiver will have a field named Title and a field named Priority. You write the following code segment for the event receiver. (Line numbers are included for reference only.)

    01 Public Overloads Overrides Sub ItemUpdating(ByVal prop As SPItemEventProperties)

    02 MyBase.ItemUpdating(prop)

    06 End Sub

    You need to ensure that when the Title field is changed to include the word IMPORTANT, the Priority field is set to URGENT. Which code segments should you add at lines 03, 04 and 05?

    A. 03If prop.AfterProperties("vti_title").ToString().Contains("IMPORTANT") Then 04 prop.AfterProperties("Priority") = "URGENT" 05 End If
    B. 03If prop.AfterProperties("vti_title").ToString().Contains("IMPORTANT") Then 04 prop.ListItem("Priority") = "URGENT" 05 End If
    C. 03 If prop.BeforeProperties("vti_title").ToString().Contains("IMPORTANT") Then 04 prop.AfterProperties("Priority") = "URGENT" 05 End If
    D. 03 If prop.ListItem("Title").ToString().Contains("IMPORTANT") Then 04 prop.AfterProperties("Priority") = "URGENT" 05 End If

  • Question 224:

    You have a Feature named Feature1. You plan to create a new version of Feature1 that will upgrade the existing version of Feature1. You need to ensure that when Feature1 is upgraded, additional configuration data is added to the property bag of the site. What should you do?

    A. Add a element and increase the Version number of the Feature.
    B. Add a element and increase the UIVersion number of the Feature.
    C. Add an element and increase the Version number of the Feature.
    D. Add an element and increase the UIVersion number of the Feature.

  • Question 225:

    You need to create a Web Part that will store and retrieve information for the current subsite. Which object should you use?

    A. SPContext.Current.Site.RootWeb.AllProperties
    B. SPContext.Current.Site.RootWeb.Configuration
    C. SPContext.Current.Web.Configuration
    D. SPContext.Current.Web.Properties

  • Question 226:

    You create a user control named MySearch.ascx.

    You plan to change the native search control in SharePoint to MySearch.ascx.

    You need to provide the site administrator with the ability to change the out-of- the-box search control to MySearch.ascx.

    What should you do?

    A. Override the search delegate control by using a Feature.
    B. Modify the element in the web.config file.
    C. Configure the SearchBox.dwp in the Web Part gallery,
    D. Modify \14\TEMPLATE\FEATURES\SearchWebParts\SearchBox.dwp.

  • Question 227:

    You need to add a modal dialog box to a SharePoint application. What should you use?

    A. the Core.js JavaScript
    B. the Microsoft.SharePoint assembly
    C. the Microsoft.SharePoint.Client assembly
    D. the SP.js JavaScript

  • Question 228:

    You develop a custom master page. You need to ensure that all pages that use the master page contain a specific image. Page developers must be able to change the image on individual pages. The master page must be compatible with the default content page. What should you add to the master page?

    A. a ContentPlaceHolder control
    B. a Delegate control
    C. a PlaceHolder control
    D. an HTML Div element

  • Question 229:

    You create a SharePoint solution that contains two Features named Feature1 and Feature2.

    You need to ensure that Feature1 is always activated before Feature2. You must achieve this goal by using the minimum amount of development effort.

    What should you do?

    A. From Feature1.feature explorer, add Feature2 to the Feature Activation Dependencies list.
    B. Create a custom Feature receiver for Feature2.
    C. From Feature2.feature explorer, add Feature1 to the Feature Activation Dependencies list.
    D. Create a custom Feature receiver for Feature1.

  • Question 230:

    You have a document library named MyDocs. MyDocs has a column named Column1. Column1 is a required column.

    You discover that many documents are checked out because users fail to enter a value for Column1.

    You need to create a Web Part to delete the documents.

    Which code segment should you include in the Web Part?

    A. foreach (SPCheckedOutFile file in ((SPDocumentLibrary)SPContext.Current.Web. Lists["MyDocs"]).CheckedOutFiles) { file.Delete(); }
    B. foreach (SPItem file in SPContext.Current.Web.Lists["MyDocs"].Items) { if ((file("CheckOutStatus") == "CheckOut")) { file.Delete(); } }
    C. foreach (SPListItem file in ((SPDocumentLibrary)SPContext.Current.Web.Lists ["MyDocs"]).Items) { if ((file("CheckOutStatus") == "CheckOut")) { file.Delete(); } }
    D. foreach (SPCheckedOutFile file in ((SPDocumentLibrary)SPContext.Current.Web. Lists["MyDocs"]).CheckedOutFiles) { file.TakeOverCheckOut(); }

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.