设为首页 收藏本站
查看: 774|回复: 0

[经验分享] Sharepoint学习笔记—习题系列--70-576习题解析

[复制链接]

尚未签到

发表于 2015-9-27 11:24:23 | 显示全部楼层 |阅读模式
  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
  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-119426-1-1.html 上篇帖子: Sharepoint学习笔记—习题系列--70-573习题解析 下篇帖子: SharePoint品牌化和自定义--第三章节--收集品牌化需求(3)--要当心的地方
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表