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.html

解析:
   你公司使用第三方提供的主机服务放置本公司的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获取信息时都须要用户从新输入凭据,换做是你,你会愿意这么麻烦吗?
所以本题答案应该选  Aweb

参考 
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也应排除。app

所以本题答案应该选 Ddom

参考 
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

相关文章
相关标签/搜索