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

    You have one Web application that contains several SharePoint site collections.

    You need to add a custom button to the Documents tab on the Ribbon of one site collection only.

    What should you do?

    A. Create a new Feature. In a new node, specify the location of Ribbon.Tabs._children.
    B. Create a new Feature. In a new node, specify the location of Ribbon.Documents.Manage.Controls._children.
    C. Modify the CMDUI.xml file. In a new node, specify the location of Ribbon.Tabs._children.
    D. Modify the CMDUI.xml file. In a new node, specify the location of Ribbon. Documents.Manage.Controls._children.

  • Question 212:

    You have a Web Part that causes an error. You need to ensure that you can view the trace history in the Trace.axd file. What should you configure in the web.config file?

    A. In the element, add the following line of code.
    B. In the element, configure the following attributes. CallStack="true" AllowPageLevelTrace="true"
    C. In the element, configure the following attributes. CallStack="false" AllowPageLevelTrace="true"
    D. In the element, configure the following element. In the element, configure the following attribute. AllowPageLevelTrace="true"

  • Question 213:

    You are creating a Web Part that will be deployed as a sandboxed solution. You need to ensure that the Web Part can write debugging information to the SharePoint trace logs. Which class should the logging component inherit?

    A. SPDelegate
    B. SPLog
    C. SPPersistedObject
    D. SPProxyOperation

  • Question 214:

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

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

    You create a Web Part that programmatically updates the description of the current SharePoint site. The Web Part contains the following code segment. (Line numbers are included for reference only.)

    01 RunWithElevatedPrivileges(EvelateSub)

    02 Private Sub ElevatedSub()

    03 Dim currSite As SPSite = SPContext.Current.Site

    04 Dim currWeb As SPWeb = SPContext.Current.Web

    05 Using eSite As New SPSite(currSite.ID)

    06 Using eWeb As SPWeb = eSite.OpenWeb(currWeb.ID)

    07 eWeb.AllowUnsafeUpdates = True

    08 currWeb.Description = "Test"

    09 currWeb.Update()

    10 eWeb.AllowUnsafeUpdates = False

    11 End Using

    12 End Using

    Users report that they receive an Access Denied error message when they use the Web Part. You need to ensure that all users can use the Web Part to update the description of the current site.

    What should you do?

    A. Remove lines 07 and 10.
    B. Remove lines 08 and 09.
    C. Change lines 08 and 09 to use the eWeb variable.
    D. Change lines 07 and 10 to use the currWeb variable.

  • Question 217:

    You are developing a custom Feature by using Microsoft Visual Studio 2010. You need to ensure that when you deploy the Feature, a file named Form1.xsn is deployed to the Feature folder. You must achieve this goal by using the minimum amount of development effort. What should you do?

    A. Add a new module to the Visual Studio project.
    B. Add a Feature receiver to the Visual Studio project.
    C. Configure the Properties element in the Feature definition file.
    D. Configure the ActivationDependencies element in the Feature definition file.

  • Question 218:

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

    You have a custom site definition. You create a custom site Feature. You need to ensure that the Feature is activated for all new sites that are created by using the custom site definition. What should you do?

    A. Modify the Onet.xml file.
    B. Modify the web.config file.
    C. Add a Feature receiver to the custom site Feature.
    D. Add a Feature dependency to the custom site Feature.

  • Question 220:

    You have the following event receiver. (Line numbers are included for reference only.)

    01Public Overloads Overrides Sub FieldDeleting

    (ByVal properties As SPListEventProperties)

    02 MyBase.FieldDeleting(properties)

    03 If properties.FieldName = "Status" Then

    06 End If

    07End Sub

    You need to cancel the operation and redirect the user to a custom error page if the name of the deleted field is Status. Which code segments should you add at lines 04 and 05?

    A. 04properties.ReceiverData = "/_layouts/customErrorPage.aspx" 05properties.Cancel = True
    B. 04properties.RedirectUrl = "/_layouts/customErrorPage.aspx" 05properties.Cancel = True
    C. 04properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl 05properties.ReceiverData = "/_layouts/customErrorPage.aspx"
    D. 04properties.Status = SPEventReceiverStatus.CancelWithRedirectUrl 05properties.RedirectUrl = "/_layouts/customErrorPage.aspx"

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.