You need to ensure that users can use the Web Part to create new sites
You create a Web Part that takes three values from three text boxes and creates a new
SharePoint site when you click a button named CreateNewSite. The Web Part contains the
following code segment. Protected Sub CreateNewSite_Click(ByVal sender As Object, ByVal e As
EventArgs) Dim site As SPSite = SPContext.Current.Site Dim web As SPWeb =
site.AllWebs.Add(SiteNameTextBox.Text, SiteTitleTextBox.Text, SiteDescriptionTextBox.Text, 0,
SPWebTemplate.WebTemplateSTS, False, _False) End Sub You test the Web Part and it works
properly. When another user attempts to use the Web Part to create a new site, he receives the
following error message: “Error: Access Denied.” You need to ensure that users can use the Web
Part to create new sites. What should you do?
What should you recommend?
You are designing a .NET Framework 4 solution that contains a Windows Presentation
Foundation (WPF) application. The WPF application includes CPU-intensive calculations.
The calculations can be run on a separate process and can effectively be isolated from the
rest of the WPF application. You need to recommend a deployment strategy that maximizes
the scalability of the calculations for each user. What should you recommend?
You need to verify if Computer1 has active DirectAccess connections to the network
Your network contains a computer named Computer1 that runs Windows 7. You need to verify if
Computer1 has active DirectAccess connections to the network. What should you do?
Which code segment should you add to the console application?
You have a custom theme named MyTheme. The theme is defined in a file named
MyTheme.thmx. You have a console application that contains the following code segment. (Line
numbers are included for reference only.) 01 Using site As New SPSite(“http://intranet”) 02 Dim
web As SPWeb = site.OpenWeb() 03 … 04 End Using You need to programmatically apply the
theme to a SharePoint site. Which code segment should you add to the console application?
Which technologies should you recommend?
You need to recommend appropriate technologies for designing Web forms for entry and
retrieval of news items. Which technologies should you recommend? (Each correct answer
presents a complete solution. Choose two.)
Which two actions should you recommend?
You are designing a SharePoint 2010 application that contains a single list named UserDat
a. You need to design the application to meet these requirements: ·The application must
have a drop-down menu that contains key-value pair data. .The data in the drop-down menu
must be retrieved from a Microsoft SQL Server 2008 table. Which two actions should you
recommend? (Each correct answer presents part of the solution. Choose two.)
What should you modify on NPS2?
Your network contains a Network Policy Server (NPS) named NPS1. You deploy a new NPS named
NPS2. You need to ensure that NPS2 sends all authentication requests to NPS1. What should you
modify on NPS2?
What should you recommend?
You are designing a Windows Presentation Foundation (WPF) application that accesses a
business tier. The business tier is implemented as a Windows Communication Foundation
(WCF) service and stores data in a Microsoft SQL Server 2008 database. The WCF service
will be accessed by external applications that do not use the .NET Framework. You need to
recommend an approach for passing data between layers. What should you recommend?
Which approach should you recommend?
You need to design the application to support the news feature. Which approach should you
recommend?
Which approach should you recommend?
You are designing a SharePoint 2010 application. You need to design a list that displays
only data from contacts stored in Microsoft Office Outlook 2010. Which approach should
you recommend?