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

    You create a Business Connectivity Services (BCS) object model in Microsoft Visual Studio 2010. The model connects to an XML file.

    You create an external list that displays the BCS entity.

    You need to ensure that users can delete items from the external list.

    What should you do?

    A. Create a custom method and specify the method as a Deleter method instance.
    B. Call the SPListItem.Delete() method.
    C. Call the SPList.Delete() method.
    D. Create a custom method and specify the method as a Disassociator method instance.

  • Question 182:

    You create a custom page layout that contains code-behind. You need to identify whether the page is in Edit mode or in Display mode. What should you use?

    A. SPContext.Current.FormContext
    B. SPContext.Current.ListItem.Properties
    C. this.Form
    D. this.Web.ASPXPageIndexMode

  • Question 183:

    You create a Feature named Feature1. Feature1 is activated in a SharePoint site. You create a Web Part that contains the following code.

    Dim site As New SPSite("http://intranet/site1")

    Dim web As SPWeb = site.OpenWeb()

    Dim feature As SPFeatureDefinition = 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 184:

    You create a custom Web Part. You need to verify whether the Web Part causes any memory leaks. Which tool should you use?

    A. SPDisposeCheck.exe
    B. SPMetal.exe
    C. Wca.exe
    D. WinDbg.exe

  • Question 185:

    You have a SharePoint list named Assets that contains 1,000,000 items. The list contains a column named Urgent. Approximately 100 items have a value of True in their Urgent column.

    You use the following line of code to retrieve the Assets list.

    SPList assetsList = currentUeb.Lists ["assets"];

    You need to retrieve all of the items in the list that have a value of True in their Urgent column.

    You must retrieve the items in the minimum amount of time.

    What should you do?

    A. Iterate through the assetsList .Fields collection.
    B. Call assetsLists. Getltems and specify theSPQuery parameter.
    C. Call assetsList. Items.GetDataTable ( ) and retrieve DataRowCollection .
    D. Iterate through the assetsList .Items collection.

  • Question 186:

    You create a client application that remotely calls the Business Connectivity Services (BCS) object model.

    You need to create the context that will be used to request a cache refresh.

    Which code segment should you use?

    A. BdcService cCtx = SPFarm.Local.Services.GetValue(string.Empty);
    B. ClientContext cCtx = new ClientContext(string.Empty);
    C. RemoteOfflineRuntime cCtx = new RemoteOfflineRuntime();
    D. RemoteSharedFileBackedMetadataCatalog cCtx = new RemoteSharedFileBackedMetadataCatalog();

  • Question 187:

    You create and deploy a custom Web Part. You add the Web Part to a page and receive a run-time error.

    You need to display the detailed information of the error on the page. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

    A. In the web.config file, set CallStack="True".
    B. In the web.config file, set customErrors="RemoteOnly".
    C. In the registry, set the EnableDebug value to 1.
    D. In the registry, set the DisableLoopbackCheck value to 1.

  • Question 188:

    You are creating an application page that will open a dialog box. The application page uses a custom master page. You write the following code segment. (Line numbers are included for reference only.)

    01 < script type="text/javascript" >

    02 function DialogCallback ( dialogResult, retumValue ){>

    03 function OpenEditDialog (id){

    04 var options = {

    url:" http://intranet/Jayouts /MsgToShow.aspx,

    width: 300,

    05 height: 300,

    06 dialogReturnValueCallback : DialogCallback

    07 };

    08 SP.UI.ModalDialog.showModalDialog (options);

    09 }

    10 < /script >

    You need to ensure that the code opens the dialog box.

    What should you do?

    A. Add a script link that references SP.js .
    B. At line 08, change showModalDialog to commonModalDialogOpen.
    C. At line 08, change showModalDialog to openDialog.
    D. Add a script link that references SharePoint.Dialog,js .

  • Question 189:

    You create a user control named MySearchBox.ascx. You plan to change the native search control in SharePoint to MySearchBox.ascx. You implement a Feature that contains the following code segment.

    Sequence="100"

    ControlSrc="~/_controltemplates/MySearchBox/ MySearchBox.ascx">

    You discover that the MySearchBox.ascx control fails to appear. You need to ensure that the MySearchBox.ascx control appears. What should you do?

    A. Add the ControlClass attribute.
    B. Add the ControlAssembly attribute.
    C. Modify the Sequence attribute value.
    D. Remove the ControlSrc attribute value.

  • Question 190:

    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.

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.