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. Android混淆代码

    Android代码混淆是必须的,java层代码如果不做混淆等于把源代码送人了.那如何做混淆呢? 之前一般都是提到采用proguard.cfg,但使用新版本ADT后没有这个文件了,取而代之的是progu ...

  2. Create views of OpenCASCADE objects in the Debugger

    Create views of OpenCASCADE objects in the Debugger eryar@163.com Abstract. The Visual Studio Natvis ...

  3. Web Fundamentsals学习1-Multiple-Screen-Site

    你的一个运行于多设备网站(Your First Multi-device Site) 遵循的步骤: 1.定义信息架构(information architecture)和页面结构(structure ...

  4. Util应用程序框架公共操作类(一):数据类型转换公共操作类(介绍篇)

    本系列文章将介绍一些对初学者有帮助的辅助类,这些辅助类本身并没有什么稀奇之处,如何能发现需要封装它们可能更加重要,所谓授之以鱼不如授之以渔,掌握封装公共操作类的技巧才是关键,我会详细说明创建这些类的动 ...

  5. 从零开始编写自己的C#框架(8)——后台管理系统功能设计

    还是老规矩先吐下槽,在规范的开发过程中,这个时候应该是编写总体设计(概要设计)的时候,不过对于中小型项目来说,过于规范的遵守软件工程,编写太多文档也会拉长进度,一般会将它与详细设计合并到一起来处理,所 ...

  6. C# 在excel中查找及替换数据

    在使用Excel处理数据时,有时候工作表内容很多,如果手动地一行一行的找数据很难发现它们在哪个地方.微软Excel给我们提供了一个很强大的数据处理功能-查找和替换,通过这个功能,我们可以快速地找到想要 ...

  7. objective-c 语法快速过(4)

    oc 里的字符串 字符串的快速创建(最简单的方法) NSStirng *str = @“Hello”;//oc的字符串都是@“”形式的 oc的字符串也是类的对象,是NSString类的对象,创建没有那 ...

  8. 优化JS加载时间过长的一种思路

    文章版权由作者李晓晖和博客园共有,若转载请于明显处标明出处:http://www.cnblogs.com/naaoveGIS/. 1.背景 去年公司在漳州的一个项目中,现场工程人员反映地图部分出图有点 ...

  9. Mybatis-update - 数据库死锁 - 获取数据库连接池等待

    最近学习测试mybatis,单个增删改查都没问题,最后使用mvn test的时候发现了几个问题: update失败,原因是数据库死锁 select等待,原因是connection连接池被用光了,需要等 ...

  10. 【翻译】设计模式学习系列1---【Design Patterns Simplified: Part 1【设计模式简述:第一部分】】

    原文链接:http://www.c-sharpcorner.com/UploadFile/19b1bd/design-patterns-simplified-part1/ Design Pattern ...