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

Question  109 
 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 company’s 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?
A. Connect to the CRM system using Business Connectivity Services (BCS) with Windows Credentials set as the authentication mode. Use the Secure Store Service to map FBA credentials to domain credentials.
B. Connect to the CRM system using BCS with Pass-Through set as the authentication mode. Use the Secure Store Service to map FBA credentials to domain credentials.
C. Connect to the CRM system using BCS with RevertToSelf set as the authentication mode. Use the Secure Store Service to map FBA credentials to domain credentials.
D. Prompt users for their domain credentials and make a call to the web services using these domain credentials.

解析:
   你公司使用第三方提供的主机服务放置本公司的Sharepoint站点, 根据要求, 所有的网站只能部署Sandbox解决方案并且网站用户采用表单认证方式。你被要求把运行在公司本地域中的CRM系统数据整合进Sharepoint站点。CRM系统根据用户令牌决定提供相应的数据,并且通过Web Services向外提供数据服务。你需要根据各个不同的用户来显示CRM数据。你该如何做呢?
   使用 Microsoft Business Connectivity Services (BCS) 连接到 Web 或 WCF 服务时,可采用以下身份验证模式。
  1.传递身份验证(Pass-Through)
传递身份验证 指的是操作系统可以将客户端的身份验证信息传递至外部系统。BCS 对于数据库连接和 Web/WCF 服务连接均支持传递身份验证。如果使用传递身份验证,则以最终用户的标识进行身份验证。
从网页访问 BDC 时,它将在 Microsoft Internet Information Services (IIS) 工作进程 w3wp.exe 中运行。此进程的标识为模拟登录用户的 IIS 应用程序池帐户。为了避免在 BDC 向后端服务器进行身份验证时丢失登录用户的标识,您必须在运行 IIS 的服务器和其他计算机之间启用 Kerberos 委派。Kerberos 委派使接收服务器可以将身份验证请求发送至正确的位置。
   这是选项B采用的认证方式,由于Sharepoint站点是采用的第三方公司提供的服务器,所以它与本公司内部的CRM系统不在一个域内,你不可能在两边的服务器之间建立Kerberos 委派,而这是实施传递身份验证所必须的。所以选项B被排除。
  2. RevertToSelf 身份验证
如果用户采用 Windows 身份验证登录,则 IIS 会模拟这个特定帐户。当 IIS 在应用程序池标识下运行时,它会模拟登录用户,而请求在被向前传递之前将在该用户的模拟帐户下运行。
利用 RevertToSelf 身份验证可还原此模拟,并以为 IIS 应用程序池配置的基础帐户进行身份验证。
   由于前面我们已经说了,Sharepoint网站与本公司内部的CRM系统根本不在一个域内,所以此身份验证方式也显得毫无意义。因此,选项C也被排除。
  3. Windows 凭据身份验证(WindowsCredentials Authentication)
Microsoft SharePoint Server 2010 使用来自其提供的安全存储提供程序的 Windows 凭据进行身份验证。如果您的 Web 或 WCF 服务使用 Windows 身份验证,则可采用此模式。采用此模式之前需要设置Secure Store Service。使用 Windows 凭据时,BDC 会尝试将从Secure Store Service返回的用户名字段拆分为域\用户名,然后使用域、用户名、密码这三项一起来进行身份验证。
 这非常适合本题场景,在第三方公司的服务器上运行的Sharepoint网站环境中存储可访问本公司CRM系统的用户的Windows 凭据身份(可取得域、用户名、密码),从而根据访问需要取得相关Windows 凭据身份来访问本公司的CRM系统。这是选项A采用的办法,也是本题的正解。
   至于选项D,需要每次访问CRM系统时都要求用户输入本公司CRM可接受的合法的凭据身份,从理论上而言是可以访问的,但从实践上而言则不可行。因为这个凭据是需要用户记住,而不是像Windows 凭据身份验证那样由Sharepoint的Secure Store Service服务记住,而且Sharepoint后台程序每一次需要从CRM获取信息时都需要用户重新输入凭据,换作是你,你会愿意这么麻烦吗?
因此本题答案应该选  A

参考 
http://msdn.microsoft.com/en-au/library/bb802753(v=office.14).aspx
http://lightningtools.com/bcs/business-connectivity-services-passthrough-reverttoself/
http://yanlinglei.blogspot.com.au/2008/01/bdc-authentication-reverttoself.html

 

Question  110
 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?
A. Add the new Word document to a SharePoint document library. Configure a sequential workflow with the builtin document approval workflow, which allows each author to add and edit text until the document is complete.
B. Add the new Word document to a SharePoint document library and allow the appropriate people to co-author the document until it is complete.
C. Create a SharePoint list for the document, where each list item corresponds to a section of the document. Allow people to add one or more sections of the document to the list. Create a Word add-in that retrieves content from the list and uses OpenXML to generate a Word document.
D. Create an external database to store sections of the document. Create an external SharePoint list that connects to the database using Business Connectivity Services. Allow people to add one or more sections of a document to the external list. Create a Word add-in that retrieves content from the database and uses OpenXML to generate a Word document.

解析:
   你负责设计架构公司的Sharepoint2010应用,此应用将被用来作为公司投标管理, 针对公司新争取的某项工程项目,公司需要制定出此项目的投标建议书,建议书中涉及诸如提供哪些服务、各项服务如何收费等详细信息。为尽快制定出此投标建议书,公司需要各个相关工作人员使用Microsoft Word 2010作为编辑工具,同时对此建议书的不同内容分别负责撰写拟定。你不需要额外编程以满足公司的这个需求,那么你该如何做呢?
  这是一道涉及基于文档库的文档进行共同创作的题目,在SharePoint 2010中,共同创作是指个用户可以高效的处理同一文档而不会干扰彼此的工作,也不会被锁定,从而简化了协作,此功能不许对服务器进行设置,是2010中存储的默认状态。如果想要处理Word 2010,PowerPoint 2010或OneNote 2010中的文档时,从SharePoint文档库中打开某个文档,若另一个用户也已打开此文档,两个用户可以同时编辑。所以,要实现文档的共同创作,首先要创建文档库,然后再设置可操作此文档的用户,在本题备选项中,选项B描述的是正确操作。
  选项A.通过工作流无法实现多个用户的同时共同操作同一文档,它只能像流水线一样的从一个用户手中传到另一个用户手中进行修改,而且它也无法实现诸如版本控制之类的关于文档编辑的必备需求。
   选项C.创建一个列表,每个列表记录表示一部份文档。 选项D.通过创建外部数据列表来编辑文档。这两种方式显然都非常笨拙,既无法实现同时共同协作编辑,也很难实现版本的控制。所以均被排除。
   因此本题答案应该选  B

参考 
http://social.technet.microsoft.com/Forums/zh-CN/efc5acac-e144-43a9-9236-872f02c4f924/sharepoint-2010-
http://office.microsoft.com/zh-cn/sharepoint-foundation-help/HA101729921.aspx

 

Question  111 
 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?
A. Create an InfoPath Web-enabled form that submits data directly to the third-party database. Publish the form to a SharePoint form library where users can access the form.
B. Create a Silverlight Web Part that submits data directly to the third-party database. Add the Web Part to a single Web Part page that employees can access on the site.
C. Create an application page that submits data directly to the third-party database. Deploy the application page to the _layouts directory using a solution package.
D. Connect to the third-party database using Business Connectivity Services. Create an external content type, and then create an external list based on that content type. Allow users to enter their activities by adding new items to the list.

解析:
 你需要设计一个Sharepoint2010应用来让雇员记录他们的日常工作, 相关记录保存在第三方数据库中,IT管理人员为了准确追踪网站访问流量情况,要求仅某个URL提供一个表单。你需要为雇员在Sharepoint环境中设计录入表单以记录他们的工作,你需要如何做才能满足本题要求呢?

   首先,由于要在Sharepoint中使用到第三方外部数据库,所以第一反应应该是要用到BCS。在4个备选项中,只有选项D涉及到BCS应用,所以选项为本题答案。至于选项A. Sharepoint中使用Infopath的Browser模式不支持直接访问第三方数据库(主要是Infopath Form Services不支持)。所以选项A排除。 选项B.C也是类似的道理,在Sharepoint环境下,应该使用BCS与外部数据源打交道,如果硬要采用B.C方式,则需要通过外部数据源开放出来的Web Service服务来实现,而不可能“直接”与外部数据源打交道。所以选项B.C也应排除。

因此本题答案应该选 D

参考 
http://www.bizsupportonline.net/blog/2009/06/3-ways-deploy-infopath-form-templates-sharepoint/
http://virtualizesharepoint.com/2011/05/15/creating-form-in-infopath-2010-and-publishing-to-sharepoint-2010/
http://www.c-sharpcorner.com/uploadfile/vivekbritish/creating-browser-enabled-infopath-forms-for-sharepoint-library/
http://sharepoint.stackexchange.com/questions/47610/how-to-create-a-database-form-in-infopath-2010-and-publish

 

posted @ 2014-01-06 15:16  wsdj  阅读(514)  评论(0编辑  收藏  举报