You need to ensure that the .NET application displays the title of the SharePoint Web application in textBoxTi
You have a SharePoint Web application that has the URL http://intranet. 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 a textbox named textBoxTitle. You
write the following code segment. (Line numbers are included for reference only.) 01Dim context
As New ClientContext(“http://intranet”) 02 03Dim site As Web = context.Web 04context.Load(site)
05 06textBoxTitle.Text = site.Title You discover that line 04 generates an error. You need to
ensure that the .NET application displays the title of the SharePoint Web application in
textBoxTitle. What should you do?
You need to ensure that User1 can view the events in the Security event log
Your network contains a server named Server1 that runs Windows Server 2008 R2. You have a user
named User1. You need to ensure that User1 can view the events in the Security event log. The
solution must minimize the number of rights assigned to User1. What should you do?
Which approach should you recommend?
You are designing an ASP.NET Web Forms application. The Web application has a heavy
reliance on view state. You are designing the Web application for use in regions that have
limited or low-bandwidth connectivity. You have the following requirements: • Decrease
bandwidth requirements. • Prevent any user from obtaining any part of the view state. • Do
not require changes to existing pages, user controls, or code-behind files that rely on the
view state. You need to ensure that the Web application meets these requirements. Which
approach should you recommend?
Which code element should you add at line 09?
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 included for
reference only.) 01 Dim cCtx As ClientContext = New ClientContext(“http://contoso/sites/finance”)
02 Dim root As Web = cCtx.Site.RootWeb 03 cCtx.Load(root) 04 Dim webInfo As
WebCreationInformation = New WebCreationInformation 05 webInfo.Title = “site1” 06 webInfo.Url
= “site1” 07 webInfo.WebTemplate = “MPS#2” 08 root.Webs.Add(webInfo) 09 10 cCtx.Dispose
You need to ensure that the application queries Shared Documents for a document named
Doc1.docx. Which code element should you add at line 09?
Which strategy should you recommend?
You have multiple SharePoint 2010 sites based on the same site definition. You need to
plan a strategy to update the property value for a Web Part specified in the site definition for
all existing sites. You must accomplish this with a minimum of developer hours. Which
strategy should you recommend?
Which tool should you use?
Your network contains 200 servers that run Windows Server 2008 R2. You need to archive the
Security log for each server on a daily basis. Which tool should you use?
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?
Which approach should you recommend?
You need to design session state management for the rewritten Web application. Which
approach should you recommend?
Which approach should you recommend?
You have an existing SharePoint 2010 solution consisting of custom Web Parts deployed to
the global assembly cache (GAC). The signing key used for the Web Parts has recently
changed. You need to design an update to the Web Parts without any change to the value
settings of their properties. Which approach should you recommend?