You create a class that inherits the SPPersistedObject class. The class has a field named Field1. You need to ensure that Field1 can be serialized and stored in the SharePoint configuration database. Which two actions should you perform? (Each correct…

You need to add a new field to a provisioned content type. You must propagate the field to child lists and child content types. What should you use? A. <AddContentTypeField> B. <ApplyElementManifests> C. <FieldRefs> D. <MapFile>

You have a Web application named WebApp1. You have a Feature receiver named FeatureReceiver1. FeatureReceiver1 stores a connection string in the web.config file of WebApp1. You need to ensure that when FeatureReceiver1 makes configuration changes to web.config, the changes are…

You need to create a Web Part that will store and retrieve information for the current subsite. Which object should you use? A. SPContext.Current.Site.RootWeb.AllProperties B. SPContext.Current.Site.RootWeb.Configuration C. SPContext.Current.Web.Configuration D. SPContext.Current.Web.Properties

You have a SharePoint site that uses the default search settings. You create a new Search Center. You need to ensure that the new Search Center is the default Search Center for the site. What should you modify? A. the…

You are developing a custom Feature by using Microsoft Visual Studio 2010. You need to ensure that when you deploy the Feature, a file named Form1.xsn is deployed to the Feature folder. You must achieve this goal by using the…

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. What should you create? A. a Feature event receiver…

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…