70-573 Exam Questions
233 real 70-573 exam questions with expert-verified answers and explanations. Page 3 of 5.
- Question #102
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...
- Question #103
You have a helper method named CreateSiteColumn that contains the following code segment. static void CreateSiteColumn ( SPWeb web, string columnName ) { } You need to add a new si...
- Question #104
You have a custom user profile property named MyProperty. You need to create a Web Part that displays the value of MyProperty for the current user. Which code segment should you us...
- Question #105
You are creating a Microsoft .NET Framework application that will display the title of the SharePoint site and will execute outside of the SharePoint server. You create a textbox n...
- Question #107
You create a Web Part. You need to display the number of visits to a SharePoint site collection in a label named LblVisits. You write the following code segment. (Line numbers are...
- Question #108
You plan to create a custom Web Part that displays items from a custom SharePoint list named Project. You need to ensure that you can access the list by using strongly-typed object...
- Question #109
You need to create a Web Part that displays all of the content created by a specific user. You write the following code segment. (Line numbers are included for reference only.) 01D...
- Question #110
You create two custom lists named Offices and Rooms. Rooms has the following columns: Offices thas the following columns: You need to perform a Representational State Transfer (RES...
- Question #111
You create a Web Part that programmatically updates the description of the current SharePoint site. The Web Part contains the following code segment. (Line numbers are included for...
- Question #112
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 Ren...
- Question #113
You need to create a custom content type and specify the content type ID. What should you do?
- Question #114
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 y...
- Question #115
You have a SharePoint solution that contains a custom site column and a custom content type. You need to add the custom site column as a lookup field for the custom content type. W...
- Question #116
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 t...
- Question #117
You need to create a Web Part that adds a term set to the current SharePoint site collection's term store. You write the following code segment. (Line numbers are included for refe...
- Question #119
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...
- Question #120
You plan to develop a Web Part that displays a SharePoint list. The Web Part will verify the list permissions when users access it by using the web.CurrentUser.DoesUserHavePermissi...
- Question #121
You are developing a Feature that will be used in multiple languages. You need to ensure that users view the Feature's title and description in the display language of their choice...
- Question #123
You need to create a Web Part that creates a copy of the out-of-the box Contribute permission level. Which code segment should you implement in the Web Part?
- Question #125
You plan to create one provider Web Part and two consumer Web Parts. You need to ensure that the consumer Web Parts can receive data from the provider Web Part. You create an inter...
- Question #126
You create a Web Part that contains the following code segment. (Line numbers are included for reference only.) 01 Public Class WebPart1 02 Inherits WebPart 03 04 Public Sub New()...
- Question #127
You have a timer job that has the following constructors. (Line numbers are included for reference only.) 01 public TimerJob1 () : base() { } 02 public TimerJob1(SPWebApplication w...
- Question #128
You need to programmatically add a user named User1 to a group named Group1. You write the following code segment. (Line numbers are included for reference only.) 01 Dim login As S...
- Question #129
You are running a default installation of Microsoft Visual Studio 2010. You have a Web Part named WebPart1. WebPart1 runs on a Microsoft Office SharePoint Server 2007 server. You n...
- Question #131
You need to send a single value from a consumer Web Part to a provider Web Part. Which interface should you use?
- Question #133
You create a user control named MySearch.ascx. You plan to change the native search control in SharePoint to MySearch.ascx. You need to provide the site administrator with the abil...
- Question #134
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.) 01Dim...
- Question #136
You plan to create two Web Parts named Products and ProductDetails. You create an interface that contains the following code segment. Public Interface Interface1 Property Productid...
- Question #138
You create a Web Part that contains the following logging code. (Line numbers are included for reference only.) 01Try 02 ... 03Catch ex As Exception 04 05System.Diagnostics.EventLo...
- Question #139
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...
- Question #140
You have a SharePoint site that uses a master page named Master1.master. You create a custom user control named MySearch.ascx. You need to change the default search box to MySearch...
- Question #144
You create a console application to manage Personal Sites. The application contains the following code segment. (Line numbers are included for reference only.) 02 Dim profileManage...
- Question #145
You need to create a Web Part that will store and retrieve information for the current subsite. Which object should you use?
- Question #147
You have a SharePoint site collection. You plan to create a user solution that will contain a Web Part. The Web Part will display the title of the root Web. You write the following...
- Question #148
You have a Feature named Feature1. You plan to create a new version of Feature1 that will upgrade the existing version of Feature1. You need to ensure that when Feature1 is upgrade...
- Question #150
You create a SharePoint solution. You deploy the SharePoint solution by using Microsoft Visual Studio 2010. You need to prevent the Feature that is contained in the solution from b...
- Question #152
You create a Web Part that takes three values from three text boxes and creates a new SharePoint site when you click a button named CreateNewSite. The Web Part contains the followi...
- Question #153
You have a custom theme named MyTheme. The theme is defined in a file named MyTheme.thmx. You have a console application that contains the following code segment. (Line numbers are...
- Question #155
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 f...
- Question #156
You need to create a Web Part that hides the out-of-the-box Ribbon on the current page. Which code segment should you include in the Web Part?
- Question #158
You created a custom ASPX page that updates a list. The page is deployed to the Jayouts folder. The page contains the following code segment. 01 < form id=" Forml" runat =" Server"...
- Question #163
You need to create a Web Part that displays all of the permission levels of the current subsite. Which collection should you use?
- Question #172
You create a Web Part that calls a function named long Call. You discover that long Call takes a long time to execute. You need to display in the Developer Dashboard how long it ta...
- Question #173
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....
- Question #174
You create a sandboxed solution that contains a Web Part. You need to debug the Web Part by using Microsoft Visual Studio 2010. To which process should you attach the debugger?
- Question #177
You are creating an event receiver. The event receiver will have a field named Title and a field named Priority. You write the following code segment for the event receiver. (Line...
- Question #180
You have the following event receiver. (Line numbers are included for reference only.) 01Public Overloads Overrides Sub FieldDeleting (ByVal properties As SPListEventProperties) 02...
- Question #185
You need to disable the CriticalExceptionCount measure for all user solutions. You write the following code segment. (Line numbers are included for reference only.) 01 Dim userCode...
- Question #189
You are creating a Web Part for SharePoint Server 2010. The Web Part contains the following code segment. (Line numbers are included for reference only.) 01 Protected Overloads Ove...
- Question #192
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...