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

    You have a custom Web Part that is deployed as a sandboxed solution.

    You need to ensure that the Web Part can access the local file system on a SharePoint server.

    You must minimize the amount of privileges assigned to the Web Part.

    What should you do?

    A. Deploy the Web Part to the Global Assembly Cache (GAC).
    B. Elevate the trust level to Full.
    C. Redeploy the Web Part as a farm solution.
    D. Elevate the trust level to WSS_Medium.

  • Question 112:

    You need to create a custom content type and specify the content type ID. What should you do?

    A. Call the Lists Web service.
    B. Create a custom Feature.
    C. Call the Webs Web service.
    D. Create a new module.

  • Question 113:

    You have a Microsoft Office SharePoint Server 2007 site.

    You upgrade the site to SharePoint Server 2010.

    You need to create a Feature that prevents site collection administrators from upgrading the user interface of the site to SharePoint Server 2010.

    Which property should you use?

    A. UIVersionConfigurationEnabled
    B. AdministrationSiteType
    C. AllowMasterPageEditing
    D. AllowDesigner

  • Question 114:

    You have several SharePoint sites.

    You plan to load a custom script in all pages of the sites.

    You need to ensure that you can activate or deactivate the script at the site level.

    What should you do?

    A. Create a site definition and modify the CustomJSUrl attribute in the Onet.xml file.
    B. Create a site definition and modify the element in the web.config file.
    C. Create a user control that contains the script. Create a Feature that overrides the ControlArea delegate control.
    D. Create a user control that contains the script. Create a Feature that overrides the AdditionalPageHead delegate control.

  • Question 115:

    You have a Microsoft Office SharePoint Server 2007 site.

    You upgrade the site to SharePoint Server 2010.

    You need to create a Feature that prevents site collection administrators from upgrading the user interface of the site to SharePoint Server 2010.

    Which property should you use?

    A. UIVersionConfigurationEnabled
    B. AdministrationSiteType
    C. AllowMasterPageEditing
    D. AllowDesigner

  • Question 116:

    You plan to activate the Developer Dashboard.

    You create a command line application that contains the following code segment. (Line numbers are included for reference only.)

    01 SPUebService cs = SPHebService.ContentServi.ee ;

    02 cs.DeveloperDashfooardSettings.DisplayLevel = SPDeveloperDashboardLevel.On ; You execute the application and discover that the Developer Dashboard fails to appear.

    You need to ensure that the application activates the Developer Dashboard.

    What should you do?

    A. Add the following line of code at line 03: cs.Update();
    B. Add the following line of code at line 03: cs.DeveloperDashboardSettings.Update();
    C. Change line 02 to the following code segment: cs.DeveloperDashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.Off;
    D. Change line 02 to the following code segment: cs.DeveloperDashboardSettings.DisplayLevel = SPDeveloperDashboardLevel.OnDemand;

  • Question 117:

    You create a Web Part that queries a list. The Web Part contains the following code segment. (Line numbers are included for reference only.) 01Protected Overloads Overrides Sub Render(ByVal writer As HtmlTextWriter) 02 Dim spInToken As SPUserToken = GetTheContext(SPContext.Current.Site) 03 Using aSite As New SPSite(curSiteCtx.ID, spInToken) 04 ... 05 End Using 06 End Sub 07Private Function GetTheContext(ByVal nWeb As SPSite) As SPUserToken 08 nWeb.CatchAccessDeniedException = False 09 Dim spToken As SPUserToken = Nothing 10 Try 11 spToken = nWeb.SystemAccount.UserToken 12 Catch generatedExceptionName As UnauthorizedAccessException 14 End Try 15 Return spToken 16End Function

    You need to ensure that users without permissions to the list can view the contents of the list from the Web Part. Which code segment should you add at line 13?

    A. SPSecurity.RunWithElevatedPrivileges(EvelvatedSub) Private Sub ElevatedSub() Using eSite As New SPSite(nWeb.ID) spToken = nWeb.SystemAccount.UserToken End Using End Sub
    B. SPSecurity.RunWithElevatedPrivileges(EvelvatedSub) Private Sub ElevatedSub() Using eSite As New SPSite(nWeb.ID) spToken = SPContext.Current.Web.CurrentUser.UserToken End Using End Sub
    C. spToken = nWeb.RootWeb.AllUsers(SPContext.Current.Web.Name).UserToken
    D. spToken = nWeb.RootWeb.AllUsers(SPContext.Current.Web.Name).UserToken

  • Question 118:

    You plan to create a Web Part for a SharePoint site. You need to ensure that the Web Part can send data to other Web Parts in the site. What should you do?

    A. Implement the IAlertNotifyHandler interface.
    B. Implement the IAlertUpdateHandler interface.
    C. Create a custom interface that uses the WebBrowsable and the WebPartStorage attributes.
    D. Create a custom interface that uses the ConnectionProvider and ConnectionConsumer attributes.

  • Question 119:

    You have a Web application named WebApp1.

    You have a Feature receiver named FeatureReceiver1. FeatureReceiver1 stores a connection string in the web.config file of WebApp1.

    You need to ensure that when FeatureReceiver1 makes configuration changes to web.config, the changes are automatically replicated to all Web servers in the farm.

    Which class should you use in FeatureReceiver1?

    A. SPPersistedObject
    B. SPWebConfigModification
    C. SPDiagnosticsService
    D. WebConfigurationManager

  • Question 120:

    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.

    < Workflowlnfo>

    ClassName =" SPDActivityDemo.Createsite " Assembly=" SPDActivityDemo , Version=l.0.0.0, Culture=neutral, PublicKeyToken= Ia4a7a2c3215a71b " AppliesTo ="all" Category="Test">

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.