Question  131
 You are designing multiple SharePoint 2010 features. You have the following requirements:
.There must be three features, named Feature_1, Feature_2, and Feature_3.
.Feature_1 must be dependent on Feature_2; Feature_2 must be dependent on Feature_3.
.Feature_1 must be available to a site collection named Finance.
You need to ensure that your feature design meets these requirements and follows the SharePoint Feature Activation Dependency Rules. Which approach should you recommend?
A. Design Feature_1 and Feature_2 as visible; design Feature_3 as a hidden feature. Set the scopes for Feature_1, Feature_2, and Feature_3 to Site.
B. Design Feature_1 and Feature_2 as visible; design Feature_3 as a hidden feature. Set the scopes for Feature_1 and Feature_2 to Site. Set the scope for Feature_3 to Web.
C. Design Feature_1 and Feature_2 as visible; design Feature_3 as a hidden feature. Set the scope for Feature_1 to Web Application. Set the scopes for Feature_2 and Feature_3 to Web.
D. Design Feature_1, Feature_2, and Feature_3 as visible features. Set the scopes for Feature_1 and Feature_2 to Site. Set the scope for Feature_3 to Web.

解析:
 你需要按如下要求设计3个功能:
 要求1.三个功能分别为Feature_1, Feature_2, and Feature_3
 要求2. Feature_1 必须依赖于Feature_2; 而Feature_2 必须依赖于Feature_3.
要求3. Feature_1 必须可供名为Fiance的网站集使用。
 你该如何设计你的这些功能以满足相关要求以及功能之间的激活依赖规则呢?
 首先,根据要求2.3可知,Feature_1是网站集范围的功能,而且它依赖于Feature2,而Feature2依赖于Feature3。根据微软描述:” 如果所依赖的功能处于限制较严格的范围内,则不支持跨范围激活依赖关系。例如,网站集范围的功能对于网站范围的功能不会具有激活依赖关系。”,这就说明,Feature_1, Feature_2, and Feature_3都必须设置为网站集范围。
 所有备选项中只有选项A满足上述条件。

因此本题答案应该选  A

参考 
http://msdn.microsoft.com/zh-cn/library/aa543162(v=office.12).aspx

Question  132
 You are planning to add more features to a SharePoint 2010 farm. Two developers are working independently in a developer environment; each has created a custom solution with a new feature. You have the following requirements:
.Each new feature that the developers created must share an assembly with an existing feature on the production farm.
.The new features must be deployed from the developer environment to the production environment.
.The possibility must be minimized that an existing application will be unavailable if the assembly needs to be redeployed after a bug fix.
.You must use the fewest solutions possible.
You need to create a deployment plan that meets these requirements. Which approach should you recommend?
A. Create one solution that combines the two new features with the existing feature and deploy the solution to the production farm.
B. Create two solutions to deploy the new features and extend the existing solution in the production farm to include the new features.
C. Create a solution for each of the two new features and extend one of the new solutions to include the feature in the other new solution. Then deploy both solutions to the production farm.
D. Create three independent solutions, each consisting of one feature and deploy them separately to the production farm.

解析:
  你打算向Sharepoint2010场中添加更多的功能, 有两名开发人员分别在开发环境中进行独立的开发,每人负责创建自己的解决方案以提供对应的功能,你需要满足如下要求:
  要求1.每个由开发人员开发的新的功能必须可以在生产场内与已经存在的功能共享程序集。
  要求2.新开发的功能必须要从开发环境部署到生产环境
  要求3.当对一个已经存在的应用进行了修改并重新部署时,需要尽量保证此应用的运行不会因此而停止。
  要求4.尽量使用尽可以少的解决方案
  你该如何操作才能满足上述要求呢?
由于题干中说得很清楚: each has created a custom solution with a new feature(每人负责创建自己的解决方案以提供对应的功能)。所以当然是创建两个解决方案了(Create two solutions),仅有选项B.C符合此要求。但由于选项C是在一个解决方案中包含另一个解决方案的Feature,然后再把两个Solution都部署到生产环境,这样在生产环境中就涉及两个解决方案,它要比选项B中仅扩充原解决方案涉及的方案个数多,结果要求4,所以选项B比选项C优。
  选项A.仅创建一个Solution显然不可能支持两个开发人员同时独立开发,所以排除。
  选项D.涉及的解决方案就更多了,所以排除。
因此本题答案应该选 B

参考 
http://msdn.microsoft.com/zh-cn/library/ee471434.aspx
http://msdn.microsoft.com/zh-cn/library/ee256700.aspx

Question  133
 You are designing a solution package for an application project, which has several types of SharePoint 2010 artifacts. Your project contains a Web Part, features, list definitions, assemblies, customized ASPX pages, and workflows. You have the following requirements:
.You must ensure the security and manageability of the SharePoint applications.
.SharePoint administrators must enforce quota limits on resources consumed. Based on your analysis, the Web Part will exceed the limit.
.You must deploy all of the artifacts with the fewest solutions possible.
You need to create a deployment plan that meets these requirements. Which approach should you recommend?
A. Create one solution package that contains all of the artifacts in the development project.
B. Create two solution packages:
    .A farm-scoped solution that contains the Web Part
    .A solution that contains all the remaining artifacts in the project
C. Create two solution packages:
    .A sandboxed solution containing the Web Part
    .A solution that contains all the remaining artifacts in the project
D. Create three solution packages:
    .A solution for list definitions
    .A solution containing the Web Part and its related assemblies
    .A solution for customized ASPX pages and workflows

解析:
  你设计一个Sharepoint2010应用,包含Web Part,功能,列表定义,程序集,用户定义的ASPX页面以及工作流。此应用需要满足如下要求:
 要求1. 你需要确保此应用程序的安全性和易管理性。
 要求2. Sharepoint管理员可以控制此应用对资源的配额限制。如有必要,你的Web Part可以突破这些限制。
 要求3. 尽可以采用最少的解决方案来部署这些应用。
 你该如何操作以满足上述要求呢?
 选项A.所有的组成元素都包含在一个解决方案中。由于组成元素中有ASPX页面,如果仅有一个解决方案,则只能是场解决方案,这样就无法满足要求1和要求2,所以排除。
 选项B.本选项的实质是开发了两个场解决方案,完全是多此一举,所以排除。
 选项C.把Web Part放到沙盒方案,其余放到场解决方案,符合本题的要求。
 选项D.总共使用了3个解决方案,且没有使用沙盒方案,从而无法满足控制此应用对资源的配额限制。而且list definitions与Aspx和Workflow的方案完全可以合并,用不着一分二。所以本选项也被排除。
因此本题答案应该选 C

参考 
http://msdn.microsoft.com/zh-cn/library/aa544500(v=office.14).aspx
http://msdn.microsoft.com/zh-cn/library/vstudio/ee361616.aspx

Question  134
 You are designing a SharePoint 2010 solution package that includes a feature. The feature should be available for activation in only those site collections contained within specified Web applications in the farm. You need to design your solution package to ensure this behavior. Which approach should you recommend?
A. Create a sandboxed solution and set the scope of the feature to Web Application.
B. Create a sandboxed solution and set the scope of the feature to Site.
C. Create a farm solution and set the Deployment Target property of the feature assembly to
GlobalAssemblCache.
D. Create a farm solution and set the Deployment Target property of the feature assembly to Web Application.

解析:
 你在一个Sharepoint2010解决方案中包括了一个功能,此功能只能在指定的Web Application内的网站集中被激活,你需要你所设计的解决方案包满足此需要。
  由于Sandbox解决方案都是针对网站集部署的,而本题则针对Web Application,所以可以直接排除选项A.B。
  选项C.功能的Scope属性只有Farm, Web Application,Site,Web等值,没有此选项所谓的GlobalAssemblCache设置,所以排除。而选项D则设置了正确的Scope值。

因此本题答案应该选 D

参考 
http://msdn.microsoft.com/en-us/library/ms436075.aspx
http://msdn.microsoft.com/zh-cn/library/ms476615(v=office.14).aspx
http://www.pritambaldota.com/index.php/understanding-features-and-feature-scope-in-sharepoint-2010/
http://msdn.microsoft.com/zh-cn/library/ms460318.aspx

Sharepoint学习笔记—习题系列--70-576习题解析 -(Q131-Q134)的更多相关文章

  1. Sharepoint学习笔记—ECM系列—文档列表的Metedata Navigation与Key Filter功能的实现

    如果一个文档列表中存放了成百上千的文档,想要快速的找到你想要的还真不是件容易的事,Sharepoint提供了Metedata Navigation与Key Filter功能可以帮助我们快速的过滤和定位 ...

  2. Sharepoint学习笔记—ECM系列--文档集(Document Set)的实现

    文档集是 SharePoint Server 2010 中的一项新功能,它使组织能够管理单个可交付文档或工作产品(可包含多个文档或文件).文档集是特殊类型的文件夹,它合并了唯一的文档集属性以及文件夹和 ...

  3. Sharepoint学习笔记—习题系列--70-576习题解析 --索引目录

        Sharepoint学习笔记—习题系列--70-576习题解析  为便于查阅,这里整理并列出了70-576习题解析系列的所有问题,有些内容可能会在以后更新. 需要事先申明的是:     1. ...

  4. Sharepoint学习笔记—习题系列--70-573习题解析 --索引目录

                  Sharepoint学习笔记—习题系列--70-573习题解析 为便于查阅,这里整理并列出了我前面播客中的关于70-573习题解析系列的所有问题,有些内容可能会在以后更新, ...

  5. Deep Learning(深度学习)学习笔记整理系列之(五)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  6. Deep Learning(深度学习)学习笔记整理系列之(八)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  7. Deep Learning(深度学习)学习笔记整理系列之(七)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  8. Deep Learning(深度学习)学习笔记整理系列之(六)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  9. Deep Learning(深度学习)学习笔记整理系列之(四)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

  10. Deep Learning(深度学习)学习笔记整理系列之(三)

    Deep Learning(深度学习)学习笔记整理系列 zouxy09@qq.com http://blog.csdn.net/zouxy09 作者:Zouxy version 1.0 2013-04 ...

随机推荐

  1. 让setTimeout支持链式

    修改很简单,通过参数判断,然后返回下promise对象 (function() { var timeout = setTimeout; window.setTimeout = function(fn, ...

  2. WPF Datagrid删除一行

    private void btnDel_Click(object sender, RoutedEventArgs e) { if (DGUser.SelectedItem != null) { Dat ...

  3. 深入理解javascript中的焦点管理

    × 目录 [1]焦点元素 [2]获得焦点 [3]失去焦点[4]焦点事件 前面的话 焦点作为javascript中的一个重要功能,基本上和页面交互都离不开焦点.但却少有人对焦点管理系统地做总结归纳.本文 ...

  4. Neutron 如何支持多种 network provider - 每天5分钟玩转 OpenStack(70)

    Neutron 的架构是非常开放的,可以支持多种 network provider,只要遵循一定的设计原则和规范.本节我们将开始讨论这个主题. 先讨论一个简单的场景:在 Neutorn 中使用 lin ...

  5. 使用SPIRE.XLS来创建Excel 工作簿

               使用SPIRE.XLS来创建Excel 工作簿     概要 最近在研究 .NET 控件,使用这些控件在程序中可以快速低成本实现功能. 在这一篇中我们使用的控件是Spire.XL ...

  6. 第一章 Linux內核簡介

    1. Linux是類Unix系統,但他不是Unix. 儘管Linux借鑑了Unix的許多設計並且實現了Unix的API(由Posix標準和其他Single Unix Specification定義的) ...

  7. Cesium应用篇:2影像服务(上)

    文章中相关范例下载路径:https://yunpan.cn/cByQqkANWN7Pu 访问密码 823d        Cesium中提供了多种ImageryProvider方式,来满足用户的实际需 ...

  8. ASP.NET实现微信功能(2)(服务号高级群发)

    前面写了一篇文章,关于微信的:http://www.cnblogs.com/kmsfan/p/4047097.html 今天打算来写本系列的第二批文章,服务号后台群发. 在写本篇文章之前,我们先来看看 ...

  9. C#图片存入数据库及其读出显示

    <1>将图片转换成二进制插入数据库 FileStream fs = new FileStream("D:\\Add.ico",FileMode.Open); byte[ ...

  10. knockoutjs+ jquery pagination+asp.net web Api 实现无刷新列表页

    Knockoutjs 是一个微软前雇员开发的前端MVVM JS框架, 具体信息参考官网 http://knockoutjs.com/ Web API数据准备: 偷个懒数据结构和数据copy自官网实例  ...