Labels

Friday, August 27, 2010

#2 Practice test questions for Certification Exam 70-536‏

QUESTIONS Technology Focus: Implementing service processes, threading, and applications domains in a .NET Framework application
1. You create a Windows service application that consists of two services. One service monitors a directory for new orders and the other service replicates a database table with the most up-to-date inventory information.You need to develop a project installer class to install these services.What should you do? (Each correct answer presents part of the solution. Choose two.).

A. Instantiate one ServiceProcessInstaller instance and add it to the project installer class.

B. Instantiate two ServiceInstaller instances and add them to the project installer class.
C. Instantiate two ServiceProcessInstaller instances and add them to the project installer class.
D. Instantiate one ServiceInstaller instance and add it to the project installer class.
E. Instantiate one ComponentInstaller instance and add it to the project installer class.
F. Instantiate two ComponentInstaller instances and add them to the project installer class.


2. You are developing a Windows service application by using the .NET Framework. You need the application to perform several short tasks that require background processing. You do not want to actively manage threads in your application. You must ensure that security checks are performed during the execution of a task. Which method should you use to start a task in your application?
A. ThreadPool.QueueUserWorkItem
B. ThreadPool.UnsafeQueueUserWorkItem
C. Thread.Start
D. Thread.Resume


3. You are developing a Windows service application by using the .NET Framework. You need to synchronize execution of some resources across multiple processes. Which class should you use to accomplish this in your application?
A. Mutex
B. Monitor
C. Interlocked
D. Mutex

No comments:

Post a Comment