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 #201Developing for User Experience
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?
ECMAScriptSP.UI.ModalDialogclient-sidemodal dialog - 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 #210Developing SharePoint Sites
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...
site definitionsite provision handlerSPWebProvisioningPropertiescustom templates - Question #211Developing SharePoint Solutions
You create a custom Web Part. You need to verify whether the Web Part causes any memory leaks. Which tool should you use?
memory leaksSPDisposeCheckWeb Part developmentdebugging tools - Question #212Developing SharePoint Solutions
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?
solution validatorsandboxed solutionsSignature propertysolution validation - Question #213Developing for Data Access
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...
SPWeb.Filesfile retrievalWeb Partserver-side object model - Question #214Developing SharePoint Solutions
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...
Feature upgradeSPWebServiceCollectionSPFarmFeature management - Question #215Developing for User Experience
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...
Ribboncontextual tabSPRibbonMakeTabAvailable - 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 #224Developing SharePoint Solutions
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...
memory managementSPSite disposalIDisposableresource management - 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 #228Developing for User Experience
You need to add a modal dialog box to a SharePoint application. What should you use?
modal dialogSP.jsECMAScriptclient-side - Question #229Developing for User Experience
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...
Ribbon customizationCustom ActionRegistrationIddocument library - 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 #231Developing for User Experience
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?
HideCustomActionFeature elementsSite SettingsUI customization - Question #232Developing for User Experience
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...
master pageapplication pagesMasterPageFilepage directive - Question #233Developing SharePoint Sites
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...
publishing page layoutElements.xmlPublishingHiddencontent types - Question #234Developing for User Experience
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?
Web control lifecycleRender methodpage processingASP.NET controls - Question #235Developing for User Experience
You need to create a Web control that displays an ASCX control. Which event should you use?
Web controlASCXCreateChildControlsuser control - Question #236Developing SharePoint Solutions
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...
sandboxed solutionWeb Part migrationSharePoint 2010solution packaging - Question #237Developing SharePoint Solutions
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?
user controlVisual Web Partsolution packagingASCX - Question #238Developing for User Experience
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?
Web Part connectionsConnectionProviderConnectionConsumerinterface - Question #239Developing SharePoint Solutions
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...
debuggingfarm solutionw3wpspucworkerprocess - Question #240Developing SharePoint Solutions
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...
Web Part debuggingweb.configCallStackcustomErrors - Question #241Developing SharePoint Solutions
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?
tracingTrace.axdweb.configdiagnostics - Question #242Developing SharePoint Sites
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...
delegate controlSequence attributeSmallSearchInputBoxFeature - Question #243Developing for User Experience
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...
page layoutInputFormRequiredFieldValidatorvalidationSharePoint controls - Question #244Developing for User Experience
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?
page layoutSPContextFormContextEdit mode - Question #245Developing Business Logic
You create a timer job. You need to debug the timer job. To which process should you attach the debugger?
timer jobdebuggingowstimer.exeprocess attachment - Question #246Developing Business Logic
You need to schedule a timer job to run every two hours. Which schedule should you use?
timer jobSPMinuteScheduleschedulingSPHourlySchedule - Question #247Developing for Data Access
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...
BCSIDEnumeratorSpecificFindersearch crawl - Question #248Developing for Data Access
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...
client object modelremote applicationLINQ to SharePointdata access - Question #250Developing for Data Access
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...
client object modelassembly referenceMicrosoft.SharePoint.Clientconsole application