1.
You are creating a BDC entity. You need to ensure that data returned by the entity can be indexed. Which method instance type should you implement?
2.
You have the following XSLT code: 01: 02: 03: 04: You need to customize the search core results web part to return raw xml by using the XSLT code. What should you add to the XSLT code?
3.
You have a Microsoft Office InfoPath form that is published using InfoPath Services. You plan to publish a new version of the InfoPath form. You need to take the current InfoPath form offline and must ensure that users who currently have the form open have one hour to complete the form. You write the following code segment: 01: Dim services as SPServiceCollection = SPFarm.Local.Services 02: Create svc as SPService in services 03: Dim fs As FormService = Try Cast(svc, formService) 04: If fs is not Nothing Then 05: Dim ft as FormTemplate = fs.FormTemplates("myForm") 06: ... 07: End If 08: Next Which code segment should you add at line 6?
4.
You need to create a Multi-Dimensional Expression (MDX) query for 3 Key Performance Indicators. What should you use?
5.
You create a Microsoft Office InfoPath Task form for users. The form contains all the details of each task. You need to store the value of the comments field in a variable named userInput when the user submits the form. Which code segment should you use?
6.
You have a Line of Business application defined in a business data catalog. You create a web part to browse the data of the LOB application. You have the following query to interact with the LOB application and the web part: 01: Dim lobSystem As LOBSystem = ApplicationInRegistry.GetLOBSystem()("lob1") 02: Dim lobSystemInstance As LOBSystemInstance = lobSystem.GetLOBSystemInstance()("lob1Instance") 03: Dim ent1Entity As Entity = lobSystem.GetEntities()("DBOEntities") 04: Dim fc As FilterCollection = ent1Entity.GetFinderFilters() 05: You need to render the results of the query and the web part. Which code segment should you add to line 5?
7.
User Profiles in your SharePoint farm contain the job title property. The job title property contains the user job title. You have an audience defined for the Sales department. The audience contains a rule. You create a custom application that contains the following code segment: 01: Using site as New SPSite.Open("http://intranet") 02: Dim context as ServerContext = ServerContext.GetContext(site) 03: Dim audienceMgr as New AudienceManager(context) 04: Dim audienceColl as AudienceCollection = audienceMgr.Audiences 05: Dim salesDepartmentAudience as Audience = audienceColl.Open("SalesDepartment") 06: Dim salesDepartmentRules as ArrayList = salesDepartmentAudience.AudienceRules 07: 08: 09: 10: 11: salesDepartmentAudience.AudienceRules = salesDepartmentRules 12: salesDepartmentAudience.Commit() 13: End Using You need to change the audience to include only the users that have the job title set to Manager. Which code segment should you add?
8.
Your company stores employee details in a Microsoft SQL Server database. You are creating a Report Center site on a SharePoint server. You need to ensure that a report on employee details can be generated in the Report Center site. What should you do?
9.
You are creating an Enterprise Search web part. You need to ensure that the web part returns only results where the web part in is installed. You must achieve this goal by using the minimum amount of deployment effort. What should you do?
10.
You create an application for a Microsoft Office SharePoint Server 2007 server. You create a call center dashboard. You create a Key Performance Indicator (KPI) list that contains KPIs. You add a KPI Web Part to the dashboard to view KPIs. You need to permit users to view details that make up each KPI. What should you do?