Sharepoint学习笔记—习题系列--70-576习题解析 -(Q116-Q120)

Question  116
 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 chargeback’s 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?
A. Custom site definitions
B. Custom site templates
C. Individual site collections
D. Individual sub sites


解析:
 你负责帮助一家公司的IT部门架构Sharepoint2010应用, 你制定了如何确定此公司其它部门的部门网站的结构指南, 此公司的IT部门必须可以做如下操作:
 要求1. 控制各部门的部门网站所使用的物理存储空间大小, 并可以根据数据库存储空间使用率计算退费。
 要求2. 在部门网站级定制存储配额
 要求3. 在部门网站级别创建生成网站使用报表
 你该如何制定你的信息架构以满足上述要求呢?
 首先,选项A.B均是用来创建网站的,而选项D则是创建子网站。根据要求,我们需要为各部门网站级定制存储配额,而Sharepoint中找不到开箱即用的工具可以实现网站级别或子网站级别的存储配额(Quota)【当然,有第三方软件可以支持你在网站级别实现配额】。而在网站集级别上却可以做到本题的需求。
因此本题答案应该选  C

参考 
http://technet.microsoft.com/zh-cn/library/cc263480(v=office.14).aspx http://blog.incworx.com/blog/who-is-the-best-chicago-sharepoint-firm/sharepoint-help-how-to-create-a-new-sharepoint-2010-site
http://www.dummies.com/how-to/content/create-a-new-site-in-sharepoint-2010.html

 

Question  117
 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?
A. Configure Content Type Syndication to update the central site collection as changes are made to each individual site collection.
B. Configure Content Type Syndication to update the individual site collection lists as changes are made to a central site collection.
C. Create an event receiver in a central site collection that sends updates to the individual site collections as changes are made.
D. Create an event receiver in each individual site collection that sends updates to the central site collection as changes are made.


解析:
  你设计一个Sharepoint2010服务器场,此场内有若干个网站集,这些网站集共享整个企业范围内的内容类型。这些内容类型通过每月更新来达到合理的管理要求。这个场使用了管理元数据服务应用程序。你需要不依赖于用户进一步开发来保证场内的所有网站集都能够以最有效的方式自动接收到最新的内容类型,你该采用哪种方式呢?
  本题涉及到Sharepoint的内容类型联合(Content Type Syndication),我们还是先来了解下基本知识点:
  在一个数据量大的企业内部,创建多个Web应用程序是很正常的一件事,但是有时候两个Web应用程序之间可能会用到一些相同的内容类型,而在SharePoint 2007的时候,由于两个Web应用程序之间的联系不太大,因此也就形成了Web应用程序之间的“信息孤岛”,虽然可以通过自行扩展开发的方法来实现多个Web应用程序之间使用相同的内容类型,但那需要耗费一定的精力的。到了SharePoint 2010,微软也意识到了这种场景的用法,于是在网站集范围内增加了一个叫做“内容类型联合集线器”的功能,这个功能只能在Web应用程序的根网站下的“网站设置”中找到。
  内容类型联合有助于确保列表的一致性,使列表使用相同的内容类型(从而使用相同的列)。在 Microsoft Office SharePoint Server 2007 中,将在网站集级别设置内容类型。通过在 Microsoft SharePoint Server 2010 中使用内容类型联合,可利用 Managed Metadata Service 应用程序在服务器场内或服务器场外共享内容类型。
可使用对象模型来自定义内容类型联合,以创建一个新内容类型,发布该内容类型,然后取消发布该内容类型。我们可以使用ContentTypePublisher 类来操作内容类型联合。在设置一个 Managed Metadata Service 应用程序及其代理,并将某个网站指定为服务应用程序中的集线器后(Content Type Hub),使用此类可在集线器网站上发布或取消发布内容类型。使用此类还可验证该集线器网站上的内容类型是否已发布以及是否已在集线器上启用元数据集线器功能。
在很多情况下,集线器(Content Type Hub)将充当一个发布者,而 Web 应用程序或网站集将订阅该集线器发布的内容。在发布内容类型后,订户可通过计时器作业推入内容类型。用户导航到“管理中心”页,可在此页中选择一个 Web 应用程序作为集线器。单个 Web 应用程序也可以订阅选定的集线器作为其共享应用程序数据(包括内容类型)的提供程序。内容类型集线器是通过Managed Metadata Service这个服务应用程序来运作,所以,需要发布和订阅内容类型的网站集,必须与同一个Managed Metadata Service服务应用程序关联起来。每一个Managed Metadata Service服务应用程序实例,都只能指定一个网站集,作为内容类型集线器“中心”【选项A中的Central site collection】,由它来发布内容类型,而其他网站集只能作为“订阅者”,“订阅”被发布的内容类型。
   有了以上的描述,我们就很清楚了,本题的情况必须要用到Sharepoint自身提供的内容类型联合(Content Type Syndication),而内容类型联合的使用又必须是从内容类型集线器“中心”即Central site collection发布到各个网站集的。所以只有选项A符合本题正解。
   选项B.对内容类型联合的使用描述错误。
   选项C.D通过Event Receiver无法实现跨网站集操作其它网站集。
因此本题答案应该选 B

参考 
http://sharepoint.mindsharpblogs.com/Bill/archive/2010/01/23/The-Basics-on-Content-Type-Syndication-in-SharePoint-2010.aspx
http://njbblog.blogspot.com.au/2011/05/sharepoint-40-content-type-hub.html
http://msdn.microsoft.com/zh-cn/library/ff394469(v=office.14).aspx
http://www.balestra.be/2012/09/content-type-hub-limitations-in-sharepoint-2010.html

 

Question  118
 You are designing a SharePoint 2010 application. The application must populate a site column based on data from an existing Microsoft SQL Server 2008 table. This table contains metadata information that is structured in a key-value pair. You need to design a column type that meets the requirements. Which type of column should you design?
A. Business Data
B. External Data
C. Lookup
D. Managed Metadata


解析:
   你设计一个Sharepoint2010应用程序,此应用程序必须能够基于一个Microsoft SQL Server 2008数据表产生一个网站列。 这个SQL数据表中存放的是若干个键-值对信息用于表述元数据信息。你需要设计一个列类型以满足上述要求。
   本题没多少可说的,因为涉及到外部数据源,所以自然用到BCS来建立External Date List,所以选项B为正确解。
   选项A.商务数据,只是一个一般描述,并无什么意义。
   选项B.查阅字段,必须基于Sharepoint内的其它列表数据。
   选项D.托管元数据,也是Sharepoint的内部数据。
因此本题答案应该选 B

参考 
http://msdn.microsoft.com/zh-cn/magazine/ee819133.aspx
http://msdn.microsoft.com/zh-cn/library/ee557898(v=office.14).aspx
http://blogs.msdn.com/b/leonidly/archive/2007/06/24/connected-lookup-field.aspx
http://msdn.microsoft.com/en-us/library/ee559337(v=office.14).aspx

 

Question  119
 You are designing a SharePoint 2010 application. You need to design the application according to the following requirements:
.The application must contain a workflow that can be started manually through the SharePoint user interface or through a call to SPWorkflowManager.StartWorkflow.
.The workflow must not be associated with a specific list or a document library. Which approach should you recommend?
A. Set the Site Scope property in Workflow Settings to enable the workflow across the entire site.
B. Create a reusable declarative workflow.
C. Create a sequential site workflow.
D. Create a sequential list workflow.


解析:
  你需要设计一个Sharepoint2010应用以满足如下要求:
 要求1. 包含一个既可以通过Sharepoint用户界面手工启动,又可以通过代码调用 SPWorkflowManager.StartWorkflow方法来代码启动的工作流。
 要求2. 此工作流不能与特定的列表或文档库关联。
 该选哪个选项才能达到上述要求呢?
 选项A.没有创建任何工作流,只是设置工作流的Scope属性。而本题要求创建一个工作流并满足相应要求。
 选项B. 创建一个可重用的声明性工作流。在早期版本中,工作流只能与指定的列表和文档库做关联,不能被打包,部署或复制到其他列表或文档库中。在SharePoint Foundation中,声明性工作流是可以重用的,允许用户将工作流开发应用到其他列表或文档库中。它与选项D一样都是针对列表或文档库的。均不符合本题的要求2。所以排除。
 选项C.创建基于网站的顺序工作流,符合本题的两个要求。
因此本题答案应该选  C

参考 
http://msdn.microsoft.com/zh-cn/library/bb386211(v=vs.90).aspx
http://msdn.microsoft.com/zh-cn/library/ee231606.aspx
http://msdn.microsoft.com/zh-cn/library/vstudio/ee231580.aspx


Question  120
 You are directing your team to use Microsoft Visio 2010 to design SharePoint 2010 workflows. You need to ensure that the workflow designs are validated. What should you tell the team to do?
A. Use Drawing Explorer in the Visio 2010 Developer menu.
B. Use Check Diagram in the Visio 2010 Process menu.
C. Export the workflow in Visio 2010. Import the Workflow Visio Interchange (.vwi) file into Visual Studio 2010. Set breakpoints in the workflow and step through the code using the debugger.
D. Export the workflow in Visio 2010. Import the Workflow Visio Interchange (.vwi) file into SharePoint Designer and debug the workflow.


解析:
  你指定你的开发小组使用Microsoft Visio 2010来设计Sharepoint2010工作流,你需要对此设计进行验证,那么你需要告诉你的开发小组,他们该如何操作呢?
  Microsoft Visio 2010本身提供了Check Diagram按钮来对你绘制的Diagram进行校验,
  如果有什么问题,它就会列举个如下的清单告诉你
 


  所以本题属于知晓性的题目,没什么好讲的。
 选项A.用于绘制Diagram,与本题无关。
 选项C.D试图调试Workflow,那是用于分析Workflow的逻辑错误,如果Diagram有问题,你甚至无法正确导入到VS2010或SPD中,而且选项D试图在SPD中调试Workflow这本身就是不可能的。

因此本题答案应该选 B

参考 
http://blog.bvisual.net/2010/02/15/writing-rules-to-validate-diagrams-in-visio-2010-%E2%80%93-a-worked-example/
http://msdn.microsoft.com/en-us/library/jj856989.aspx
http://blogs.msdn.com/b/visio/archive/2009/09/08/diagram-validation-in-visio-2010.aspx

 

posted @ 2014-01-12 06:26  wsdj  阅读(415)  评论(0编辑  收藏  举报