单项选择题
单项选择题 YouareimplementinganASP.NETWebsite.Thesiteusesacomponentthatmustbedynamicallyconfiguredbeforeitcanbeusedwithinsitepages.YoucreateastaticmethodnamedSiteHelper.Configurethatconfiguresthecomponent.YouneedtoaddacodesegmenttotheGlobal.asaxfilethatinvokestheSiteHelper.Configuremethodthefirsttime,andonlythefirsttime,thatanypageinthesiteisrequested.Whichcodesegmentshouldyouuse?()A.voidApplication_Start(objectsender,EventArgse){SiteHelper.Configure();}B.voidApplication_Init(objectsender,EventArgse){SiteHelper.Configure();}C.voidApplication_BeginRequest(objectsender,EventArgse){SiteHelper.Configure();}D.ObjectlockObject=newObject();voidApplication_BeginRequest(objectsender,EventArgse){lock(lockObject()){SiteHelper.Configure();}}
单项选择题 YouhadinstalledWindowsServer2008onacomputerandconfigureditasafileserver,namedFileSrv1.TheFileSrv1computercontainsfourharddisks,whichareconfiguredasbasicdisks.ForfaulttoleranceandperformanceyouwanttoconfigureRedundantArrayofIndependentDisks(RAID)0+1onFileSrv1.WhichutilityyouwillusetoconvertbasicdiskstodynamicdisksonFileSrv1()A.Diskpart.exeB.Chkdsk.exeC.Fsutil.exeD.Fdisk.exeE.Noneoftheabove
单项选择题 YouarecreatingaWindowsCommunicationFoundation(WCF)servicethatimplementsthefollowingservicecontract.PublicInterfaceIOrderProcessingSubApproveOrder(ByValidAsInteger)Forinteractiveandself-pacedpreparationofexam70-513,tryourpracticeexams.Practiceexamsalsoincludeselfassessmentandreportingfeatures!EndInterfaceYouneedtoensurethatonlyuserswiththeManagerrolecancalltheApproveOrdermethod.Whatshouldyoudo?()A.Inthemethodbody,checktheRights.PosessesPropertypropertytoseeifitcontainsmanager.B.AddaPrincipalPermissionattributetothemethodandsettheRolespropertytoManager.C.AddaSecurityPermissionattributetothemethodandsettheSecurityActiontoDemand.D.Inthemethodbody,createanewinstanceofWindowsClaimSet.