Which actions should your design specify?
You are designing a public-facing SharePoint 2010 Web site for an elementary school that has many events each
year. School administrators plan events for students and their parents. You need to create a design for meeting
the following requirements:
Parents must be able to log on to the site and sign up for events electronically, regardless of the software they
have installed on their computers or the browsers they are using.
.Each event registration needs to be saved in a list or library on the site.
.School personnel responsible for making changes need to be able to customize each new event registration form with images and text.
Which actions should your design specify? (Each correct answer presents a complete solution. Choose two.)
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?
You are designing a SharePoint 2010 intranet site. Employees are responsible for recording their daily activities,
which are stored in a third-party database. To accurately track Web traffic on the site, the IT administrator has
requested that only one form be available from only one URL. You need to design an input form that employees
can use from SharePoint.
Which approach should you recommend?
Which property tag should you add at line 07?
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 are included for reference only.)
01 <File Url=”mypage.aspx” Type=”GhostableInLibrary” IgnoreIfAlreadyExists=”TRUE”>
02 <Property Name=”Title” Value=”MyPage” />
03 <Property Name=”ContentType” Value=”$Resources:cmscore,contenttype_pagelayout_name;” />
04 <Property Name=”PublishingAssociatedContentType” Value=”; 05 #$Resources:cmscore,contenttype_page_name;;
06 #0x01010007FF3E057FA8AB4AA42FCB67B453FFC100E214EEE741181F4E9F7ACC43278EE811;#”/>
07
08 </File>
You need to prevent users from creating pages based on the page layout.
Which property tag should you add at line 07?
Which approach should you recommend?
You are designing an architectural firm’s SharePoint 2010 environment. In order for the firm to bid on a new
project, it must submit a detailed proposal that specifies exactly what kind of services they will offer and how
much those services will cost. Different people must be able to work on separate parts of the proposal document
simultaneously. The document must be generated quickly in order to increase the firm’s chances of getting the
project. Employees who are working on the document are using Microsoft Word 2010.
Your design needs to satisfy these requirements using no custom development.
Which approach should you recommend?
What should you do?
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 by using the minimum amount of effort.
What should you do?
Which approach should you recommend?
Your company uses a third-party service to host its SharePoint 2010 site. The hosting service requires all sites to
be sandboxed and uses forms-based authentication (FBA). You are asked to integrate the customer relationship
management (CRM) data that is stored within your companys domain into the SharePoint site. The CRM data is
trimmed based on the user token and is made accessible via Web services. You need to display the CRM data in
the correct way for each user token.
Which approach should you recommend?
What should you do?
You have a SharePoint site. The current master page of the site is v4.master.
You create a custom master page named MyMasterPage.master.
You deploy the master page to /_catalogs/masterpage/.
You need to apply the custom master page to only the content pages of the site.
What should you do?
Which approach should you recommend?
You are designing a SharePoint 2010 application that displays information from an external database. You need
to develop the application to meet the following requirements:
Remote connections to the external database are not allowed.
.Data from multiple tables must be joined into a single list.
.The list must be synchronized with the external database.
Which approach should you recommend?
Which element should you use in the Feature?
You create a Feature.
You need to 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?