You are developing an application that receives events asynchronously.You create a WqlEventQuery instance to specify the events and event conditions to which the application must respond.You also create a ManagementEventWatcher instance to subscribe to ev

题目

You are developing an application that receives events asynchronously.You create a WqlEventQuery instance to specify the events and event conditions to which the application must respond.You also create a ManagementEventWatcher instance to subscribe to events matching the query.You need to identify the other actions you must perform before the application can receive events asynchronously.Which two actions should you perform?()

  • A、Start listening for events by calling the Start method of the ManagementEventWatcher.
  • B、Set up a listener for events by using the EventArrived event of the ManagementEventWatcher.
  • C、Use the WaitForNextEvent method of the ManagementEventWatcher to wait for the events.
  • D、Create an event handler class that has a method that receives an ObjectReadyEventArgs parameter.
  • E、Set up a listener for events by using the Stopped event of the ManagementEventWatcher.
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Your network consists of a single Active Directory domain. The functional level of the domain is Windows Server 2008 R2. The domain contains 200 Windows Server 2008 R2 servers. You need to plan a monitoring solution that meets the following requirements.   èSends a notification by e-mail to the administrator if an application error occurs on any of the servers   èUses the minimum amount of administrative effort What should you include in your plan?()

  • A、On one server, create event subscriptions for each server. On the server, attach tasks to the application  error events.
  • B、On one server, create an Event Trace Sessions Data Collector Set. On all servers, create a System Performance Data Collector Set.
  • C、On all servers, create event subscriptions for one server. On all servers, attach a task for the  application error events.
  • D、On all servers, create a System Performance Data Collector Set. On one server, configure the report settings for the new Data Collector set.

正确答案:A

第2题:

You want to schedule a job to rebuild all indexes on the SALES table after the completion of a bulk load operation. The bulk load operation must also be a scheduled job that executes as soon as the first file that contains data arrives on the system. How would you create these jobs?()

  • A、Create both jobs by using events raised by the scheduler
  • B、Create both jobs by using events raised by the application
  • C、Create a job to rebuild indexes by using events arised by the application and then create another job to perform bulk load by using events raised by the scheduler
  • D、Create a job to rebuild indexes by using events arised by the Scheduler and then create another job to perform bulk load by using events raised by the application

正确答案:D

第3题:

You create a large, n-tier Web application that has a custom event tracking system. You need to create a custom event type that enables your event tracking system to record all relevant event details for all types of events. The events must be stored in Microsoft SQL Server.From which base type should your custom event type inherit? ()

A. IWebEventCustomEvaluator

B. WebEventProvider

C. WebBaseEvent

D. WebAuditEvent


参考答案:C

第4题:

You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to create a customized Print Preview dialog box in the application. You need to ensure that users can preview their documents before printing. Which two actions should you perform?()

  • A、Add a PrintPreviewDialog control to the form.
  • B、Add a PrintPreviewControl control to the form.
  • C、Create and initialize a PrintDocument object on the form and then implement the PrintPage event handler.
  • D、Create and initialize a PrintDocument object on the form and then implement the BeginPrint event handler.
  • E、Set the Document property of the PrintPreviewDialog control to the PrintDocument instance that must be printed.

正确答案:B,C

第5题:

You create an application. The application processes hundreds of XML documents per minute. The XML documents are validated against inline schemas.You need to load XML documents from the file system and read them as quickly as possible. XML comments must be ignored while reading the XML documents. What should you do?()

  • A、Create an instance of the XmlReader class by using the XmlReader Create method with an instance of the XmlReaderSettings class.
  • B、Create an instance of the XmlReader class with an instance of the XmlTextReader class.
  • C、Create an instance of the XmlDocument class and specify a location for the application schema.
  • D、Create an instance of the XmlReader class with an instance of the XmlNodeReader class.

正确答案:A

第6题:

You are developing an application that receives events asynchronously. You create a WqlEventQuery instance to specify the events and event conditions to which the application must respond. You also create a ManagementEventWatcher instance to subscribe to events matching the query.You need to identify the other actions you must perform before the application can receive events asynchronously. Which two actions should you perform?()

  • A、Start listening for events by calling the Start method of the ManagementEventWatcher.
  • B、Set up a listener for events by using the EventArrived event of the ManagementEventWatcher.
  • C、Use the WaitForNextEvent method of the ManagementEventWatcher to wait for the events.
  • D、Create an event handler class that has a method that receives an ObjectReadyEventArgs parameter.
  • E、Set up a listener for events by using the Stopped event of the ManagementEventWatcher.

正确答案:A,B

第7题:

You work with a newly created database. Presently, there is no application load on the database instance.You want to create a baseline for tuning the application, so you decide to collect recommendations that can be implemented to improve application performance.What action must you take to achieve this?()

  • A、Run Segment Advisor
  • B、Run the SQL Tuning Advisor (STA)
  • C、Run the Automatic Workload Repository (AWR) report
  • D、Run the SQL Access Advisor with a hypothetical workload

正确答案:D

第8题:

You want to schedule a job to rebuild all indexes on the SALES table after the completion of a bulk load operation. The bulk load operation must also be a scheduled job that executes as soon as the first file that contains data arrives on the system.How would you create these jobs?()

A. Create both jobs by using events raised by the scheduler

B. Create both jobs by using events raised by the application

C. Create a job to rebuild indexes by using events arised by the application and then create another job to perform bulk load by using events raised by the scheduler

D. Create a job to rebuild indexes by using events arised by the Scheduler and then create another job to perform bulk load by using events raised by the application


参考答案:D

第9题:

You create a large, n-tier Web application that has a custom event tracking system. You need to create a custom event type that enables your event tracking system to record all relevant event details for all types of events. The events must be stored in Microsoft SQL Server. From which base type should your custom event type inherit? ()

  • A、IWeb Event Custom Evaluator
  • B、Web Event Provider
  • C、Web Base Event
  • D、Web Audit Event

正确答案:C

第10题:

You need to use the Event Viewer window to review the event logs for only critical and error events. You also need the maximum amount of detail for each of these events. What should you do? ()

  • A、Edit the filter for the Administrative Events view.
  • B、Create a custom view. Enable the Critical, Error, and Information level events. Select all logs.
  • C、Create a custom view. Select the Critical checkbox, Error checkbox, and Verbose checkbox. Select all logs.
  • D、Search for the Critical or Error string by using the Find option of the Administrative Events view.

正确答案:C

更多相关问题