博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Sharepoint学习笔记—习题系列--70-576习题解析 -(Q40-Q44)
阅读量:5324 次
发布时间:2019-06-14

本文共 6375 字,大约阅读时间需要 21 分钟。

Question 40

You have a social networking site in SharePoint 2010 that allows users to post content for all other users to view. Users have read-only access to documents that they did not upload themselves. You are designing a way for users to easily flag content as objectionable so that the site administrators can evaluate and remove this content as necessary. You need to add this objectionable content functionality to all document libraries. Which approach should you recommend?
A. Add a button to the ribbon associated to document libraries, which will execute the objectionable content functionality when clicked.
B. Add a dialog to the site default page that will walk the user through how to report objectionable content.
C. Modify the system files within the layouts directory that are used to render the form pages.
D. Add a custom field to the base document content type and an event receiver to the document library that will execute the objectionable content functionality.

解析:

  你在Sharepoint环境中建立了一个人际关系网络, 允许用户发布信息给其它用户看。任何用户对于不是自己上载的文档只有只读仅限。你需要设计”标记”功能, 支持用户对他们反感的文档库内容进行标识,这样网站管理员就可以根据这个标识采取必要的删除措施。这项功能需要对所有的文档库起作用。
  首先,由于此功能实现是针对文档库的,所以可以直接排除选项B.C,因为这两个选项均与文档库操作无关。
  其次,由于要对所有的文档库进行操作,所以你就需要找到一种途径能与文档库“挂钩”。而能与Sharepoint内相关对象挂钩的途径常见的要么是各类对象的”事件”,要么是与此对象关联的”Ribbon”,或者是与之相关的”工作流”。
  本题的选项A.D分别提到了Ribbon与事件,但选项D的问题是,当你想通过Event Receiver来操控文档库时,其操作时机很不灵活,你只能在对此文档库进行了相关操作时才能激发相关事件并立即进行处理,而做不到任何用户在任何时候进行任何查看时进行标识这样的灵活性。而选项A所使用的Ribbon方式则可以做到这点,首先,Ribbon是可以与文档库对象关联的。其次,Ribbon实质就是工具条,可由用户在任何时候调用任何相关工具进行使用,而且用户也可以根据需要对Ribbon功能进行扩充和定义。
因此本题答案应该选 A

参考 

Question 41
You are designing a SharePoint 2010 solution. The solution includes the rendering of a highly interactive control that must allow the following functionality:
.Fading items in and out.
.Dragging items around the display.
.Seamlessly updating information on the server without affecting other items on the page.
You need to design the interactive control according to these requirements. What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
A. Use cascading style sheets (CSS) to render the graphical enhancements. Use AJAX to post the client-side information back to the server.
B. Use client-side scripting to render the graphical enhancements. Use AJAX to post the client-side information back to the server.
C.  Use Silver light to render the graphical enhancements. Use Microsoft Windows Communication Foundation (WCF) to post the client-side information back to the server.
D. Use a visual Web Part to render the graphical enhancements. Raise custom events on the client side to post information back to the server.

解析: 
  本题需要选两个选项,题意就是:你设计一个SP2010方案提供了具有很强交互能力的控件,对此控件要求如下:
 要求1. 控件内部的物件具备”淡入淡出”效果
 要求2. 可以拖动控件内部的物件
 要求3. 页面内的局部刷新效果
   根据上述的要求,我们首先可以排除选项D,因为此选项通过Visual Web Part既不可能具备”淡入淡出”效果,也不可以实现局部刷新效果. 然后是选项A, 仅仅靠层叠样式表本身也不可能实现淡入淡出效果,因为CSS本身并无事件支持与处理,除非与前端的Javascript配合使用来达到页面呈现的丰富效果。
而选项B,通过客户端的Scirpt与Ajax技术结合则既可实现局部刷新也可实现淡入淡出效果。选项C则是通过Silverlight与WCF进行结合来实现本题目标,其中的WCF只是完成信息提取,它与页面的局部刷新和相关控件淡入淡出效果并无关系。
因此本题答案应该选 B.C

参考 

Question 42
You are developing an Internet Web site. You plan to use SharePoint 2010 for content management. The Web site design includes extensive graphics. You need to ensure that the following project requirements for the site are met:
.Complex structural changes to support the new branding
.Consistency across all of its pages and sub sites
.Support for multiple browsers
Which approach should you recommend?
A. Develop a new custom master page to be applied throughout the site.
B. Develop a new custom template to be used throughout the site.
C. Use PowerPoint 2010 themes to apply new custom SharePoint branding throughout the site.
D. Specify an alternate cascading style sheet (CSS) file to use for all pages within the site.

解析:
  你打算开发一个Sharepoint2010网站来进行内容管理,网站设计采用了大量图表,且需要满足如下要求:
  要求1.支持复杂的结构变化[网站布局结构]
  要求2.各级页面与子网站均需保持风格的一致性
  要求3.支持多种浏览器
  首先,网站设计的风格中使用了大量的图表,因此,选项C可以被排除,因为通过Themes进行网站风格的设计可修改范围非常有局限,只限于字体、颜色等非常小的方面。其次,根据要求3,你的网站风格需要支持多种浏览器,所以选项D也应该被排除,因为不同的浏览器对同一CSS的表达理解存在着很大的差异,你可能需要对不同的浏览器设计不同的有针对性的CSS方案来表现同一种效果,因此,这谈不上一种设计支持多种浏览器的要求。最后,选项B,使用Site Template的方式,此方式只适用于创建新的Site,对于已经创建好的Site则无法改变其风格,尤其是对网站进行了大的布局结构的调整,则更难适应。而通过母板面方式,则可以很好的满足本题的三个要求。
因此本题答案应该选 A

参考 

Question 43
Your company has more than 100 SharePoint 2010 intranet sites. The branding of several individual department sub sites is not consistent with company standards. You need to ensure that the branding of all intranet sub sites is consistent with company standards and graphics. Which approach should you recommend?
A. Create a master page at the root level that specifies the company branding and graphics, and force all sub sites to inherit the master page.
B. Create a master page in the Master Page gallery that specifies the company branding and graphics, and disable document versioning within the Master Page gallery.
C. Create a theme at the root level that specifies the company branding and graphics, and force all sub sites to inherit the theme.
D. Create a theme at the root level that specifies the company branding and graphics, and reset each sub site back to its original site definition.

解析:
  你公司有100多个Sharepoint2010内部网站,其中有些独立的子网站其风格与公司标准风格不一致,你需要保证所有的子网站都应该与公司标准风格(包含有图片)保持一致。
  由于Themes不支持图片,而公司的风格设计中包含有图片设计,所以选项C.D应该被排除。选项B虽然使用了母板页,但它并没有强制应用此母板页,所以也应该被排除。
因此本题答案应该选 A

参考 

Question 44
You are designing a branding strategy for a SharePoint 2010 site that uses several third-party controls. Many of  these controls contain inline styling that conflicts with the desired branding. You do not have access to the code for these controls. The design must ensure that this SharePoint styling will be applied to the controls. Which approach should you recommend?
A. Edit the master page for the site to include the proper styling.
B. Apply a SharePoint theme, which will override the controls styling.
C. Use client-side scripting to remove the inline styles.
D. Modify the core.css file to contain the branding for the site.

解析:

  你为一个使用了第三方控件的Sharepoint2010网站提供风格支持。但遇到的问题是这些第三方控件包含的内联样式与你所设计的公司网站样式有冲突,而且你无法通过修改控件源代码来改变这种情况。那么你应该如何做才能修正它们呢?
  我们要知道,不管是母板页或者主题还是Sharepoint默认的级联表,控制的都是你在本环境创建的资源。对于第三方的控件,往往是以程序集(Assembly)的方式提供,除非给你源代码让你进行修改和重新编译,或者第三方控件本身提供了相应的接口或属性让你设置,否则你是无法影响其表现行为的。如果你不能修改并编译其源代码,你只能在第三方控件在页面完成呈现了之后再想办法在客户端进行外观修正,所以,本题只有选项B提供了这个可能性。
因此本题答案应该选 B

参考 

转载于:https://www.cnblogs.com/wsdj-ITtech/p/3169182.html

你可能感兴趣的文章
[转]IOCP--Socket IO模型终结篇
查看>>
js 获取视频的第一帧
查看>>
各种正则验证
查看>>
观察者模式(Observer)
查看>>
python中numpy.r_和numpy.c_
查看>>
egret3D与2D混合开发,画布尺寸不一致的问题
查看>>
freebsd 实现 tab 命令 补全 命令 提示
查看>>
struts1和struts2的区别
查看>>
函数之匿名函数
查看>>
shell习题第16题:查用户
查看>>
实验4 [bx]和loop的使用
查看>>
Redis常用命令
查看>>
2018.11.06 bzoj1040: [ZJOI2008]骑士(树形dp)
查看>>
2019.02.15 bzoj5210: 最大连通子块和(链分治+ddp)
查看>>
redis cluster 集群资料
查看>>
微软职位内部推荐-Sr. SE - Office incubation
查看>>
微软职位内部推荐-SOFTWARE ENGINEER II
查看>>
centos系统python2.7更新到3.5
查看>>
C#类与结构体究竟谁快——各种函数调用模式速度评测
查看>>
我到底要选择一种什么样的生活方式,度过这一辈子呢:人生自由与职业发展方向(下)...
查看>>