题目内容 (请给出正确答案)
[主观题]

Youcreateaserviceapplicationthatmonitorsfreespaceonaharddiskdrive.Youmustensurethattheserviceapplicationrunsinthebackgroundandmonitorsthefreespaceeveryminute.Whatshouldyoudo?()

A.AddcodetothedefaultconstructoroftheServiceclasstomonitorthefreespaceontheharddiskdrive.

B.AddcodetotheOnStartmethodoftheServiceclasstomonitorthefreespaceontheharddiskdrive.

C.AddaninstanceoftheSystem.Windows.Forms.TimerclasstotheServiceclassandconfigureittofireeveryminute.

D.AddaninstanceoftheSystem.Timers.TimerclasstotheServiceclassandconfigureittofireeveryminute.

E.AddcodetotheOnStartmethodoftheServiceclasstostartthetimer.

F.AddcodetotheElapsedeventhandlerofthetimertomonitorthefreespaceontheharddiskdrive.

G.AddcodetotheTickeventhandlerofthetimertomonitorthefreespaceontheharddiskdrive.

查看答案
如搜索结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能会需要:
您的账号:
发送账号密码至手机
发送
更多“Youcreateaserviceapplicationth…”相关的问题

第1题

Yourapplicationusestwothreads,namedthreadOneandthreadTwo.YouneedtomodifythecodetopreventtheexecutionofthreadOneuntilthreadTwocompletesexecution.Whatshouldyoudo?()

A.ConfigurethreadOnetorunatalowerpriority.

B.ConfigurethreadTwotorunatahigherpriority.

C.UseaWaitCallbackdelegatetosynchronizethethreads.

D.CalltheSleepmethodofthreadOne.

E.CalltheSpinLockmethodofthreadOne.

点击查看答案

第2题

YouareevaluatingaWindowsAzureapplication.Theapplicationusesoneinstanceofawebrole.Therolein

stancesizeissettoMedium.TheapplicationdoesnotuseSQLAzure.Youhavethefollowingrequirementsforscalingtheapplication:-Maximizethroughput.-Minimizedowntimewhilescaling.-Increasesystemresources.Youneedtorecommendanapproachforscalingtheapplication.Whatshouldyourecommend?()

A.Setupverticalpartitioning.

B.Setuphorizontalpartitioning.

C.Increasethenumberofroleinstances.

D.Changetheroleinstancesizeto large.

点击查看答案

第3题

Youaredevelopinganapplicationthatwillperformmathematicalcalculations.Youneedtoensurethattheapplicationisabletoperformmultiplecalculationssimultaneously.Whatshouldyoudo?()

A.SettheIdealProcessorpropertyoftheProcessThreadobject.

B.SettheProcessorAffinitypropertyoftheProcessThreadobject.

C.Foreachcalculation,calltheQueueUserWorkItemmethodoftheThreadPoolclass.

D.SettheProcess.GetCurrentProcess().BasePrioritypropertytoHigh.

点击查看答案

第4题

YouaredesigningaWindowsAzureapplication.Theapplicationwillincludeserviceshostedindifferent

geographiclocations.Theservicelocationsmaychange.Youmustminimizethecostofcommunicationbetweenservices.Youneedtorecommendanapproachforcallingtheservices.Whatshouldyourecommend?()

A.UsetheServiceManagementAPI.

B.UseWindowsAzureTablestorage.

C.UseWindowsAzureQueuestorage.

D.UsetheWindowsAzureAppFabricServiceBus.

点击查看答案

第5题

You are the network administrator for your company. The network consists of a single Activ

e Directory domain.All servers run Windows Server 2003.You place computer accounts for servers in organizational units (OUs) that are organized by server roles. You apply Group Policy objects (GPOs) to these servers at the OU level.You need to add a new server to the domain. You need to ensure that the appropriate GPOs are applied to this server.What should you do? ()

A. Prestage a domain computer account for the new server in the appropriate OU. Join the server to the domain by using the prestaged computer account.

B. On the new server, add the domain name for the Active Directory domain to the DNS suffix setting. Join the server to the domain.

C. Assign a user account the Allow - Create permission for the appropriate OU. Join the new server to the domain by using the user account.

D. Join the new server to the Active Directory domain. On the new server, run the gpupdate /force command.

点击查看答案

第6题

你是一个生产自行车的公司的数据库开发员。你要创建一个Web应用程序,从一个名为AdventureWorks的

数据库中检索数据。此Web应用程序连接到一个SQLServer2005的数据库服务器。你的应用程序的功能之一就是要允许轮班督导能够看到当前这一班生产了多少自行车。用户Tom以dbo方案创建了一个名为usp_GetPersonData的存储过程。你正在创建一个HTTP端点去发布一个名为PersonData的web方法,此web方法允许客户应用程序访问此存储过程。你使用以下语句创建端点:你需要指定正确的WEBMETHOD和NAME以创建端点,要使用哪个指令?()

A.WEBMETHOD’http://www.adventure-works.com/PersonData’NAME=AdventureWorks.dbo.usp_GetPersonData’

B.WEBMETHOD’PersonData’NAME=’AdventureWorks.dbo.usp_GetPersonData’

C.WEBMETHOD’PersonData’NAME=’AdventureWorks.Tom.usp_GetPersonData’

D.WEBMETHOD’AdventureWorks.PersonData’NAME=’AdventureWorks.Tom.usp_GetPersonData’

点击查看答案

第7题

您正在创建一个共享的程序集的过程中。您要执行许多的集成测试,以确保程序集使用多个应用程序工作正常。要避免不断更新每个应用程序引用的程序集,则更新时。在由 DEVPATH 环境变量设置为共享的程序集的默认生成位置。您需要确保公共语言运行库 (CLR) 使用由 DEVPATH 找到共享程序集。你应该做什么?()

A.

B.

C.

D.

点击查看答案

第8题

您正在使用Microsoft Visual Studio 2005 IDE检查一个返回string的方法的输出信息,您指定这个方法的输出给一个命名为fName的变量,您需要写一个代码片段打印下面这一行信息"Test FaileD."如果fName的值不为”JohnJohn””,您应该确定这个应该程序的代码持续的执行,您应该使用哪一个代码片段()

A.A

B.B

C.C

D.D

点击查看答案

第9题

YouplantohostaWindowsCommunicationFoundation(WCF)serviceinaWindowsAzureworkerrole.Customco

deisnecessarytoinitializeandconfiguretheserviceendpoint.YouneedtorecommendthepointatwhichtheapplicationshouldinitializetheWCFservice.Whatshouldyourecommend?()

A.WhenWindowsAzureinitializestheworkerroleinstance.

B.Whentheworkerroleinstancereceivesitsfirstrequest.

C.WhentheworkerroleinstanceinstantiatestheWCFservice.

D.Whentheworkerroleinstanceentersthemainexecutionthread.

点击查看答案

第10题

Youaredevelopinganapplicationthatreceiveseventsasynchronously.YoucreateaWqlEventQueryinsta

ncetospecifytheeventsandeventconditionstowhichtheapplicationmustrespond.YoualsocreateaManagementEventWatcherinstancetosubscribetoeventsmatchingthequery.Youneedtoidentifytheotheractionsyoumustperformbeforetheapplicationcanreceiveeventsasynchronously.Whichtwoactionsshouldyouperform?()

A.StartlisteningforeventsbycallingtheStartmethodoftheManagementEventWatcher.

B.SetupalistenerforeventsbyusingtheEventArrivedeventoftheManagementEventWatcher.

C.UsetheWaitForNextEventmethodoftheManagementEventWatchertowaitfortheevents.

D.CreateaneventhandlerclassthathasamethodthatreceivesanObjectReadyEventArgsparameter.

E.SetupalistenerforeventsbyusingtheStoppedeventoftheManagementEventWatcher.

点击查看答案
热门考试 全部 >
相关试卷 全部 >
账号:
你好,尊敬的上学吧用户
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改
谢谢您的反馈

您认为本题答案有误,我们将认真、仔细核查,
如果您知道正确答案,欢迎您来纠错

警告:系统检测到您的账号存在安全风险

为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!

微信搜一搜
上学吧
点击打开微信
警告:系统检测到您的账号存在安全风险
抱歉,您的账号因涉嫌违反上学吧购买须知被冻结。您可在“上学吧”微信公众号中的“官网服务”-“账号解封申请”申请解封,或联系客服
微信搜一搜
上学吧
点击打开微信