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

    You need to create a Web Part that displays all social tags entered by users. Which code segment should you use?

    A. Dim session As New TaxonomySession(SPContext.Current.Site) Dim socialTags As TermSet = session.DefaultKeywordsTermStore.SystemGroup.TermSets("Keywords")
    B. Dim session As New TaxonomySession(SPContext.Current.Site) Dim socialTags As TermSet = session.DefaultKeywordsTermStore.SystemGroup.TermSets("Tags")
    C. Dim socialTags As TermSet = DirectCast (SPContext.Current.Site.WebApplication.Properties("Tags"), TermSet)
    D. Dim socialTags As TermSet = DirectCast (SPContext.Current.Web.AllProperties("Keywords"), TermSet)

  • Question 2:

    You create a Web Part.

    The Web Part contains a grid view named GridView1 and the following code segment. (Line numbers are included for reference only.)

    01 IntranetDataContext dc = new IntranetDataContext("http://intranet"); 02 MyGridView.DataSource = from announce In dc.Announcements _ ; 04 Select announce IntranetDataContext is a LINQ context.

    You need to ensure that GridView1 only displays items from Announcements that have an expiry date that is greater than or equal to the current date.

    What should you do?

    A. Change line 04 to the following code segment: Select Not announce.Expires.HasValue
    B. Change line 04 to the following code segment: Select announce.Expires.Value.CompareTo(DateTime.Now) >= 0
    C. Add the following line of code at line 03: Where announce.Expires.Value.CompareTo(DateTime.Now) >= 0 _
    D. Add the following line of code at line 03: Order By announce.Expires.Value.CompareTo(DateTime.Now) >= 0 _

  • Question 3:

    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.)

    01 public override void ItemAdding(SPItemEventProperties properties)

    02 {

    03 if (properties.ListItem["Title"].ToString().Contains("secret"))

    04 {

    06 }

    07 }

    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 05?

    A. properties.Cancel = false;
    B. properties.Cancel = true;
    C. properties.Status = SPEventReceiverStatus.Continue;
    D. return;

  • Question 4:

    You have a SharePoint site collection that contains 100 subsites.

    You plan to create a Web Part. The Web Part will be deployed to each subsite.

    You need to ensure that the Web Part retrieves all of the files in the root directory of the current subsite.

    You write the following code segment. (Line numbers are included for reference only.)

    01 SPSite site = SPContext.Current.Site;

    02 SPWeb web = SPContext.Current.Web;

    Which code segment should you add at line 03?

    A. site.AllWebs[1].Files;
    B. Site.RootWeb.Lists[0].Items;
    C. web.Files;
    D. web.RootFolder.SubFolders[0].Files ; web.Users.Add(currentUser.LoginName, currentUser.Email, currentUser.Name, "");

  • Question 5:

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

    You have a SharePoint site collection. The default master page for the site collection displays a navigation bar on the left side of the page. You create a custom content page. You need to hide the navigation bar on only the custom content page. What should you do?

    A. On the default master page, remove the ContentPlaceHolder control that has the ID PlaceHolderLeftNavBar.
    B. On the default master page, set the Visible attribute to False in the ContentPlaceHolder control that has the ID PlaceHolderLeftNavBar.
    C. Add an empty Content control to the custom content page and set the ContentPlaceHolderID attribute to PlaceHolderLeftNavBar.
    D. Add a Content control to the custom content page, set the ContentPlaceHolderID attribute to PlaceHolderLeftNavBar, and set the Visible attribute to False.

  • Question 7:

    You are creating an application for SharePoint Server 2010. The application will run on a remote computer. You need to identify a data access method to query lists in the application. Strongly-typed access to columns must be provided from within Microsoft Visual Studio 2010. Which method should you use?

    A. client object model
    B. LINQ to SharePoint
    C. Representational State Transfer (REST)
    D. server object model

  • Question 8:

    You create a list named List1.

    You create two workflows named WF1 and WF2 for List1.

    You need to ensure that when a new item is created in List1, WF1 starts automatically. WF2 must start automatically after WF1 completes.

    What should you do?

    A. Add a SendActivity activity to WF2.
    B. Add a Replicator activity to WF2.
    C. Create a SPWebEventReceiver event receiver.
    D. Create a SPWorkflowEventReceiver event receiver.

  • Question 9:

    You are developing an application page.

    You need to create a pop-up window that uses the ECMAScript object mode.

    Which class in the SP.UI namespace would you use?

    A. Notify
    B. ModalDialog
    C. PopoutMenu
    D. Menu

  • Question 10:

    You need to delete the previous versions of all documents in a document library. The deleted versions of the documents must be retained in the SharePoint Recycle Bin.

    What should you do?

    A. For the document library, call the Delete method.
    B. For the document library, call the Recycle method.
    C. For each document, call the DeleteAll method of the Versions property.
    D. For each document, call the RecycleAll method of the Versions property.

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.