Which approach should you recommend?
You are designing a SharePoint 2010 server farm that consists of multiple site collections that share enterprisewide
content types. The content types are updated on a monthly basis to ensure proper governance. The farm
uses a managed metadata service application.
You need to ensure that all the site collections automatically receive the updated content types in the most efficient manner and with the least amount of custom development.
Which approach should you recommend?
Which code segment should you use?
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 versions of the Features. Only Features that require an upgrade must be evaluated.
Which code segment should you use?
which SharePoint structure should you base each department design?
You are helping a corporate IT department create a SharePoint 2010 information architecture plan. You are
creating guidelines for determining the site structure for new sites within all other departments in the corporation.
The IT department must be able to:
Adjust the physical storage capacity required for each department and create chargebacks based on the amount
of database storage used.
.Assign storage quotas at the departmental level.
.Create site usage reports at the departmental level.
You need to design an information architecture structure that meets all these requirements.
On which SharePoint structure should you base each department design?
What should you do?
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.)
01 protected void Page_Load(object sender, EventArgs e)
02 {
03 SPSite site = null;
04 try
05 {
06 SPSite site = new SPSite(“http://www.contoso.com/default.aspx”);
07 SPWeb web = site.OpenWeb();
08
09 …
10 }
11 catch
12 {
13
14 }
15 finally
16 {
17
18 }
19 }
After you deploy WebPart1, users report that the pages on the site load slowly.
You retract WebPart1 from the site.
Users report that the pages on the site load without delay. You need to modify the code in WebPart1 to prevent the pages from loading slowly.
What should you do?
Which approach should you recommend?
The IT, human resources, and legal departments in a large company each have site collections that run in
separate Web applications in a SharePoint 2010 server farm. You need to design a SharePoint information
architecture that will meet the following requirements:
All departments should use a consistent set of keywords. .Certain enterprise keywords must be shared across all
departments.
.The keywords should be managed dynamically.
.The keywords should be globally available to SharePoint service applications.
.The keywords should be able to be managed programmatically.
.The keywords management must use standard services and be maintained with built-in SharePoint 2010 administration tools.
Which approach should you recommend?
What should you do?
You create a list named List1.
You create two workflows named WF1 and WF2 for List1.
You need to ensure that when a new item is created in List1, WF1 starts automatically. WF2 must start automatically after WF1 completes.
What should you do?
Which approach should you recommend?
You are designing a SharePoint 2010 site for your organization to capture customer contact information. The
contact information for customers is stored in a Microsoft Dynamics CRM 4.0 database. You need to design a
solution with no custom code that meets the following requirements:
Sales department employees must be able to perform create, retrieve, update, and delete (CRUD) operations for
their customer information records on the SharePoint site.
.The data in the SharePoint site must be synchronized with the data in the CRM Dynamics database because
most customers do not have direct access to the CRM system.
.SharePoint users from the Sales department must be able to work with data while they are working offline.
Which approach should you recommend?
Which code segment should you add at line 04?
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 reference only.)
01 System.Web.UI.WebControls.TextBox txtBoxTermSetToAdd = new System.Web.UI.WebControls.TextBox();
02 TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
03 TermSet addedTerm = session.TermStores[0].Groups[“MyNewTermStore”].CreateTermSet(txtBoxTermSetToAdd.Text);
04
Which code segment should you add at line 04?
Which approach should you recommend?
You are designing a data capture approach for a SharePoint 2010 intranet site.
You need to specify the data capture design elements in the user interface to meet the following requirements:
The site must provide data-entry forms for users to update list data.
.The users should be allowed to take the submission form offline.
Which approach should you recommend?
Which code segment should you include in the Web Part?
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 enter a value for Column1.
You need to create a Web Part to delete the documents.
Which code segment should you include in the Web Part?