Question 52
You are responsible for rebranding the My Sites section of a corporate SharePoint 2010 farm. The new branding includes a change to the Quick Launch menu in all corporate My Sites pages. You do not have access to modify any master pages. Also, the new branding is not yet finalized and might need to be reverted. You need to ensure that the Quick Launch menu is updated in all corporate My Sites pages, using the least amount of workforce effort. Which approach should you recommend?
A. Use client-side code to inject your modifications into the rendered page.
B. Use a feature that includes a delegate control with a lower sequence number than the default My Site Quick Launch Delegate.
C. Manually modify the navigation under Site Settings for each My Site page.
D. Write and execute a Power Shell script that will iterate through each My Site and modify the navigational settings.

解析:
 你负责为Sharepoint2010场内的My Sites设计新的风格,其内容包括为所有的My Sites页面改变Quick Launch Menu,但你无权对母板页进行修改,并且此新风格并不是最终版本,你有可以会对所作的修改恢复到以前状态,你需要采用最少的工作量来达到此目标。
 本题是关于如何自定义快速启动显示的题,根据微软的文档,Sharepoint中可以通过如下方式自定义快速启动显示:
  1. 通过修改部署的母板页文件(本地驱动器:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\GLOBAL)中指定的导航控件的属性,可以修改“快速启动”的显示。【修改方式】
  2. 通过 Microsoft.SharePoint.WebControls.DelegateControl 类,您可以指定自定义数据源控件以为“快速启动”导航提供节点。通过候选委托控制指定的控件可确定用作“快速启动”的数据源的提供程序,该提供程序可位于数据库或代码中。此类型的自定义将更改显示的节点,而不会修改显示链接的方式。【替换方式】
  由于本题你无权修改母板页,而备选项中,只有选项B是采用了Delegate Control方式,所以,选项B是正选。
至于其它备选项:
选项A. Use client-side code to inject your modifications into the rendered page.
    Quick Launch Menu是服务器端控件显示,你几乎无法做到在客户端对其进行全面更改。
选项C. Manually modify the navigation under Site Settings for each My Site page.
本选项所做的修改只是可以影响到Quick Launch Menu中的导航链接,而影响不以其外观风格设计。所以也应该排除。
选项D. Write and execute a Power Shell script that will iterate through each My Site and modify the navigational settings.
    本选项首先比较麻烦,其次也影响不到Quick Launch Menu的外观风格设计。所以也应该排除。
因此本题答案应该选 B

参考 
http://office.microsoft.com/en-us/sharepoint-server-help/configure-the-quick-launch-for-site-navigation-HA102130960.aspx#_Toc278884000
http://office.microsoft.com/en-us/sharepoint-server-help/configure-navigation-items-on-the-site-navigation-settings-page-HA010118190.aspx
http://msdn.microsoft.com/en-us/library/ms466994(v=office.14).aspx

Question 53
Your company is rebranding its corporate extranet SharePoint 2010 site. The new design requires the site’s global navigation to use nonstandard fonts for both the top-level and secondary drop-down menus. You need to ensure that the new branding is rendered consistently in all browsers supported by SharePoint 2010. Which approach should you recommend?
A. Specify the CssClass of the SharePoint Asp Menu control.
B. Specify the DynamicMenuItemStyle property of the SharePoint Asp Menu control to render the text as an image.
C. Use a theme to specify the font in the design.
D. Develop a custom menu control to render the text as an image.

解析:
 你的公司需要重新设计其Sharepoint2010外部网风格,此新设计需要改变网站的全局导航,针对全局导航的最顶级和第二级下拉菜单部分将会使用非标准的字体,而且你需要保证此改变支持所有不同类型的游览器。
  首先,本题提到了要支持不同类型的游览器,所以仅凭修改CSS是不足以满足此要求的,所以选项A被排除。
其次,由于要求使用到了非标准的字体,所以通过修改主题Themes也是无法实现的,因为Themes的设置均是基于标准字体操作的,选项C应该被排除。
最后,使用 DynamicMenuItemStyle 属性用于控制动态菜单中的菜单项的外观,它也影响不到对非标准的字体的应用。
只有重新创建一个用户自定义菜单控件,并且把非标准的字体绘制成图片方式嵌入呈现,这样才能既适合多浏览器,也呈现了非标准的字体。
因此本题答案应该选 D

参考 
http://msdn.microsoft.com/zh-cn/library/ms366731(v=vs.80).aspx
http://msdn.microsoft.com/en-us/library/bb814983(v=office.12).aspx

Question 54
  You are designing a maintenance plan for a SharePoint 2010 intranet site. You have the following requirements:
.The site has 25 custom content types and 5 document libraries. One of the document libraries has more than 1,000 documents.
.Every document in the site is associated with one of the custom content types.
.Each document library has a single view, showing the name of the document and the person who last modified it.
.Private views are not permitted in the site.
.The site is used for collaboration and does not have any of the SharePoint publishing features enabled.
You need to enable users to filter the documents in the large document library by content type. Which approach should you recommend?
A. Activate the Metadata Navigation and Filtering feature. Modify the metadata navigation settings for the document library by adding Content Type to the list of selected hierarchy fields.
B. Create a new site scope for each content type. For each scope, add a rule of type Property Query. Set the Property Restriction to include any item with the name of the content type of the scope.
C. For each content type, create a new Web Part using the Content Query Web Part. Configure the Web Part to filter the documents in the document library by that content type.
D. Go to the site navigation page and enable the Tree View option. Use the Tree View option to filter the documents in the document library.

解析:
  本题需要你设计一个Sharepoint2010网站维护计划,满足如下要求:
要求1. 此网站有25个用户自定义内容类型和5个文档库,其中一个文档库包含有超过1000个文档。
要求2. 网站内的每一个文档都与上述的某个用户自定义内容类型关联。
要求3. 每一个文档库都有唯一的视图,显示文档的名字以及谁对此文档作的最后修改
要求4. 网站内不允许创建文档库的私人视图
要求5. 网站用于协作,并不包含任何Sharepoint发布功能。
  你需要能通过内容类型对大容量文档库进行过滤。

下面分析各备选项:
选项A. Activate the Metadata Navigation and Filtering feature. Modify the metadata navigation settings for the document library by adding Content Type to the list of selected hierarchy fields.
   元数据导航和筛选提供一种按项元数据筛选 Microsoft SharePoint Server 2010 列表视图的方法。列表所有者可以使用此功能将列表上的字段提升为关键导航字段,并且查看这些列表的用户会看到一个筛选用户界面 (UI),这些用户可通过该界面对当前列表视图进行筛选以显示在这些字段中具有所需值的项。元数据导航和筛选使用列表级索引以支持无缝的浏览体验 — 即使在包含数千万个项的非常大的列表中。此功能通过确保当项在多个字段中带有适当标记时,这些项比未带标记的列表视图项更易于被检测到,提升对元数据和标记的使用。所以,本选项为本题的答案。

选项B. Create a new site scope for each content type. 为每个内容类型设置作用域,其目的是确保网站内容类型可供在其上创建该内容类型的网站以及任意子网站中的列表和文档库使用。
For each scope, add a rule of type Property Query. Set the Property Restriction to include any item with the name of the content type of the scope. 通过设置Property Query条件来过滤网站内容。
   在本题,你不可以为每个内容类型设置作用域,因为题目中提到25个用户自定义内容类型均与网站内的每一个文档都关联,也就是说,所有的内容类型都是全局性的,不会细化到低级层次的范围。仅此就可以排除本选项了。
  
选项C. For each content type, create a new Web Part using the Content Query Web Part. Configure the Web Part to filter the documents in the document library by that content type.
   我们知道Content Query Web Part只有在publishing site的网站模板中才可以使用,而本题要求5说到不包含任何Sharepoint发布功能,所以本选项也应该被排除。

选项D. Go to the site navigation page and enable the Tree View option. Use the Tree View option to filter the documents in the document library.
   导航部分的树形视图并不直接支持对文档库内容的过滤查询,它的主要作用是通过树形视图展示导航链接,所以与本题无关。

因此本题答案应该选 A

参考 
http://msdn.microsoft.com/en-au/library/ff394509(v=office.14).aspx
http://blog.sharepointrx.com/2010/11/03/limiting-the-search-scope-using-contentclass-in-a-property-query-scope-rule/
http://msdn.microsoft.com/en-us/library/ff650512.aspx
http://msdn.microsoft.com/en-us/library/ee559293(v=office.14).aspx

Question 55
You are designing a SharePoint 2010 intranet site. Each department has its own site collection. A link to each of  the departments must appear in the global navigation for each site collection. You have implemented the SharePoint Asp Menu control in the master page. Your design must specify the correct provider for the menu control. Which provider should you recommend?
A. SPContentMapProvider
B. SPSiteMapProvider
C. PortalSiteMapProvider
D. SPXmlContentMapProvider

解析
   你在设计一个Sharepoint2010网站,包含多个部门网站集,你需要在全局导航上显示导航到各部门网站集的链接,你在母板页上应用了Sharepoint的Asp Menu控件,你的设计必须为此控件提供正确的Provider,那么你应该选 哪一个Provider呢?
   根据微软的文档: 你可以使用SPXmlContentMapProvider 突破网站集限制来扩展导航,,即通过XML来定制SPXmlContentMapProvider 类,因为SPXmlContentMapProvider 类是一个基于XML的网站地图提供器,它可以从一个标准网站地图中读取导航结构。Sharepoint使用SPXmlContentMapProvider 类为存放在_layout文件夹下的应用程序页面提供导航结构。
 正因为SPXmlContentMapProvider 类是从XML文件获取导航结构,所以它不像SPContentMapProvider[选项A]与SPSiteMapProvider[选项C],它可以不受网站集的限制。你可以在XML文件中包含与当前网站集不同的其它网站集的URIs。
 你有两个途径使用XML去定制化SPXmlContentMapProvider 类
• You can create a custom site map. 你可以创建一个定制的网站地图
• You can create a site map that will be merged into SharePoint's site map. 你可以创建一个可以合并到Sharepoint网站地图的网站地图
需要注意的是:Sharepoint没有提供用户界面来让你管理SPXmlContentMapProvider 类所定制的网站导航结构,如果网站结构非常复杂,而使用SPXmlContentMapProvider 类就会让相关管理工作显得比较困难了。
选项A.B在上面已经说明,它们不能突破网站集限制。
选项C. PortalSiteMapProvider 在命名空间Microsoft.SharePoint.Publishing.Navigation中定义,主要用于发布网站的导航定制,且它并不能跨不同的网站集,再加上本题并不仅限于发布网站。所以应该排除。
 
因此本题答案应该选 D

参考 
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.navigation.spxmlcontentmapprovider.aspx
http://msdn.microsoft.com/zh-cn/library/microsoft.sharepoint.navigation.spcontentmapprovider.aspx
http://msdn.microsoft.com/en-us/library/ms473030.aspx
http://msdn.microsoft.com/en-us/library/ms570756.aspx
http://globalnavigation.codeplex.com/

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

  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. DPDK学习之开篇介绍

    1.前言 记得刚开始工作的时,老大将我安排到数据面组,当时第一次听说”数据面“这个概念,感觉挺新鲜的.误打误撞就开始搞了,刚开始接触的时候,由于不懂其中的原理,觉得很神奇,因为报文的转发是在应用层,通 ...

  2. HT for Web基于HTML5的图像操作(二)

    上篇介绍了HT for Web采用HTML5 Canvas的getImageData和setImageData函数,通过颜色乘积实现的染色效果,本文将再次介绍另一种更为高效的实现方式,当然要实现的功能 ...

  3. 阅读《LEARNING HARD C#学习笔记》知识点总结与摘要三

    最近工作较忙,手上有几个项目等着我独立开发设计,所以平时工作日的时候没有太多时间,下班累了就不想动,也就周末有点时间,今天我花了一个下午的时间来继续总结与整理书中要点,在整理的过程中,发现了书中的一些 ...

  4. 【UWP】UI适配整理

    做UWP有几个月了,期间发布了几个应用,在这里整理一下适配相关的一些东西,UWP关于UI的适配主要有两种方式: 1.VisualState+Trigger:通过触发器出发界面更变,通常在Desktop ...

  5. 这几天做完简易酒店管理系统,对Sql Server执行计划的浅显了解。

    我是一名大三的小学生,今天开始我的第一篇博客,最近随便做了一个简易的酒店管理系统,对sql执行计划有了初步的了解. 查看上面语句的预估执行计划,在工具栏中有这个按钮 聚集索引扫描被称为Index Sc ...

  6. .net断点续传的原理

    在了解HTTP断点续传的原理之前,先来说说HTTP协议,HTTP协议是一种基于tcp的简单协议,分为请求和回复两种.请求协议是由客户机(浏览器)向服务器(WEB SERVER)提交请求时发送报文的协议 ...

  7. for循环的执行顺序

    一边回顾基础一边记录记录做个整理,这篇关于for循环的执行顺序: for(表达式1;表达式2;表达式3) {循环体} 第一步,先对表达式1赋初值; 第二步,判别表达式2是否满足给定条件,若其值为真,满 ...

  8. 孙鑫MFC学习笔记19:动态链接库

    1.动态链接库 2.静态库和动态库 3.使用动态链接库的好处 4.动态链接库编译需要导出,使用需要导入 __declspec(dllexport),__declspec(dllimport) 5.动态 ...

  9. 【Java每日一题】20161109

    package Nov2016; import java.lang.reflect.Method; public class Ques1109 { public static void main(St ...

  10. LinuxMint 17.1 Cinnamon桌面窗口焦点bug

    LinuxMint 升级到 17.1后,发现桌面彻底不爽了. 发现各应用窗口经常无法正常获取焦点,必须用Alt + Tab切换才能解锁. 乌龙...