ImageVerifierCode 换一换
格式:DOC , 页数:103 ,大小:1.23MB ,
资源ID:5915919      下载积分:10 金币
快捷注册下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

开通VIP
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.zixin.com.cn/docdown/5915919.html】到电脑端继续下载(重复下载【60天内】不扣币)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

开通VIP折扣优惠下载文档

            查看会员权益                  [ 下载后找不到文档?]

填表反馈(24小时):  下载求助     关注领币    退款申请

开具发票请登录PC端进行申请

   平台协调中心        【在线客服】        免费申请共赢上传

权利声明

1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

注意事项

本文(微软认证考试资料.doc)为本站上传会员【xrp****65】主动上传,咨信网仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知咨信网(发送邮件至1219186828@qq.com、拔打电话4009-655-100或【 微信客服】、【 QQ客服】),核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载【60天内】不扣币。 服务填表

微软认证考试资料.doc

1、1、 question 1 You work as the application developer at Cer-T. Cer-T uses Visual Studio.Net 2005 as its application development platform. 你在Cer-T做应用程序开发人员,Cer-T使用VS2005作为其应用程序的开发平台。 You are developing a .Net Framework 2.0 application used to store a type-safe list of names and e-mail addresses. 你

2、正在开发一个.Net Framework 2.0应用程序,用来存储一个包含了姓名和电子邮件的类型安全的列表(清单)。 The list will be populated all at once from the sorted data which means you well not always need to perform insertion or deletion operations on thd data. 这个列表会被完全的填充从排序的数据,这就意味着你不需要经常对这些数据完成插入或删除操作。 You are required to choose a data struc

3、ture that optimizes(优化) memory use and has good performance. 请你选择一个数据结构,以便优化内存使用,具有良好的性能。 What should you do? 该如何做? A、 The System.Collections.Generic.SortedList class should be used B、 The System.Collections.HashTable class should be used C、 The System.Collections.Generic.SortedDictionary clas

4、s should be used D、 The System.Collections.SortedList class should be used 点评: SortedList 表示键/值对的集合,这些键值对按键排序并可按照键和索引访问。 HashTable 表示键/值对的集合,这些键值对根据键的哈希代码进行组织。 C 该类不存在 D 非类型安全的,没有引人泛型。 2、 Question 2 You work as an application developer at Cer-T. You have recently created an application tha

5、t include the code shown below. 你在Cer-T做应用程序开发人员。最近你创建了一个应用程序,包含如下的代码: public delegate string GetFileContentsDel(); public string GetFileContens() { //Process file and return results } You now need to invoke the GetFileContents method asynchronously(异步).You have to ensure that the code you

6、use to invoke the GetFileContents method will continue to process other user instructions,and displays the results as soon as the GetFileContents method finishes processing. What should you do? 现在你需要异步调用GetFileContents方法。必须确保你的代码在调用GetFileContents方法的同时将继续处理其他用户的指令,并在GetFileContents方法完成处理后显示结果。你应该怎么

7、做? A、 Use the following code: //创建委托对象并且实例化 GetFileContentsDel delAsync=new GetFileContentsDel(GetFileContents); IAsyncResult result=delAsync.BeginInvoke(null,null); while(!resul.IsCompleted) { //Process other user instructions } string strFile=delAsync.EndInvoke(result); B、 Use the fol

8、lowing code: GetFileContentsDel delAsync=new GetFileContentsDel(GetFileContents); string strFile=delAsync.Invoke(); //直接调用 C、 Use the following code: string strFile=GetFileContents.Invoke();//语法错误 D、 Use the following code: GetFileContentsDel delAsync=new GetFileContentsDel(GetFileContents);

9、IAsyncResult result=delAsync.BeginInvoke(null,null); //Process other user instructions string strFile=delAsync.EndInvoke(result); 点评:IAsyncResult 包含异步操作的方法的类实现。对于只有同步方法的对象,只需要定义一个委托,并使用其BeginInvoke和EndInvoke方法就可以了。 B、直接调用 C、语法错误 D、与题意不符合,没有状态判断 3、 Question 3 Y

10、ou work as the application developer at Hi-T. You have created a new service application named App01.App01 must still be deployed into the Hi-T network. A Hi-T network administrator named Rosanne Keith has already created a user ccount for App01. You must configure App01 to run in the context of thi

11、s new user account.What should you do next? 你在Hi-T做应用程序开发人员。你已经创建了一个新的服务应用程序命名App01.该服务必须部署在Hi-T的网络中。Hi-T的一个叫罗萨安娜基思的网络管理员已经创建了App01的用户帐号。在新的用户帐号下要运行App01,你必须做一些相应的配置。下一步应该做什么? A、 Before Deploying App01,specify the startType property of the ServiceInstaller class. B、 Before delploying App01,specif

12、y the Account,Username,and Password properties of the ServiceProcessInstaller class. 在部署App01之前,指定账户,用户名和密码的ServiceProcessInstaller类的属性。 C、 Install the service by using the CONFIG option of the net.exe command-line tool. D、 Install the service by using the installutil.exe command-line tool. 点评:

13、 4、 Question 4 You pass a value-type variable into a procedure as an argument.The procedure changes the variable;however,when the procedure returns,the variable has not changed.What happened?(Choose one.) 你在一个方法中传入了一个值类型的变量做参数。方法里改变了这个变量;而当方法返回时,变量的值并没有被改变。这是为什么?(选择一项) A、 The variable was not ini

14、tialized before it was passed in. 该变量在传入的时候没有被初始化 B、 Passing a value type into a procedure creates a copy of the data. 向方法里传入值类型的变量,实际上是传入了一个数据的副本。 C、 The variable was redeclared within the procedure level. 在方法体中重新申明了这个变量。 D、 The procedure handled the variable as a reference. 方法按引用处理了该

15、变量 点评:考察了数据传参的方式:按值传参和按引用传参。 5、 Question 5 You work as the application developer at Hi-T. You are working on a new application named App01. App01 is configured to perform a series of mathematical calculations. 你在Hi-做应用程序开发人员。正在开发一款新的应用程序,名字叫App01;App01配置为执行一系列的数学计算。 You create a class named App

16、Class and create a procedure named AppSP. AppSP must execute on an instance of the class. 你创建了一个AppClass的类和一个AppSP的方法。该方法必须作为该类的实例运行。 You must configure the application’s user interface(UI) so that it continues to respond for the duration that calculations are performed.You must write the code seg

17、ment for calling the AppSP procedure which will accomplish your objective.Choose the code segment which you should use. 你必须配置应用程序的用户界面,以便它在进行计算期间能够继续做出响应。你必须编写用于调用AppSP程序的代码,以实现上述目标。选择下面的那段代码可以使用。 A、 private void AppSP(){….} private void DoWork() { AppClass myValues=new AppClass(); Threa

18、d newThread=new Thread(new ThreadStart(AppSP)); newThread.Start(myValues); } B、 private void AppSP(){…} private void DoWork() { AppClass myValues=new AppClass(); ThreadStart delStart=new ThreadStart(AppSP); Thread newThread=new Thread(delStart); if(newThread.IsAlive) { new Thread.S

19、tart(myValues); } } C、 private void AppSP(AppClass values){…..} private void DoWork() { AppClass myValues=new AppClass(); Application.DoEvents(); AppSP(myValues); Application.DoEvents(); } D、 private void AppSP(object values){….} private void DoWork() { AppClass myValues=new AppClas

20、s(); Thread newThread=new Thread(new ParameterizedThreadStart(AppSP)); } 点评:引入线程 ThreadStart 该委托不能带参数 ParameterizedThreadStart 该委托可以带参数 6、 question 6 You work as the application developer at Cer-T. Cer-T uses Visual Studio.Net2005 as its application development platform. 你在C

21、er-T做应用程序开发人员。Cer-T用VS2005作为其开发平台。 You are developing a .NET Framework 2.0 financial application and are busy developing a module that backs up the critical data on a separate hard drive. 你正在开发一款.net2.0的财务应用程序,并忙于开发一个模块,备份关键数据到一个独立的硬盘驱动器(硬盘) You are required to decide which properties of the Dri

22、veInfo class to use and find the type of file system like FAT or NTFS and the drive free space and the user disk quota(配额/指标) should be ignored by the application. 你必须决定DriverInfo类使用的参数,找到像FAT或者NTFS类型的文件系统和磁盘的可以空间,并使应用程序忽略用户磁盘的配额。 What should you do?该如何做? A、 Use the DriveFormat and TotalFreeSpace

23、 properties of the DriveInfo class. B、 Use the DriveType and AvailableFreeSpace properties of the DriveInfo class. C、 Use the VolumeLabel and TotalSize properties of the DriveInfo class D、 Use the DriveType and TotalSize properties of the DriveInfo class. E、 Use the DriveFormat and AvailableFree

24、Space properties of the DriveInfo class. 点评:DriverInfo类的常用属性和方法 没有找到指定的属性 7、 Question 7 You are writing a method for a console application that lists options available to a user based on his group memberships.Which technique should you use? 你正在为一个控制台应用程序写一个方法,给一个基于组成员的用户列出可用的选项。下面哪项技术可以?

25、A、 WindowsPrincipal.IsInRole B、 WindowsIdentity.IsInRole C、 Imperative(迫切的) RBS demands(需求) D、 Declarative(声明) RBS demands 点评:WindowsPrincipal 允许代码检查Windows用户的Windows组成员身份 WindowsIdentity 表示Windows用户 8、 Question 8 You are as the application developer at Hi-T. You are working on an appli

26、cation named App01. App01 must be configured to use role-based security and authentication. 你在Hi-做应用程序开发人员。正在开发一款App01的应用程序。该程序必须配置为使用基于角色安全和身份验证。 You must develop the code segment which will result in the runtime assigning an unauthenticated principal object to each running thread. 你必须开发代码段,这将导

27、致在运行时分配了一个未经验证的主要对象对每个运行的线程。 Choose the code segment which will accomplish the task. 选择那段代码可以实现。 A、 AppDomain domain=AppDomain.CurrentDomain; domain.SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal) B、 AppDomain domain=AppDomain.CurrentDomain; domain.SetThreadPrincipal(new WindowsPrinipal(

28、null)); C、 AppDomain domain=AppDomain.CurrentDomain; domain.SetAppDomainPolicy(PolicyLevel.CreateAppDomainLevel()); D、 AppDomain domain=AppDomain.CurrentDomain; domain.SetPrincipalPolicy(PrincipalPolicy.UnauthenticatedPrincipal); 点评:AppDomain 表示应用程序域,它表示一个应用程序在其中执行的独立环境。无法继承此类。 9、 Questio

29、n 9 Given the best answer,which of the following lines of code would reverse(反向/倒转) the security restriction?(Choose all than apply) 给出最好的答案,下面的那个代码行会破坏安全限制?(选择多项) ‘VB ‘注释 Dim e as EventLogPermission=New EventLogPermission(PermissionState.Unrestricted) PermitOnly //C# EventLogPermission

30、e=new EventLogPermission(PermissionState.Unrestricted); PermitOnly(); A、e.RevertPermitOnly B、CodeAccessPermission.RevertPermitOnly C、e.RevertAll D、CodeAccessPermission.RevertAll E、e.RevertDeny F、CodeAccessPermission.RevertDeny 点评:CodeAccessPermission类 定义了一个所有代码访问权限的底层结构 System.Sec

31、urity.CodeAccessPermission 10、 Question 10 You work as the application developer at Hi-T. You are working on a new requirement. You have to create a class library that will open the network socket connections to computers on the Hi-T network. 你在Hi-T做应用程序开发员。在工作上有了新的要求,需要创建一个类库,将打开网络套接字连接上Hi-T的网络

32、 The class library must be deployed to the global assembly cache, with full trust granted. To cater for network socket connections being used, you develop this code segment; 该类库必须部署到全局程序集缓存,授予完全信任。为配合正在使用的网络套接字连接,你开发如下的代码段: SocketPermission permission=new SocketPermission(PermissionState.Unrest

33、ricted); permission.Assert(); You discover though that there are certain existing applications which do not have the required permissions to open the network socket connections. You decide to cancel the assertion. Choose the code segment which will accomplish this task. 你发现,虽然有一些现有的应用程序不具有所需的权限打开

34、网络套接字连接,你决定取消这一断言,选择代码段将完成这项任务。 A、 CodeAccessPermission.RevertAssert(); B、 CodeAccessPermission.RevertDeny(); C、 permission.Deny(); D、 permission.PermitOnly(); 点评:SocketPermission C和D不正确。 B 是对permission.Deny()方法的操作。 11、 question 11 You work as an application developer at Cer-T. You are r

35、equired to dynamically load assemblies into a custom child application domain. 你在Cer-T做应用程序开发员。要求动态的加载程序集到一个自定义的子应用程序域。 You need to ensure that the assemblies loaded into the child application domain have the same permissions as the applications that are accessed across the local intranet. 你必须确

36、保子应用程序域中加载的程序集有整个本地intranet访问的所有应用程序有相同的权限。 What should you do?该如何做? A、 Use the following code to create the child application domain: Evidence childEvidence=new Evidence(new object[]{SecurityZone.Intranet},null); AppDomain.CreateDomain(“ChildDomain”,childEvidence); B、 Use the following code to

37、 create the child application domain: AppDomain.CreateDomain(“ChildDomain”,SecurityZone.Intranet); C、 Use the following code to create the child application domain: AppDomain domain=new AppDomain(“ChildDomain”,SecurityZone.Intranet); D、 Use the following code to create the child application doma

38、in: Evidence childEvidence=new Evidence(new object[]{SecurityZone.Intranet},null); AppDomain domain=new AppDomain(“ChildDomain”,childEvidence); 点评:Evidence(证据) AppDomain:表示应用程序域,它是一个应用程序在其中执行的独立环境。 C和D错误,因为AppDomain的对象是不能通过new创建出来的。 B 第二个参数的类型不正确。SecurityZone是一个枚举,定义与安全策略所使用的安全区域相对应的整数值。

39、System.Security) AppDomain.CreateDomain(“字符串”, Evidence对象); 参数一:域的友好名称 参数二:System.Security.Policy.Evidence 12、 Question 12 You work as the application developer at Hi-T. You create a code segment which will implement the class named Class01. The code segment is shown here: 你在Hi-T在应用程

40、序开发人员。你创建了一个将实现Class01类的代码片段。如下: MyMethod function. public class Class01 { public int MyMethod(int arg) { return arg; } } You want the Class01.MyMethod function to be dynamically called from a separate class within the assembly. 你希望Class01.MyMethod方法是动态的从本程序集内的另外一个类中调用。 Choose the cod

41、e segment which you should use to accomplish the task.. 选择能够完成上述任务的代码段。 A、 Class01 myClass=new Class01(); Type t=typeof(Class01); MethodInfo m=t.GetMethod(“MyMethod”); int i=(int)m.Invoke(this,new object[]{1}); B、 Class01 myClass=new Class01(); Type t=typeof(Class01); MethodInfo m=t.GetMeth

42、od(“MyMethod”); int i=(int)m.Invoke(myClass,new object[]{1}); C、 Class01 myClass=new Class01(); Type t=typeof(Class01); MethodInfo m=t.GetMethod(“Class01.MyMethod”); int i=(int)m.Invoke(myClass,new object[]{1}); D、 Type t=Type.GetType(“Class01”); MethodInfo m=t.GetMethod(“MyMethod”); int i=(

43、int)m.Invoke(this,new object[]{1}); 点评:反射 A和D不正确,因为在另外一个类中通过反射读取Class01中MyMethod的方法。Invoke的第一个参数是要反射的类的实例。 C不正确,GetMethod(“方法名”),不需要加类名的限定符。 13、 Question 13 You work as the application developer at Hi-T. You are working on an existing application and must load a new assembly into this applica

44、tion. You must write the code segment that will require the common language runtime(CLR) to grant the assembly a permission set,as though the assembly was loaded from the local intranet zone.You must ensure that the default evidence for the assembly is overridden and must create the evidence collect

45、ion. 你在Hi-T做应用程序开发人员。你正在开发一个现有的应用程序,而且必须加载一个新的程序集到该程序中。虽然这个程序集加载自本地intranet,你必须编写代码段使得公共语言运行时(CLR)授权给程序集一个权限集。你必须确保给程序集提供的默认证据被重写,并且创建一个新的证据集。 Choose the code segment which will accomplish this task. A、 Evidence evidence=new Evidence(Assembly.GetExecutingAssembly().Evidence); GetExecutingAssembl

46、y()获取当前执行代码的程序集 Evidence获取此程序集的证据 B、 Evidence evidence=new Evidence(); evidence.AddAssembly(new Zone(SecurityZone.Intranet)); 将指定的程序集证据添加到程序集 C、 Evidence evidence=new Evidence(); evidence.AddHost(new Zone(SecurityZone.Intranet)); 将主机提供的指定证据添加到程序集 D、 Evidence evidence=new Evidence(AppDomain.C

47、urrentDomain.Evidence); 点评:定义组成对安全策略决策的输入的一组信息,无法继承此类。 System.Security.Policy Evidence是一个集合,它持有一组表示证据的对象。该类有两个与证据源(主机证据和程序集证据)对于的集合。 Host evidence由主机提供;Assembly evidence是程序集本身的一部分。 A和D都是获得当前程序集的证据集,与题意不符合。B 14、 Question 14 You are creating a front-end interface to a back-end database that sto

48、res user names and groups within the database itself. The user database is very simple,storing only user names and group memberships. You want to be able to use imperative and declarative RBS demands within your application based on the custom user database.Which of the following classes meets your

49、requirements and would be most efficient to implement?(Choose all that apply) 你正在创建一个前端界面后端数据库,用于存储用户名和组在数据库中。用户数据库非常简单,只存储用户名和组成员。你希望在自定义用户数据库的应用程序基础上使用命令声明远程Blob存储命令。下面那些类满足你的要求并能有效的实现?(选择多项) A、 GenericIdentity B、 GenericPrincipal C、 IIdentity D、 IPrincipal 点评: System.Security.Principal.GenericIdentity 表示一般用户 System.Security.Principal.GenericPrincipal System.Security.Princi

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        抽奖活动

©2010-2026 宁波自信网络信息技术有限公司  版权所有

客服电话:0574-28810668  投诉电话:18658249818

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :微信公众号    抖音    微博    LOFTER 

客服