Windows Service Interview Questions & Answers for Experienced/Freshers - 1
Question: 1
Describe the start-up process for a Windows service?
Main () is executed to create an instance of a Web service, then Run() to launch it, then OnStart() from within the instance is executed.
Question: 2
What application do you use to install a Windows service?
installutil.exe
Question: 3
What does SCM do?
SCM is Windows Service Control Manager. Its responsibilities are as follows:
Accepts requests to install and uninstall Windows services from the Windows service database.
To start Windows services either on system startup or requested by the user.
To enumerate installed Windows services.
To maintain status information for currently running Windows services.
To transmit control messages (such as Start, Stop, Pause, and Continue) to available Windows services.
To lock/unlock Windows service database.
Question: 4
How can you see which services are running on a Windows box?
Admin Tools -> Computer Management -> Services and Application -> Services.
You can also open the Computer Management tool by right-clicking on My Computer and selecting Manage from the popup menu.
Question: 5
What’s different about a Windows service as compared to a regular application?
Windows services must support the interface of the Service Control Manager (SCM).
A Windows service must be installed in the Windows service database before it can be launched.
DC Generator Questions and Answers Pdf More
Electromagnetic Induction Quiz Questions and Answers More
Basic Electronics Quiz Questions with Answers Pdf More
Wireless Communication MCQ Questions with Answers More
Digital Communication Quiz Questions and Answers Pdf More
ICICI Bank PO Aptitude Test Papers with Answers Pdf More
1000+ Gate 2023 - 2024 Syllabus Mechanical Engineering Pdf More
Indian Sports Quiz Questions and Answers More
List of Chief Naval Staff in India 2020-2021 More
Mathematics Puzzles with Answers Pdf More