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

    You have a SharePoint site collection that contains 100 sites. Each site contains 100 lists.

    You need to retrieve all item titles from all lists. The data must be retrieved in the minimum amount of time.

    Which access method should you use?

    A. SPList.Items
    B. SPListltemCollection.GetDataTable
    C. SPSiteDataQuery
    D. ListData.svc

  • Question 72:

    You have a SharePoint site collection that has the URL http://contoso/sites/finance.

    You are creating a Microsoft .NET Framework console application that will use the SharePoint client object model to create a site in the site collection.

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

    01 ClientContext cCtx = new ClientContext("http://contoso/sites/finance");

    02 Web root = cCtx.Site.RootWeb;

    03 cCtx.Load(root);

    04 WebCreationInformation webInfo = new WebCreationInformation(); 05 webInfo.Title = "site1";

    06 webInfo.Url = "site1";

    07 webInfo.WebTemplate = "MPS#2";

    08 root.Webs.Add(webInfo);

    10 cCtx.Dispose();

    You need to ensure that the application creates the site.

    Which code segment should you add at line 09?

    A. cCtx.Site.RootWeb.Update ();
    B. cCtx.ExecuteQuery ();
    C. root.Context.Dispose ();
    D. coot.Update ();

  • Question 73:

    You develop a custom approval workflow. The workflow uses the CreateTask class to assign tasks to a user named User1. A list called Tasks stores the tasks. Other workflows and users use the Tasks list. You need to ensure that the tasks assigned to User1 can only be viewed by User1.

    What should you do?

    A. Set the CreateTask.SpecialPermissions property.
    B. Set the CreateTask.TaskProperties property.
    C. Break the permission inheritance for the Tasks list.
    D. Assign a custom permission level to a group that contains User1.

  • Question 74:

    You create a custom field type and a CustomFieldControl.ascx user control. You need to write the code-behind of the CustomFieldControl.acsx user control.

    Which object should you override?

    A. SPFieldText
    B. BaseFieldControl
    C. SPFieldCalculated
    D. WebPart

  • Question 75:

    You create a Web Part by using Microsoft Visual Studio 2010. You need to execute SPDisposeCheck.exe before the Web Part is deployed. What should you do?

    A. Configure a pre-deployment command line.
    B. Configure SPDisposeCheck.exe as an external tool.
    C. Change the configuration from Active (Debug) to Release.
    D. Change the active deployment configuration to No Activation.

  • Question 76:

    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. For Each file As SPCheckedOutFile In CType(SPContext.Current.Web.Lists("MyDocs"),SPDocumentLibrary).CheckedOutFiles file.Delete Next
    B. For Each file As SPItem In SPContext.Current.Web.Lists("MyDocs").Items If (file("CheckOutStatus") = "CheckOut") Then file.Delete End If Next
    C. For Each file As SPListItem In CType(SPContext.Current.Web.Lists("MyDocs"),SPDocumentLibrary).Items If (file("CheckOutStatus") = "CheckOut") Then file.Delete End If Next
    D. For Each file As SPCheckedOutFile In CType(SPContext.Current.Web.Lists("MyDocs"),SPDocumentLibrary).CheckedOutFiles file.TakeOverCheckOut Next

  • Question 77:

    You need to create a Web Part that verifies whether a user who accesses the Web Part page is a member of a group named Group1.

    Which code condition should you use?

    A. SPContext.Current.Web.Groups("Group1").ContainsCurrentUser
    B. SPContext.Current.Web.SiteUsers (SPContext.Current.Web.CurrentUser.ID).Groups("Group1") == null
    C. SPContext.Current.Web.SiteUsers (SPContext.Current.Web.CurrentUser.ID).Groups("Group1") = null
    D. SPContext.Current.Web.Users("Group1").IsDomainGroup

  • Question 78:

    You have a SharePoint site. The current master page of the site is v4.master.

    You create a custom master page named MyMasterPage.master and deploy it to /_catalogs/masterpage/.

    You need to apply the custom master page to the site and ensure that future pages added to the site, including system and application pages, automatically use the custom master page. You must also ensure that future SharePoint updates

    do not remove or modify the changes you have made.

    What should you do?

    A. Set the MasterUrl property and CustomMasterUrl property of the site to /_catalogs/masterpage/MyMasterPage.master,
    B. In the ㏄age directive of each page layout, set the MasterPageFile attribute to /_catalogs/masterpage/MyMasterPage.master.
    C. Rename the custom master page as v4.master and overwrite \14\TEMPLATE\GL0BAL\v4.master.
    D. Rename the custom master page as v4.master and overwrite /_catalogs/masterpage/v4,master.

  • Question 79:

    You create a Microsoft .NET Framework console application that uses a Representational State Transfer (REST) API to query a custom list named Products. The application contains the following code segment.

    Dim codc As New AdventureWorksDataContext(New

    Uri("http://contoso/_vti_bin/listdata.svc"))

    codc.Credentials = CredentialCache.DefaultCredentials

    You need to read all items in Products into an object. Which method should you use?

    A. codc.Products.All
    B. codc.Products.AsQueryable
    C. codc.Products.ElementAt
    D. codc.Products.ToList

  • Question 80:

    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

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.