多选题You create a service application that monitors free space on a hard disk drive.  You must ensure that the service application runs in the background and monitors the free space every minute. What should you do?()AAdd code to the default constructor of the Service class to monitor the free space on the hard disk drive.BAdd code to the OnStart method of the Service class to monitor the free space on the hard disk drive.CAdd an instance of the System.Windows.Forms.Timer class to the Service class and configure it to fire every minute.DAdd an instance of the System.Timers.Timer class to the Service class and configure it to fire every minute.EAdd code to the OnStart method of the Service class to start the timer.FAdd code to the Elapsed event handler of the timer to monitor the free space on the hard disk drive.GAdd code to the Tick event handler of the timer to monitor the free space on the hard disk drive.

多选题
You create a service application that monitors free space on a hard disk drive.  You must ensure that the service application runs in the background and monitors the free space every minute. What should you do?()
A

Add code to the default constructor of the Service class to monitor the free space on the hard disk drive.

B

Add code to the OnStart method of the Service class to monitor the free space on the hard disk drive.

C

Add an instance of the System.Windows.Forms.Timer class to the Service class and configure it to fire every minute.

D

Add an instance of the System.Timers.Timer class to the Service class and configure it to fire every minute.

E

Add code to the OnStart method of the Service class to start the timer.

F

Add code to the Elapsed event handler of the timer to monitor the free space on the hard disk drive.

G

Add code to the Tick event handler of the timer to monitor the free space on the hard disk drive.


参考解析

解析: 暂无解析

相关考题:

You create a service and deploy it on a network in a building named Building1. You will deploy the service to Building2.The service in Building1 is configured using the following discovery scopes.The service in Building2 will be configured using the following discovery scopes.You need to ensure that the client application can discover the service in Building1 or the service in Building2.Which scopes should you add to the client configuration file? ()A.B.C.D.

Windows Communication Foundation (WCF) service will be hosted in Microsoft Internet Information Services (IIS).You create a new application in IIS to host this service and copy the service DLL to the bin directory of the application.You need to complete the deployment of this service to IIS. What should you do next?()A. Create an asmx file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory.B. Create an .asmx file and add a @Register directive to this file. Copy the file to the bin directoyy of the application.C. Create a svc file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory.D. Create a .svc file and add a @Register directive to this file. Copy the file to the bin directory of the application.

Questions 176~177 refer to the following advertisement.CARE YOUR OWN SPACEDo you dream of having a space away from the demands of everyday life-a space where you can create, think, and relax?Marvel Space Planners, a group of architects, designers, and makers of built-in furniture, can turn an unused room or an awkward space into a practical room of your own. Our free, full-colorbrochure presents a sampling of options for individually designed spaces.If you would like to create a customized space, why not call us today at 800-555-7552 to request a copy of the brochure or to schedule a free initial consultation with our design team.What is being advertised?A. Rooms for rentB. A design serviceC. A job placement serviceD. Vacation package

Questions 176~177 refer to the following advertisement.CARE YOUR OWN SPACEDo you dream of having a space away from the demands of everyday life-a space where you can create, think, and relax?Marvel Space Planners, a group of architects, designers, and makers of built-in furniture, can turn an unused room or an awkward space into a practical room of your own. Our free, full-colorbrochure presents a sampling of options for individually designed spaces.If you would like to create a customized space, why not call us today at 800-555-7552 to request a copy of the brochure or to schedule a free initial consultation with our design team.What is offered for free?A. Exercise equipmentB. Some paint samplesC. A consultationD. An architectural plan

You work as an application developer at Certkiller .com. Certkiller .com has asked you to develop an application that monitors and controls the activities of a Windows service.You need to use the appropriate class to meet Certkiller .com’s requirements. What should you do?()A、 Use the ServiceBase class.B、 Use the ServiceInstaller class.C、 Use the ServiceManager class.D、 Use the ServiceController class.

You are creating a Web-based application to manage data aggregation for reports. The application connects to a SQL Server 2005 database named DataManager. One page in the application has controls that execute stored procedures in a database named ReportingDatabase. There is an existing Service Broker connection between the DataManager database and ReportingDatabase.You want to add two new message types to the existing service. In each database, you create message types named ProcessReport and SendResult. You need to add the two new message types to the existing service. What should you do first?()A、Create a queue on each database with the ACTIVATION argument set to DataManager dbo processReport.B、Create a conversation between the databases by using the following Statement BEGIN DIALOG FROM SERVICE ’ProcessReport’ TO SERVICE ’SendResult’C、Create a contract between the services by using the following statement.CREATE CONTRACT processData (ProcessReport SENT BY INITIATOR,SendResult SENT BY TARGET)D、Create services for each database by using the following statement.CREATE SERVICE DataManager on QUEUE ProcessReport

You want to be notified when the space usage of an existing critical tablespace has reached 75% of the allocated space. Which option would you use to achieve this?()A、run a procedure to check the tablespace space usageB、define the warning threshold for the tablespace at 75% in Database ControlC、create a trigger to be executed when tablespace space usage reaches 75%D、submit a job by using DBMS_JOB package to check the free space in the tablespace at regular intervalsE、define the warning threshold to be 75% for the tablespace by ALTER TABLESPACE .. ADD THRESHOLD command

Your company has a domain controller named Server1 that runs Windows Server 2008 and the DNS server role. A server named Server2 runs a custom application. You need to configure DNS to include the following parameters for the custom application: Service Priority Weight Protocol Port Number Host offering this service Which record should you create?()A、 Host Info (HINFO)B、 Service Locator (SRV)C、 Canonical Name (CNAME)D、 Well-Known Service (WKS)

You have two servers that run Windows Server 2008 named Server1 and Server2. You install Windows SharePoint Services (WSS) 3.0 on Server1. You install the SMTP feature on Server2. You configure the outgoing e-mail settings on Server1 to use the SMTP service on Server2. You need to ensure that e-mail messages from Server1 are forwarded to users. What should you do?()A、On Server2, create a new application pool, and then associate the application pool with a new Web site.B、On Server2, configure the SMTP service to accept anonymous connections and to relay e-mail messages.C、On Server1, create a new application pool. On an internal DNS server, create a new MX record for Server1.D、On Server1, create a new application pool. On an internal DNS server, create a new MX record for Server2.

You have a server that runs Windows Server 2003 Service Pack 2 (SP2). A server application creates report files. The application saves the report files in a folder named Report. A service account is listed as the owner of all report files. You need to assign ownership of the report files to a user in a department named Audit. You must achieve this goal by using the minimum amount of administrative effort. What should you do? ()A、Rewrite the application.B、Create a scheduled task to run Attrib.exe.C、Create a scheduled task to run Icacls.exe.D、Use the Advanced Security settings to change the owner of each file.

You have a computer that runs Windows XP Professional. The computer has the following hardware installed: 3 GB page file, 2. 4 GHz processor, 2 GB of physical memory, 20 GB hard disk that has 1 GB of free space You need to enable hibernation support on the computer. What should you do first?() A、Upgrade the processor.B、Add additional physical memory.C、Increase the size of the page file.D、Create additional free hard disk space.

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5.  When you access the application in a Web browser, you receive the following error message: "Service Unavailable".  You need to access the application successfully.  What should you do? ()A、Start Microsoft IIS 6.0.B、Start the Application pool.C、Set the .NET Framework version.D、Add the Web.config file for the application.

All client computers in your network run Windows 7 with default firewall settings.   You have a server-based application that requires an agent to be installed on all client computers.   You need to use Group Policy to allow the application to initiate installation of the agent on all client computers.   What should you do?()A、Create inbound port rules.B、Create inbound program rules.C、Create connection security rules.D、Create Windows service hardening rules.

You have an Exchange Server 2010 Mailbox server that contains multiple mailbox databases.You need to ensure that you receive an e-mail alert if the volume that contains the mailbox database files has less than 25 percent of free space. What should you do?()A、Create a new Data Collector Set.B、Create a new Event Viewer Subscription.C、Attach a new task to the Application event log.D、Modify the properties of the mailbox database objects.

You need to implement an authentication method on SQL4. The TravelOnline database will be accessed through a Web services application. You need to make the authentication method as secure as possible.What should you do?()A、Create an HTTP endpoint with NTLM authentication, and create a service principal name (SPN).B、Create an HTTP endpoint with digest authentication, and create a service principal name (SPN).C、Create an HTTP endpoint with integrated authentication, and create a service principal name (SPN).D、Create an HTTP endpoint with Kerberos authentication.

A Windows Communication Foundation (WCF) service has a callback contract. You are developing a client application that will call this service.You must ensure that the client application can interact with the WCF service. What should you do?()A、On the OperationContractAttribute, set the AsyncPattern property value to true.B、On the OperationContractAttribute, set the ReplyAction property value to the endpoint address of the client.C、On the client, create a proxy derived from DuplexClientBaseTChannel .D、On the client, use GetCallbackChannelT .

Your company has a server that runs an instance of Actrve Directory Lightweight Directory Service (AD LDS) You need to create new organizational units in the AD LDS application directory partition What should you do()A、Use the Actrve Directory Users and Computers snap-in to create the organizational units on the AD LDS application directory partitionB、Use the ADSI Edit snap-in to create the organizational units on the AD LDS application directory partitionC、Use the dsadd OU  command to create the organizational unitsD、Use the dsmod OU  command to create the organizational units

单选题You need to implement an authentication method on SQL4. The TravelOnline database will be accessed through a Web services application. You need to make the authentication method as secure as possible.What should you do?()ACreate an HTTP endpoint with NTLM authentication, and create a service principal name (SPN).BCreate an HTTP endpoint with digest authentication, and create a service principal name (SPN).CCreate an HTTP endpoint with integrated authentication, and create a service principal name (SPN).DCreate an HTTP endpoint with Kerberos authentication.

单选题Windows Communication Foundation (WCF) service will be hosted in Microsoft Internet Information Services (IIS).You create a new application in IIS to host this service and copy the service DLL to the bin directory of the application.You need to complete the deployment of this service to IIS. What should you do next?()ACreate an asmx file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory.BCreate an .asmx file and add a @Register directive to this file. Copy the file to the bin directoyy of the application.CCreate a svc file and add a @ServiceHost directive to this file. Copy the file to the root of the application directory.DCreate a .svc file and add a @Register directive to this file. Copy the file to the bin directory of the application.

单选题You create a Windows Communication Foundation (WCF) service and deploy it with wsHttpBinding and message security enabled.You create an intermediate WCF service for logging messages sent to the primary service.The intermediate service is called via endpoint behaviour. The primary service is receiving malformed data from a client application.You need to enable inspection of the malformed data and prevent message tampering. What do you do?()ASpecify a protection level of None in the contract for the intermediate service. Disable message and transport security from the client application configuration file.BSpecify a protection level of Sign in the contract for the intermediate service. Disable transport security from the client application configuration file.CModify the binding on the intermediate service to use netNamedPipeBinding.DModify the binding on the intermediate service to use webHttpBinding.

单选题You work as an application developer at Certkiller .com. Certkiller .com has asked you to develop an application that monitors and controls the activities of a Windows service.You need to use the appropriate class to meet Certkiller .com’s requirements. What should you do?()A Use the ServiceBase class.B Use the ServiceInstaller class.C Use the ServiceManager class.D Use the ServiceController class.

单选题You have two servers that run Windows Server 2008 named Server1 and Server2. You install Windows SharePoint Services (WSS) 3.0 on Server1. You install the SMTP feature on Server2. You configure the outgoing e-mail settings on Server1 to use the SMTP service on Server2. You need to ensure that e-mail messages from Server1 are forwarded to users. What should you do?()AOn Server2, create a new application pool, and then associate the application pool with a new Web site.BOn Server2, configure the SMTP service to accept anonymous connections and to relay e-mail messages.COn Server1, create a new application pool. On an internal DNS server, create a new MX record for Server1.DOn Server1, create a new application pool. On an internal DNS server, create a new MX record for Server2.

单选题Certkiller.com has installed a server. You are assigned to install and run an instance of Active Directory Lightweight Directory Service (AD LDS). After doing necessary configurations, you start an instance of AD LDS successfully.  Now you need to create new Organizational Units in the AD LDS application directory partition. What should you do to create new OUs in the AD LDS application directory partition()ATo create the OUs, use the dsmod OU  commandBEmploy ADSI Edit Snap-in to create the OUs on the AD LDS application directory partition.CCreate OUs by executing dsadd OU  commandDCreate OUs on the AD LDS application directory partition by using Active Directory Users and computers snap-in.

单选题You work as an application developer at Certkiller .com. You have created a Windows service application for the purpose of monitoring the number of active service requests running on Certkiller .com’s server.  You want to configure this Windows service application to produce a report every ten minutes. You start by placing the reporting logic in the GenerateReport method of this Windows service.You want to create a Timer object that invokes this method every ten minutes.What should you do? ()A AB BC CD D

单选题You are creating a Web-based application to manage data aggregation for reports. The application connects to a SQL Server 2005 database named DataManager. One page in the application has controls that execute stored procedures in a database named ReportingDatabase. There is an existing Service Broker connection between the DataManager database and ReportingDatabase.You want to add two new message types to the existing service. In each database, you create message types named ProcessReport and SendResult. You need to add the two new message types to the existing service. What should you do first?()ACreate a queue on each database with the ACTIVATION argument set to DataManager dbo processReport.BCreate a conversation between the databases by using the following Statement BEGIN DIALOG FROM SERVICE ’ProcessReport’ TO SERVICE ’SendResult’CCreate a contract between the services by using the following statement.CREATE CONTRACT processData (ProcessReport SENT BY INITIATOR,SendResult SENT BY TARGET)DCreate services for each database by using the following statement.CREATE SERVICE DataManager on QUEUE ProcessReport

单选题You work as an application developer at Certkiller .com. You have been given the task of developing a Windows service application that regularly monitors other Windows services on the same computer. This Windows service application must also log any abnormal file system activity. You have added the following class to the Windows service application: public class EnumerateService : ServiceBase { public static EnumerateService () { this.ServiceName = "Enumerate Service"; this.CanStop = true; } protected override void OnStart (string[] args) { // Enumerate all services and initialize the FileSystemWatcher } protected override void OnStop () { // Stop the FileSystemWatcher and perform cleanup } public static void Main () { EnumerateService service = new EnumerateService(); } } You then create the installer for the Windows service application, and install the Windows service application. You have configured the Windows service Startup type to Automatic, and rebooted the system. You then test the new Windows service application, and find that it is not working.You need to ensure that the service is working properly. What should you do?()A Override the OnBoot method instead of the OnStart method.B Replace the Main method code with the following code: EnumerateService service = new EnumerateService (); Service.Run ();C Override the OnLoad method instead of the OnStart method.D Replace the Main method code with the following code: EnumerateService service = new EnumerateService (); Run (service);

单选题A Windows Communication Foundation (WCF) service has a callback contract. You are developing a client application that will call this service.You must ensure that the client application can interact with the WCF service. What should you do?()AOn the OperationContractAttribute, set the AsyncPattern property value to true.BOn the OperationContractAttribute, set the ReplyAction property value to the endpoint address of the client.COn the client, create a proxy derived from DuplexClientBaseTChannel .DOn the client, use GetCallbackChannelT .