多选题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?()AStart listening for events by calling the Start method of the ManagementEventWatcher.BSet up a listener for events by using the EventArrived event of the ManagementEventWatcher.CUse the WaitForNextEvent method of the ManagementEventWatcher to wait for the events.DCreate an event handler class that has a method that receives an ObjectReadyEventArgs parameter.ESet up a listener for events by using the Stopped event of the ManagementEventWatcher.

多选题
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.


参考解析

解析: 暂无解析

相关考题:

You are developing a Windows Communication Foundation (WCF) service.You need to enable security auditing for all events.What should you do?() A. Set the serviceAuthorizationAuditLevel setting to Success and the messageAuthenticationAuditLevel setting to Success.B. Set the messageAuthenticationAuditLevel setting to Success and the auditLogLocation setting to Application.C. Set the serviceAuthorizationAuditLevel setting to SuccessAndFailure and the messageAuthenticationAuditLevel setting to SuccessAndFailure.D. Set the messageAuthenticationAuditLevel setting to SuccessAndFailure and the auditLogLocation setting to Security.

You are developing a Windows Presentation Foundation (WPF) application. All of the application styles are in the file name Themes.dllYou have the followiing markup segment.BlueBackground is defined in a XAML file named BlueTheme.xaml. The XAML markup is compiled into the Themes.dll file.You need to ensure that the XAML file is referenced so that the application can apply the settings in the BlueBackground style.()A.B.C.D.

You work as an application developer at Certkiller .com. You are currently in the process of creating a new application for Certkiller .com. You are required to read compressed data files that has been sent by Certkiller .com‘s sales offices.These data files are less than 4 GB in size, but was compressed without cyclic redundancy. You want to write a method that receives the compressed files and return the uncompressed data as a byte array.What should you do?()A.B.C.D.

You develop an ASP.NET web application that uses a Windows Azure web role. The application includes a startup script that installs a third-party component. You are developing a test plan for the startup script.  What should you recommend?()  A、 Enable Remote Desktop Protocol (RDP) and deploy the application without the startup script.  Connect to the web role instance by using RDP, and then manually test the startup script.B、 Deploy the application in the Windows Azure Compute Emulator.C、 Deploy the application with a custom error page.D、 Deploy the application and then use IntelliTrace.

You are designing a test plan for an existing Windows Azure .NET 4 application.  Method calls return incorrect results for certain input parameters.   You need to recommend an approach for debugging the method calls.  What should you recommend?()  A、 Attach the remote debugger to the application.B、 Use the Microsoft Visual Studio 2010 Test Manager tool.C、 Use IntelliTrace to collect only eventsfrom the application.D、 Use IntelliTrace to collect events and call information from the application.

Your company has an Active Directory domain that has two domain controllers named DC1 and DC2.You prepare both servers to support event subscriptions. On DC1, you create a new default subscription for DC2. You need to review system events for DC2. Which event log should you select?()A、system log on DC1B、application log on DC2C、Forwarded Events log on DC1D、Forwarded Events log on DC2

You are developing a Windows Communication Foundation (WCF) service. You need to enable security auditing for all events. What should you do?()A、Set the serviceAuthorizationAuditLevel setting to Success and the messageAuthenticationAuditLevel setting to Success.B、Set the messageAuthenticationAuditLevel setting to Success and the auditLogLocation setting to Application.C、Set the serviceAuthorizationAuditLevel setting to SuccessAndFailure and the messageAuthenticationAuditLevel setting to SuccessAndFailure.D、Set the messageAuthenticationAuditLevel setting to SuccessAndFailure and the auditLogLocation setting to Security.

You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to design a composite custom control for the application. You include a ListBox control has a property that provides the item count of  the ListBox control. You need to ensure that the property cannot be accessed at design time. Which attribute should you use?()A、[Bindable(false)]B、[DesignOnly(false)]C、[EditorBrowsable(EditorBrowsableState.Never)]D、[Browsable(false)]

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.

You are the network administrator for your company. The network consists of a single Active Directory domain. The network contains 10 domain controllers and 50 servers in application server roles. All servers run Windows Server 2003.   The application servers are configured with custom security settings that are specific to their roles as application servers. Application servers are required to audit account logon events, object access events, and system events. Application servers are required to have passwords that meet complexity requirements, to enforce password history, and to enforce password aging. Application servers must also be protected against man-in-the-middle attacks during authentication.  You need to deploy and refresh the custom security settings on a routine basis. You also need to be able to verify the custom security settings during audits.   What should you do? ()A、 Create a custom security template and apply it by using Group Policy.B、 Create a custom IPSec policy and assign it by using Group Policy.C、 Create and apply a custom Administrative Template.D、 Create a custom application server image and deploy it by using RIS.

You have 15 computers that run Windows 7. You need to implement a monitoring solution that meets thefollowing requirements. Sends an e-mail notification when an application error is logged in the event log  Runs a script to restart the computer if an application error occurs between 17:00 and 07:00 Minimizes the administrative effort required to monitor applications. What should you do?()A、On all the computers, configure a custom view. Configure a custom task for the application error events.B、On a computer, configure a custom view to display the application errors. Configure a custom task forthe application error events.C、On a central computer, configure an event subscription. On all of the computers, configure a customtask in the Forwarded Events log.D、On all the computers, configure an event subscription to a central computer. On the central computer,configure a custom task in the Forwarded Events log.

You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit? ()A、FrameworkElementB、UIElementC、UserControlD、Button

You develop an ASP.NET web application that uses a Windows Azure web role. The application includes a startup script that installs a third-party component. You are developing a test plan for the startup script.  What should you recommend?()A、 Enable Remote Desktop Protocol (RDP) and deploy the application without the startup script.  Connect to the web role instance by using RDP, and then manually test the startup script.B、 Deploy the application in the Windows Azure Compute Emulator.C、 Deploy theapplication with a custom error page.D、 Deploy the application and then use IntelliTrace.

单选题You are developing an application that dynamically loads assemblies from an application directory. You need to write a code segment that loads an assembly named Company1.dll into the current application domain. Which code segment should you use?()A AB BC CD D

单选题You work as an application developer at Certkiller .com. You are currently in the process of developing a business logic component that requires long calculations. You have identified numerous tasks within this application that can be done asynchronously. You notice that these tasks are mutually dependent and require complex synchronization techniques so that it can manage efficiently. You decide to use Microsoft .NET 2.0 to take advantage of its new thread management features. You need to create and start the application threads. What should you do?()A AB BC CD D

单选题You are developing a Windows Presentation Foundation (WPF) application. You configure PresentationTraceSource to track errors in a bound TextBox control in the application. You need to choose the window that the Trace information is sent to Which Visual Studio window should you select ?()AAutosBImmediateCLocalsDOutput

单选题You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to design a composite custom control for the application. You include a ListBox control has a property that provides the item count of  the ListBox control. You need to ensure that the property cannot be accessed at design time. Which attribute should you use?()A[Bindable(false)]B[DesignOnly(false)]C[EditorBrowsable(EditorBrowsableState.Never)]D[Browsable(false)]

单选题ou are developing an ASP.NET MVC 2 application. You create a view that will be returned by action methods in multiple controllers. You need to place the view in the appropriate folder. To which subfolder within the Views folder should you add the view?()AMasterBDefaultCSharedDCommon

单选题You are developing an application that will perform mathematical calculations.You need to ensure that the application is able to perform multiple calculations simultaneously. What should you do?()ASet the IdealProcessor property of the ProcessThread object.BSet the ProcessorAffinity property of the ProcessThread object.CFor each calculation, call the QueueUserWorkItem method of the ThreadPool class.DSet the Process.GetCurrentProcess().BasePriority property to High.

单选题You are developing a Hotel Booking application for a travel company. The users request a wizard-style interface for this application. How could you satisfy this requirement?()AReference the Object Iron packages in your form module. BWrite an HTML interface, and invoke it from your form module. CInclude the Wizard class reusable component in your application. DBuild a customized wizard using tab canvases and a horizontal toolbar canvas.

单选题You work as an application developer at Certkiller .com. You are developing an application that makes use of a Queue class object named MyQueue. This Queue class object will be used to store messages sent by the user during application run time. The application that you are developing provides an interface for administrators and an interface for users to create message reports.You want to ensure that all user messages stored in the MyQueue object are removed when an administrator selects the reset option.What should you do?()A Use the Enqueue method of the MyQueue object.B Use the Clear method of the MyQueue object.C Use the Dequeue method of the MyQueue object.D Use the TrimToSize method of the MyQueue object.

单选题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?()ACreate both jobs by using events raised by the schedulerBCreate both jobs by using events raised by the applicationCCreate 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 schedulerDCreate a job to rebuild indexes by using events arised by the Scheduller and then create another job to perform bulk load by using events raised by the application

单选题You are developing an application that runs by using the credentials of the end user. Only users who are members of the Administrator group get permission to run the application. You write the following security code to protect sensitive data within the application.bool isAdmin=false;  WindowsBuiltInRole role=WindowsBuiltInRole.Administrator; ......  if(!isAdmin)          throw new Exception("User not permitted");   You need to add a code segment to this security code to ensure that the application throws an exception if a user is not a member of the Administrator group. Which code segment should you use?()A AB BC CD D

单选题You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a Windows Service application which contains three different Windows services. You are required to only set one Windows service to start automatically when the system is restarted. What should you do?()AUse the ServiceController class.BUse the ServiceBase class.CUse the ServiceProcessInstaller class.DUse the ServiceInstaller class.

单选题You are developing a Windows Presentation Foundation (WPF) application. You are implementing a test strategy for the application. You need to ensure that the test class can repeat user input. From which base class should the test class inherit?()AAutomationElementIdentifierBAutomationPeerCKeyboardDUICues

单选题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 schedulerB Create both jobs by using events raised by the applicationC 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 schedulerD Create a job to rebuild indexes by using events arised by the Scheduller and then create another job to perform bulk load by using events raised by the application

单选题You are designing a test plan for an existing Windows Azure .NET 4 application.  Method calls return incorrect results for certain input parameters.   You need to recommend an approach for debugging the method calls.  What should you recommend?()A Attach the remote debugger to the application.B Use the Microsoft Visual Studio 2010 Test Manager tool.C Use IntelliTrace to collect only eventsfrom the application.D Use IntelliTrace to collect events and call information from the application.

单选题You develop an ASP.NET web application that uses a Windows Azure web role. The application includes a startup script that installs a third-party component. You are developing a test plan for the startup script.  What should you recommend?()A Enable Remote Desktop Protocol (RDP) and deploy the application without the startup script.  Connect to the web role instance by using RDP, and then manually test the startup script.B Deploy the application in the Windows Azure Compute Emulator.C Deploy the application with a custom error page.D Deploy the application and then use IntelliTrace.