单项选择题

A.NETMVC2application.Aviewcontainsaformthatallowsuserstosubmittheirfirstname.Youneedtodisplaythevaluethatissubmitted,andyoumustensurethatyourcodeavoidscross-sitescripting.Whichcodesegmentshouldyouuse?()
A.<%:Model.FirstName%>
B.<%=Model.FirstName%>
C.<%Response.Write(Model.FirstName)%>
D.<%Response.Write(HttpUtility.HtmlDecode(Model.FirstName))%>
相关考题

单项选择题 Yourapplicationusestwothreads,namedthreadOneandthreadTwo.YouneedtomodifythecodetopreventtheexecutionofthreadOneuntilthreadTwocompletesexecution.Whatshouldyoudo?()

单项选择题 Contoso,Ltd.hasanActiveDirectorydomainnamedad.contoso.com.Fabrikam,Inc.hasanActiveDirectorydomainnamedintranet.fabrikam.com.FabrikamssecuritypolicyprohibitsthetransferofinternalDNSzonedataoutsidetheFabrikamnetwork.YouneedtoensurethattheContosousersareabletoresolvenamesfromthe intranet.fabrikam.comdomain.Whatshouldyoudo()A.Createanewstubzonefortheintranet.fabrikam.comdomain.B.Configureconditionalforwardingfortheintranet.fabrikam.comdomain.C.Createastandardsecondaryzonefortheintranet.fabrikam.comdomain.D.CreateanActiveDirectoryintegratedzonefortheintranet.fabrikam.comdomain.

单项选择题 YournetworkcontainsoneActiveDirectorydomain.YouhaveamemberservernamedServer1thatrunsWindowsServer2008.TheserverhastheRoutingandRemoteAcecssroleserviceinstalled.YouimplementNetworkAccessProtection(NAP)forthedomain.YouneedtoconfigurethePoint-to-Point(PPP)authenticationmethodonServer1.Whichautneticationmethodshouldyouchoose?()A.ChallengeHandshakeAuthenticationProtocol(CHAP)B.ExtensibleAuthenticationProtocol(EAP)C.MicrosoftChallengeHandshakeAuthenticationProtocolversion2(MS-CHAPv2)D.PasswordAuthenticationProtocol(PAP)

单项选择题 YournetworkcontainsaserverthatrunsWindowsServer2008.TheserverhastheNetworkPolicyServer(NPS)serviceroleinstalled.YouneedtoallowonlymembersofaglobalgroupnamedGroup1VPNaccesstothenetwork.Whatshouldyoudo?()A.AddGroup1totheRASandIASServersGroupB.AddGroup1totheNetworkConfigurationOperatorsgroupC.Createanewnetworkpolicyanddefineagroup-basedconnectionforGroup1.SettheaccesspermissionofthepolicytoAccessgranted.Settheprocessingorderofthepolicyto1D.Createanewnetworkpolicyanddefineagroup-basedconditionforGroup1.SettheaccesspermissionofthepolicytoAccessGranted.Settheprocessingofthepolicyto3.

单项选择题 YouareimplementinganASP.NETWebsitethatusesacustomservercontrolnamedTask.Taskisdefinedasshowninthefollowinglist.Classname:TaskNamespace:DevControlsAssembly:TestServerControl.dllBaseclass:System.Web.UI.WebControls.WebControlYoucopyTestServerControl.dlltotheWebsite?sBinfolder.YouneedtoallowtheTaskcontroltobedeclarativelyusedonsitepagesthatdonotcontainanexplicit@Registerdirective.Whichconfigurationshouldyouaddtotheweb.configfile?()A.<appSettings><addkey="Dev:Task"value="DevControls,DevControls.Task"/> </appSettings>B.<compilationtargetFramework="4.0"explicit="false"><assemblies><add assembly="TestServerControl"/></assemblies></compilation>C.<pages><controls><addassembly="TestServerControl"namespace="DevControls"tagPrefix="Dev"/></controls></pages>D.<pages><tagMapping><addtagType="System.Web.UI.WebControls.WebControl" mappedTagType="DevControls</tagMapping></pages>

单项选择题 YournetworkconsistsofasingleActiveDirectorydomain.AlldomaincontrollersrunWindowsServer2003.YouupgradealldomaincontrollerstoWindowsServer2008R2.YouneedtoensurethattheSysvolsharereplicatesbyusingDFSReplication(DFS-R).Whatshouldyoudo()A.Fromthecommandprompt,runnetdom/reset.B.Fromthecommandprompt,rundfsutil/addroot:sysvol.C.RaisethefunctionallevelofthedomaintoWindowsServer2008R2.D.Fromthecommandprompt,rundcpromo/unattend:unattendfile.xml.

单项选择题 YouworkinacompanywhichisnamedWiikigoCorp.ThecompanyusesSQLServer2008.Youaretheadministratorofthecompanydatabase.NowyouareinchargeofaSQLServer2008instance.YouconfiguretheSQLServerinstancetousethe-T1222and-T1204traceflagsduringstartup.Youmustmakesurethatyourfailurerecoveryplanperformsbackupoftheuseofthetraceflags.Sowhatactionshouldyouperformtoachievethisgoal?()A.YoushouldbackupthemasterdatabaseB.Youshouldbackupthedefault.trcfileC.YoushouldbackuptheSQLServerregistryhive.D.Youshouldbackuptheresourcedatabase

单项选择题 Gridview:Howtochangetheimageofanimagecontrolplaceineachrowinagridview:()

单项选择题 YourcompanyhasasingleActiveDirectorydomainnamedintranet.contoso.com.AlldomaincontrollersrunWindowsServer2008R2.ThedomainfunctionallevelisWindows2000nativeandtheforestfunctionallevelisWindows2000.YouneedtoensuretheUPNsuffixforcontoso.comisavailableforuseraccounts.Whatshouldyoudofirst()A.Raisetheintranet.contoso.comforestfunctionalleveltoWindowsServer2003orhigher.B.Raisetheintranet.contoso.comdomainfunctionalleveltoWindowsServer2003orhigher.C.AddthenewUPNsuffixtotheforest.D.ChangethePrimaryDNSSuffixoptionintheDefaultDomainControllersGroupPolicyObject(GPO)tocontoso.com.

单项选择题 YouworkinacompanywhichisnamedWiikigoCorp.ThecompanyusesSQLServer2008.Youaretheadministratorofthecompanydatabase.NowyouareinchargeofaSQLServer2008instance.ThereisaSQLServer7.0database.YouupgradethedatabasetotheSQLServerinstance.Accordingtothecompanyrequirement,youmustmakesurethatsuspectpagescanbedetectedinthedatabase.Sowhatactionshouldyouperformtoachievethisgoal?()A.Forthedatabase,youshouldturnontheTRUSTWORTHYdatabaseoptionB.Forthedatabase,thePAGE_VERIFYdatabaseoptionshouldbesettoCHECKSUMC.Forthedatabase,thedatabasecompatibilityleveloptionshouldbesetto10D.Forthemodeldatabase,thePAGE_VERIFYdatabaseoptionshouldbesetto TORN_PAGE_DETECTION.

单项选择题 YouaredevelopinganASP.NETWebpage.Youaddadata-boundGridViewcontrol.TheGridViewcontainsaTemplateFieldthatincludesaDropDownList.YousettheGridViewsClientIDModepropertytoStatic,andyousettheClientIDRowSuffixpropertytoProductID.YouneedtobeabletoreferenceindividualDropDownListcontrolsfromclient-sidescriptbyusingtheProductID.WhatshouldyousettheClientIDModepropertyoftheDropDownListto?()A.AutoIDB.StaticC.InheritD.Predictable

单项选择题 YouworkinacompanywhichisnamedWiikigoCorp.ThecompanyusesSQLServer2008.Youaretheadministratorofthecompanydatabase.NowyouareinchargeofaSQLServer2008instance.Accordingtothecompanyrequirement,thenamesofalluser-definedstoredproceduresmustcontaintheprefixusp_onallinstances.Besidesthis,youmustmakesurethatstoredproceduresthatdonotcontainthisprefixcannotbecreatedbyyou.Whatshouldyoudo?()A.Apolicyshouldbecreated.Thepolicytargetsthenameofthestoredprocedurethatisevaluatedondemand.B.Apolicyshouldbecreated.Thepolicytargetsthenameofthestoredprocedurethatisevaluatedonchange.C.Aconditionshouldbecreated.TheconditiontargetsthenameofthestoredprocedurethatisevaluatedonchangeD.Aconditionshouldbecreated.Theconditiontargetsthenameofstoredprocedurethatisevaluatedondemand.

单项选择题 YouaredevelopinganASP.NETWebpage.ThepageincludesaListinstance.YouaddaFormViewcontroltodisplayasingleProductfromthislist.YouneedtobindthelisttotheFormViewcontrol.WhichFormViewpropertyshouldyousetinthecode-behindfile?()A.DataSourceB.DataSourceIDC.DataKeyNamesD.DataMember

单项选择题 YourcompanyhasasingleActiveDirectorydomain.AlldomaincontrollersrunWindowsServer2003.YouinstallWindowsServer2008R2onaserver.Youneedtoaddthenewserverasadomaincontrollerinyourdomain.Whatshouldyoudofirst()A.Onthenewserver,rundcpromo/adv.B.Onthenewserver,rundcpromo/createdcaccount.C.Onadomaincontrollerrunadprep/rodcprep.D.Onadomaincontroller,runadprep/forestprep.

单项选择题 Whichutilityallowsyoutopre-compileandpublishyourWebsitetoanewlocation?()

单项选择题 YourcompanyhasanActiveDirectoryRightsManagementServices(AD RMS)server.UsershaveWindowsVistacomputers.AnActiveDirectorydomainisconfiguredattheWindowsServer2003functionallevel.YouneedtoconfigureAD?RMSsothatusersareabletoprotecttheirdocuments.Whatshouldyoudo()A.InstalltheAD?RMSclient2.0oneachclientcomputer.B.AddtheRMSserviceaccounttothelocaladministratorsgroupontheAD RMSserver.C.Establishane-mailaccountinActiveDirectoryDomainServices(AD DS)foreachRMSuser.D.UpgradetheActiveDirectorydomaintothefunctionallevelofWindowsServer2008.

单项选择题 WhichmethodoftheChildActionExtensionsclasscallsachildactionmethodandrenderstheresultinlineintheparentview?()

未知题型 OTDR可进行以下测量:( )

单项选择题 YourcompanyhasaserverthatrunsaninstanceofActiveDirectoryLightweightDirectoryServices(ADLDS).YouneedtocreateneworganizationalunitsintheADLDSapplicationdirectorypartition.Whatshouldyoudo()

未知题型 接入网的特点有:( )