Question 32
You are designing the modification of an existing SharePoint 2010 intranet site for a school. The registrar at the school needs each department to be able to add a new page to their departmental site. The page must be preconfigured with a Web Part showing the latest announcement list items from the registrar’s site regarding class enrollment for the upcoming semester. You need to design a page template that can be used by multiple departments. Which approach should you recommend?
A. Create a custom master page that includes a Web Part zone. Add a Web Part containing the registrar’s  announcements to the Web Part zone. Apply the master page to the intranet site.
B. Create a publishing page in the registrar’s site that includes a Web Part zone. Add a Web Part containing the  registrar’s announcements to the Web Part zone.
C. Create a page layout the includes a Web Part zone. Add a Web Part containing the registrar’s announcements  to the Web Part zone.
D. Create an application page with a Web Part Zone. Add a Web Part containing the registrar’s announcements  to the Web Part Zone. Deploy the application page to the _layouts directory.

解析:
  本题需要你去为某所学校修改其已经投入使用的SharePoint 2010 内部网站,需要给学校的各个部门的部门网站添加一个新的页面,此页面有一个WebPart,用来显示来自学校注册部门网站上的关于下学期课程登记的最新的通告[即:要从学校注册部门网站上提取信息],你需要设计一个网页模板用于创建上述可被学校各部门使用的网页。
   下面我们分别分析各备选项:
选项A. Create a custom master page that includes a Web Part zone. Add a Web Part containing the registrar’s announcements to the Web Part zone. Apply the master page to the intranet site.
     本选项试图通过创建并部署一个用户自定义母板页来实现本题,这显然不符合本题要求为各部门网站添加新页面的要求。所以应该予以排除。

选项B. Create a publishing page in the registrar’s site that includes a Web Part zone. Add a Web Part containing the registrar’s announcements to the Web Part zone.
本选项只是为学校的注册部门网站添加了一个新的Publishing Page,并没有为其它部门做任何修改,因此也应该被排除。

选项C. Create a page layout the includes a Web Part zone. Add a Web Part containing the registrar’s announcements  to the Web Part zone.
本选项通过创建一个包含有Web Part zone的Page Layout,向WebPart Zone中添加信息显示WebPart,然后再以此为模板去创建学校各部门的新页面,这应该是正确的作法。

选项D. Create an application page with a Web Part Zone. Add a Web Part containing the registrar’s announcements  to the Web Part Zone. Deploy the application page to the _layouts directory.
   采用Application Page内嵌Web Part Zone这种作法是不可行的,因为Application Page并不支持”Edit”模式,所以你根本无法向Web Part Zone中添加WebPart,你只能向Application Page中添加静态的Web控件。如微软描述: 应用程序页面不存在与网站页面相同的限制。它们允许内嵌代码且不存在任何限制。不过,它们不能使用动态 Web 部件或 Web 部件区域,也不能使用 SharePoint Designer 进行修改。所以本选项应试被排除。

因此本题答案应该选 C

参考 
http://msdn.microsoft.com/zh-cn/library/dd583147(v=office.11).aspx
http://msdn.microsoft.com/zh-cn/library/ms543497(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/ms544928(v=office.14).aspx

Question 33
You are designing a SharePoint 2010 site that employees will use for project collaboration. The design should include a project name, identification number, and the names of the people on the project team displayed on a new page.
You need to design the site to meet the following requirements:
.This page must be immediately available in existing sites in the site collection upon deployment.
.New sites must have this page immediately available.
Which approach should you recommend?
A. Create a master page and deploy it to the Master Page Gallery. Apply the master page to every site in the site  collection.
B. Create a page layout and deploy it to the Master Page Gallery. Create a publishing page, based on the page layout, in every site in the site collection.
C. Create an application page and deploy it to the _layouts directory.
D. Create a Web Part page and deploy it to the top-level site of the site collection.

解析:
 本题要求你设计一个项目合作站点,设计包括一个新的网页,此网页上显示了项目名称,项目标识号以及参与此项目组的人员的名字。设计的站点要求如下:
 要求1. 一旦部署了这个网页,则在网站集中已经存在的网站上,即可以直接使用。
 要求2. 如果是新创建的网站也可以立即使用这个网页
   下面分析各备选项
选项A. Create a master page and deploy it to the Master Page Gallery. Apply the master page to every site in the site collection.
 本选项创建并部署一个母板页。它并不是开发一个页面,而且母板页并不是用来开发应用页面的,它只是作用于你的页面总体总局和网站风格设计。所以通过母板页来解决本题的需求并不适合。

选项B. Create a page layout and deploy it to the Master Page Gallery. Create a publishing page, based on the page layout, in every site in the site collection.
   本选项试图通过Page Layout来实现上述要求。首先,Publishing Page这种页面只使用在发布网站(Publishing Sites)中。其次,你需要在每个发布网站集中基于此Page Out创建Publishing Page,而且对于新创建的网站也不可能立即可用。再有,Publishing Page适合发布信息,不适合用在类似于需要协作处理的环境。所以本选项应该排除。

选项C. Create an application page and deploy it to the _layouts directory.
 本选项通过开发部署应用程序页面来实现本题要求。应用程序页面用于支持 SharePoint Foundation 中的应用程序实现。每个网站和子网站将可以通过使用 _layouts 虚拟目录来访问应用程序页面。所以,你只要开发部署了应用程序页面,就可以直接在各网站或子网站中使用它。

选项D. Create a Web Part page and deploy it to the top-level site of the site collection.
 本选项也不可能作到即部署即用,对于新创建的网站,也需要另外创建Web Part Page才能使用。所以,应该排除。
因此本题答案应该选 C

参考 
http://msdn.microsoft.com/en-us/library/ms544928(v=office.14).aspx
http://msdn.microsoft.com/zh-cn/library/aa979592(v=office.14).aspx

Question 34
You are designing a SharePoint 2010 application to manage projects. The application has the following requirements:
.Users must have access to the CreateProject.aspx page.
.All changes to the CreateProject.aspx page must be reflected on all project sites.
You need to design a page that can be accessed from each project site. Which approach should you recommend?
A. Create a master page and deploy it to the _layouts directory.
B. Create a master page and deploy it to the _master pages directory.
C. Create an application page and deploy it to the _layouts directory.
D. Create an application page and deploy it to the Pages library.

解析:
  本题需要你设计一个项目管理应用程序,其任务包括创建一个页面CreateProject.aspx,要求如下:
 要求1. 用户必须能够访问到CreateProject.aspx页面
 要求2. 所有对CreateProject.aspx页面的修改必须能反映到所有项目管理网站
  在备选项中提供了两种途径,一是通过母板页,此方式在Question34中已说明,母板页并不适合用来做业务处理方面的用途。所以选项A.B直接排除。选项D虽然使用了应用程序页方式,但应用程序页的正确部署位置应该是_layouts目录,微软描述如下: 应用程序页面存储在前端 Web 服务器的文件系统上的 %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS 目录中,并且 Web 应用程序中的每个网站都有应用程序页面。此文件夹映射到称为_layouts 的 Internet Information Services (IIS) 虚拟目录中。每个网站和子网站将可以通过使用 _layouts 虚拟目录来访问应用程序页面。所以选项D部署到Pages Library的做法是错误的。
因此本题答案应该选 C

参考 
http://msdn.microsoft.com/zh-cn/library/aa979592.aspx
http://msdn.microsoft.com/zh-cn/library/vstudio/ee231581.aspx
http://msdn.microsoft.com/en-us/library/ms543497(v=office.14).aspx

Question 35
You are using SharePoint 2010 to develop multiple Internet sites. You have the following requirements:
.Create a user registration page for each site.
.Use the logic found in a custom control named UserRegistration.ascx.
.You need to provide a solution that will allow each site to have a custom user registration page with HTML editing  capability.
 Which approach should you recommend?
A. Create a page based on a page layout that references UserRegistration.ascx and includes an HTML editing field.
B. Create a page that references UserRegistration.ascx and includes an HTML editing field.
C. Create an application page deployed to the _layouts directory that references UserRegistration.ascx and  includes an HTML editing field.
D. Create an application page deployed to the Pages library that references UserRegistration.ascx and includes an HTML editing field.

解析:
  本题要你基于Sharepoint2010开发若干Internet网站,要求如下:
 要求1. 为每一个网站创建一个用户注册页面
 要求2. 注册功能通过一个名为UserRegistration.ascx的用户自定义控件实现
 要求3. 你需要保证每个网站都有自己的注册页面,此页面提供了HTML编辑能力。
  根据描述,注册页面需要具备HTML编辑能力,从这一点出发即可排除应用程序页面了,因为应用程序页面只能是静态的实现,不支持动态编辑能力,所以上来就可以排除选项C.D。选项B是想让一个页面引用UserRegistration.ascx并且想包含一个HTML编辑字段,我们知道,想让一个页面引用用户自定义控件,我们既可以通过创建Visual Web Part页面来做到,也可以通过Page Layout来做到。而想要让一个页面具备包含字段设计的能力,则只能通过把此类页面与内容类型(Content Type)进行捆绑来实现,而这正是选项A中Page Layout来做的事情。所以选项A的描述更准确。
因此本题答案应该选A

参考 
  http://msdn.microsoft.com/zh-cn/library/jj822368.aspx
  http://msdn.microsoft.com/en-us/library/aa979592(v=office.14).aspx

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

  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. ssh git免密码提交代码

    使用ssh协议通过密钥验证的方式提交代码,不用再每次提交时输入账户密码. 1.打开bash 输入一下命令, ssh-keygen -t rsa -C youremail@example.com(把邮件 ...

  2. [git]撤销的相关命令:reset、revert、checkout

    基本概念 工作区 暂存区 本地版本仓库 远程版本仓库 如果不清晰上面的四个概念,请查看廖老师的git教程 这里我多说几句:最开始我使用git的时候,我并不明白我为什么写完代码要用git的一些列指令把我 ...

  3. 【Android】[转] Android中Bitmap,byte[],Drawable相互转化

    一.相关概念 1.Drawable就是一个可画的对象,其可能是一张位图(BitmapDrawable),也可能是一个图形(ShapeDrawable),还有可能是一个图层(LayerDrawable) ...

  4. 索引深入浅出(3/10):聚集索引的B树结构

    在SQL Server里,有2种表是以存储为基础的.有聚集索引的表叫聚集表,没有聚集索引的表叫堆表.在上一篇文章,我们讨论了堆表的特性和存储结构.在这篇文章里,我们来看下聚集表. 有聚集索引的表叫聚集 ...

  5. 小技巧找出一个php的cron脚本出问题的代码行

    这个小技巧虽然很小,但是很有用. 我写了一个cron脚本,但是隔一天发现,这个昨天的cron脚本还一直在跑着,没有停下来,一定是里面有个程序堵住了. 但是如果我重新跑又需要很多时间.这个怎么办? 现在 ...

  6. 利用jstree插件轻松构建树应用

    最近完成了项目中的一个树状应用,第一次接触了jstree这个插件,总的来说它的官方文档还是比较详细的,但是在使用过程中还是出现了一些问题,下面我就来谈谈这款插件的使用和心得. 首先项目需要构建一棵树, ...

  7. C语言学习002:第一个完整的C程序代码

    #include <stdio.h>//引用相关的外部库,stdio.h包含了终端读写数据的代码 //程序入口,程序通过main函数的返回值判断程序是否运行成功,0表示成功,非0表示程序运 ...

  8. 项目中的web api知识总结

    最近在做公司的项目,自己负责webapi的框架的搭建与开发,最近很忙,一直没时间对工作中遇到的知识点缺少个总结,现总结一下,对自己是个提升,如果个人的小点点小总结能对博友有帮助那也是善莫大焉. (1) ...

  9. Android使用SQLite数据库(1)

    Android中使用SQLite数据库要通过SQLiteOpenHelper类. 首先,定义相关变量: // 数据库变量 DatabaseHelper mDBH; SQLiteDatabase db; ...

  10. 如何改变 FMX ListView 颜色

    需求:改变 ListView 颜色 适用:Firemonkey 任何平台 操作:Style 是改变控件外观最便捷的途径,ListView 也不例外,下面示范使用 StyleBook 来设定 ListV ...