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

    You create a custom list named Products. You need to perform a Representational State Transfer (REST) query that returns the first product in the list. Which URL should you use?

    A. http://intranet/_vti_bin/ListData.svc/Products(1)
    B. http://intranet/_vti_bin/ListData.svc/Products $filter=1
    C. http://intranet/Lists/Products/AllItems.aspx contents=1
    D. http://intranet/Lists/Products/ListData.svc $expand=1

  • Question 102:

    You deploy a custom Web Part named WebPart1 to a SharePoint site.

    WebPart1 contains the following code segment. (Line numbers are included for reference only.)

    01 protected void Page_Load(object sender, EventArgs e)

    02 {

    03 SPSite site = null;

    04 try

    05 {

    06 SPSite site = new SPSite("http://www.contoso.com/default.aspx");

    07 SPWeb web = site.OpenWeb();

    09 ...

    10 }

    11 catch

    12 {

    14 }

    15 finally

    16 {

    18 }

    19 }

    After you deploy WebPart1, users report that the pages on the site load slowly.

    You retract WebPart1 from the site.

    Users report that the pages on the site load without delay. You need to modify the code in WebPart1 to prevent the pages from loading slowly.

    What should you do?

    A. Add the following line of code at line 08: site.ReadOnly = true;
    B. Add the following line of code at line 13: site.Dispose();
    C. Add the following line of code at line 17: site.Dispose();
    D. Add the following line of code at line 17: site.ReadOnly = true;

  • Question 103:

    You create a console application to manage Personal Sites. The application contains the following code segment. (Line numbers are included for reference only.)

    01 Dim siteCollection As New SPSite("http://moss");

    02 Dim profileManager As New serProfileManager(ServerContext.GetContext(siteCollection));

    03 Dim profile As UserProfile = profileManager.GetUserProfile("domain\username");

    04 Dim personalSite As SPSite = profile.PersonalSite; 06 siteCollection.Dispose();

    You deploy the application to a SharePoint site.After deploying the application, users report that the site loads slowly. You need to modify the application to prevent the site from loading slowly.

    What should you do?

    A. Remove line 06.
    B. Add the following line of code at line 05. personalSite.close();
    C. Add the following line of code at line 05. personalSite.Dispose();
    D. Change line 06 to the following code segment. siteCollection.close();

  • Question 104:

    You create a Web Part that contains the following code segment. (Line numbers are included for reference only.)

    01 public class HebPart1: WebPart

    02 {

    03 public VebPart1() {}

    05 protected override void CreateChildControlst)

    06 {

    07 Button clickButton = new Button(); 08

    09 base.CreateChildControls();

    10 ]

    12 protected override void BenderContents(HtrolTextWriter writer)

    13 {

    15 base.RenderContents(writer);

    16 }

    17 }

    You discover that the clickButton button does not appear. You need to ensure that the clickButton button appears.

    What should you do?

    A. Delete line 09.
    B. Add the following code segment to line 08: Controls.Add(clickButton) ;
    C. Move the code segment from line 07 to line 14.
    D. Add the following code segment to line 14: EnsureChildControls();

  • Question 105:

    You have a custom master page named MyApplication.master.

    You need to apply MyApplication.master to only a custom application page in a SharePoint site. You must achieve the goal by using the minimum amount of effort.

    What should you do?

    A. Add a custom HTTP module to the Web application that modifies the master page.
    B. Add a custom HTTP module to the Web application that modifies the custom application page.
    C. Set the MasterPageFile attribute to ~/_layouts/MyApplication.master in the @Page directive of the customapplication page.
    D. Rename the custom application page as application.master and overwrite the default application.master page in the 14\TEMPLATE\LAYOUTS folder.

  • Question 106:

    You need to create a timer job that queries a list.

    What should you do?

    A. Create a class that inherits SPJobDefinition and override the Execute method.
    B. Create a class that inherits SPServiceApplicationand override the Provision method.
    C. Create a class that inherits SPServiceApplicationand override the Provisionlnstances method.
    D. Create a class that inherits SPJobDefinition and override the Provision method.

  • Question 107:

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

    You create a Feature named Feature1. Feature1 is activated in a SharePoint site.

    You create a Web Part that contains the following code.

    SPSite site = new SPSite("http://intranet/site1");

    SPWeb web = site.OpenWeb();

    SPFeatureDefinition feature = SPFarm.Local.FeatureDefinitions["Feature1"];

    You need to modify the Web Part to activate Feature1 in Site1 only.

    Which code segment should you add to the Web Part?

    A. site.Features.Add(feature.Id);
    B. site.WebApplication.WebService.Features.Add(feature.Id);
    C. web.Features.Add(feature.Id);
    D. web.Site.WebApplication.WebService.Features.Add(feature.Id);

  • Question 109:

    You are running a default installation of Microsoft Visual Studio 2010. You have a user control named Control.ascx.

    You need to convert the user control to a Web Part that will be hosted in a Microsoft SharePoint Server 2010 farm. The Web Part must be packaged as a sandboxed solution.

    What should you do?

    A. Create a new Web Part and reuse the code from the existing MyControl.ascx file.
    B. Import the user control into a new Visual Web Part and use the existing MyControl.ascx file.
    C. Modify the SafeControls section of the web.config file.
    D. Copy the Control.ascx file to the ControlTemplates folder.

  • Question 110:

    You plan to create a custom approval workflow. The workflow approvers will enter their employee number in the edit task form. You need to ensure that the onTaskChangedl_Invoked method of the workflow retrieves the value of the employee number.

    Which object should you use?

    A. SPWorkflowTaskProperties.ExtendedProperties
    B. SPWorkflowTaskProperties.Properties
    C. SPWorkflowActivationProperttes.Item
    D. SPWorkflowActivationProperties.TaskUstld

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.