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

    You develop a custom master page.

    You need to ensure that all pages that use the master page contain a specific image in the same location. Page developers must be able to change the image on individual pages without impacting other pages that use the same master page.

    What should you add to the master page?

    A. a ContentPlaceHolder control
    B. an HTML Div element
    C. a Placeholder control
    D. an Image control

  • Question 172:

    You create a custom workflow by using Microsoft Visual Studio 2010.

    You need to specify a custom InfoPath workflow initiation form in the workflow element manifest file.

    Which attribute should you configure?

    A. Association_FormURN
    B. Instantiation_FieldML
    C. Instantiation_FormURN
    D. InstantiationUrl

  • Question 173:

    You have a SharePoint site that uses a master page named Master1.master. You create a custom user control named MySearch.ascx. You need to change the default search box to MySearch.ascx. What should you do?

    A. Modify the SmallSearchInputBox control tag in the master page, and then configure the ControlId property.
    B. Modify the SmallSearchInputBox control tag in the master page, and then configure the ControlSrc property.
    C. Create a Web Part that uses MySearch.ascx. In the master page, add a control tag that references the .webpart file.
    D. Create a Visual Web Part that uses MySearch.ascx. In the master page, add a control tag that references the .webpart file.

  • Question 174:

    You need to create a Web Part that displays all of the content created by a specific user. You write the following code segment. (Line numbers are included for reference only.) 01Dim kRequest As New KeywordQuery(ServerContext.Current)

    03kRequest.QueryText = strQuery

    04Dim resultTbls As ResultTableCollection = kRequest.Execute()

    Which code segment should you add at line 02?

    A. Dim strQuery As String = "author:" and searchAuthor
    B. Dim strQuery As String = "docID:" and searchAuthor
    C. Dim strQuery As String = "SELECT Title, Rank, Write, Url FROM SCOPE() WHERE author = " and searchAuthor
    D. Dim strQuery As String = "SELECT Title, Rank, Write, Url FROM SCOPE() WHERE docID = " and searchAuthor

  • Question 175:

    You are creating a custom workflow action that will be used in Microsoft SharePoint Designer reusable workflows. The action will programmatically create a SharePoint site named Site1 at a specific URL.

    You need to ensure that users can specify the URL of Site1 in the action. What should you use?

    A. the DependencyProperty class
    B. the SPPersistedObject class
    C. the SPWorkflowActivationProperties.InitiationData property
    D. the OnWorkflowActivated.WorkflowProperties property

  • Question 176:

    You create a SharePoint solution by using Microsoft Visual Studio 2010. The SharePoint solution contains a third-party assembly. You need to deploy the third-party assembly to the Global Assembly Cache (GAC). What should you use?

    A. a SharePoint mapped folder
    B. the active deployment configuration
    C. the Feature Designer
    D. the Package Designer

  • Question 177:

    You develop a new publishing page layout named MyPage.aspx for a SharePoint site. You create an Elements.xml file. Elements.xml contains the following code segment. (Line numbers are included for reference only.)

    01

    02

    03

    04 08

    You need to prevent users from creating pages based on the page layout. Which property tag should you add at line 07?

  • Question 178:

    You create a modal dialog that displays a list of items. You need to capture the items selected by a user. Which code segment should you use?

    A. SPItem item = SPContext.Current.Item;
    B. var items = SP.ListOperation.Current.Item();
    C. var items = SP.ListOperation.Selection.getSelectedItems();
    D. var item = SPContext.Current.Item["Selected"];

  • Question 179:

    You have a SharePoint list named Announcements. You have an event receiver that contains the following code segment. (Line numbers are included for reference only.) 01Public Overloads Overrides Sub ItemAdding(ByVal properties As SPItemEventProperties)

    02If properties.ListItem("Title").ToString().Contains("secret") Then 04End If

    05End Sub

    You need to prevent users from adding items that contain the word "secret" in the title to the list. Which code segment should you add at line 03?

    A. properties.Cancel = false
    B. properties.Cancel = true
    C. properties.Status = SPEventReceiverStatus.Continue
    D. Exit Sub

  • Question 180:

    You are creating a Web Part. The Web Part will be used in a SharePoint subsite that has the URL http://www.contoso.com/hr.You need to ensure that the Web Part activates a Feature in the subsite without causing a memory leak.Which code segment should you use?

    A. Dim featuresCollect As SPFeatureCollection = SPContext.Current.SiteFeatures featuresCollect.Add(New Guid("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"), True)
    B. Dim featuresCollect As SPFeatureCollection = SPContext.Current.WebFeatures featuresCollect.Add(New Guid("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"), True)
    C. Dim web As New SPSite("http://www.contoso.com/hr") Dim featureCollect As SPFeatureCollection = web.Features featureCollect.Add(New Guid("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"), True)
    D. Dim web As SPWeb = New SPSite("http://www.contoso.com/hr").OpenWeb() Dim featureCollect As SPFeatureCollection = web.Features featureCollect.Add(New Guid("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"), True)

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.