70-573 Exam Questions
233 real 70-573 exam questions with expert-verified answers and explanations. Page 4 of 5.
- Question #193
You have a document library named Documents. Minor and major version management is enabled for the document library. You plan to add a document named MyFile.docx to Documents. You...
- Question #195
You have a helper method named CreateSiteColumn that contains the following code segment. Private Shared Sub CreateSiteColumn (ByVal web As SPWeb, ByVal columnName As String) web.L...
- Question #196
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 #197
You need to create a custom application that provides users with the ability to create a managed property. The managed property name must be specified in the args[1] parameter. You...
- Question #198
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 #199
You have one Web application that contains several SharePoint site collections. You need to add a custom button to the Documents tab on the Ribbon of one site collection only. What...
- Question #201
You are developing an application page. You need to create a pop-up window that uses the ECMAScript object model. Which namespace should you use?
- Question #202
You are creating a new Web Part. You need to create a reference to the current subsite without having to dispose of any returned objects. Which code segment should you use? Dim sit...
- Question #204
You are creating a Web Part. You need to ensure that the Web Part activates a Feature in the subsite without causing a memory leak. Which code segment should you use?
- Question #206
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 #210
You create a custom site definition named DCS. You create a site provision handler for DCS. DCS contains a file named DCSTemplate.xsd that stores configuration data. You need to re...
- Question #211
You create a custom Web Part. You need to verify whether the Web Part causes any memory leaks. Which tool should you use?
- Question #212
You update a solution validator. You need to ensure that all SharePoint solutions are validated the next time the solutions are executed. What should you do?
- Question #213
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...
- Question #214
You have a SharePoint farm that has more than 100 custom Features. You upgrade several Features in the farm. You need to ensure that the site collection uses the most up-to-date ve...
- Question #215
You are creating an application. You develop a custom control that renders a contextual tab. The control contains the following code segment. (Line numbers are included for referen...
- Question #216
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.) 01Public Overlo...
- Question #217
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 refre...
- Question #218
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.) 02 MyGridView.DataSource =...
- Question #219
You are creating a Microsoft .NET Framework application that will display the title of the SharePoint Web application and will execute outside of the SharePoint server. You create...
- Question #220
You have a Microsoft .NET Framework console application that uses the SharePoint client object model. The application contains the following code segment. (Line numbers are include...
- Question #221
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 en...
- Question #222
You need to create a Web Part that displays all social tags entered by users. Which code segment should you use?
- Question #223
You have a list named Projects that contains a column named ClassificationMetadata. You need to create a Web Part that updates the ClassificationMetadata value to NA for each item...
- Question #224
You have a Web application that contains the following code segment. Private Sub CreatingSPSite() Dim siteCollection As SPSite = Nothing Try Finally End Try End Sub You need to pre...
- Question #225
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.) 01Protected Sub Page...
- Question #226
You have a Web Part that contains the following code segment. (Line numbers are included for reference only.) 01Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs...
- Question #227
You create an event receiver. The ItemAdded method for the event receiver contains the following code segment. (Line numbers are included for reference only.) 01Dim recWeb As SPWeb...
- Question #228
You need to add a modal dialog box to a SharePoint application. What should you use?
- Question #229
You plan to add a custom tab to the Ribbon in a SharePoint Web application. You create a custom Feature that contains an Elements.xml file. You need to ensure that the custom tab o...
- Question #230
You have one Web application that contains several SharePoint site collections. You need to create a Feature that adds a custom button to the Documents tab on the Ribbon of one sit...
- Question #231
You create a Feature. You need remove the link to the Site Content Type page from the Site Settings page by using the Feature. Which element should you use in the Feature?
- Question #232
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 b...
- Question #233
You develop a new publishing page layout named MyPage.aspx for a SharePoint site. You create an Elements.xml file. Elements.xml contains the following code segment. (Line numbers a...
- Question #234
You need to create a Web control that displays HTML content during the last stage of the page processing lifecycle. Which method should you override in the Web control?
- Question #235
You need to create a Web control that displays an ASCX control. Which event should you use?
- Question #236
You have a Web Part named WebPart1. WebPart1 runs on a Microsoft Office SharePoint Server 2007 server. You need to ensure that WebPart1 can run as a sandboxed solution in SharePoin...
- Question #237
You need to convert a user control named Control.ascx to a SharePoint Web Part. The Web Part must be packaged as a user solution. What should you do?
- Question #238
You plan to create a Web Part for a SharePoint site. You need to ensure that the Web Part can send data to other Web Parts in the site. What should you do?
- Question #239
You create a SharePoint farm 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 debugge...
- Question #240
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 t...
- Question #241
You have a Web Part that causes an error. You need to ensure that you can view the trace history in the Trace.axd file. What should you configure in the web.config file?
- Question #242
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 followin...
- Question #243
You create a custom page layout that contains the following code segment. (Line numbers are included for reference only.) 01Please enter a number: 02<SharePointWebControls:InputFor...
- Question #244
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?
- Question #245
You create a timer job. You need to debug the timer job. To which process should you attach the debugger?
- Question #246
You need to schedule a timer job to run every two hours. Which schedule should you use?
- Question #247
You are creating a Business Connectivity Services (BCS) entity. You need to ensure that all data returned by the entity is available in search results. Which type of method instanc...
- Question #248
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 applicati...
- Question #250
You need to create a Microsoft .NET Framework console application that queries a list by using the SharePoint client object model. Which two assemblies should you reference? (Each...