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.
7000+ TNPSC Group 1, 2, 4, VAO Indian Economy Study Materials Pdf More
7000+ Gate Computer Science Engineering Previous Year Questions More
7000+ Fill in the Blanks with Suitable Homonyms More
7000+ Fill in the Blanks with Suitable Homophones More
Power Semiconductor Device and Integrated Circuits MCQ Questions Pdf More
Physics Quiz Questions and Answers for Class 12, 11, 10, 9, 8, 7, 6, 5 More
7000+ TNPSC VAO Previous Year Question Papers 2024 -2025 Pdf More
Delhi Sultanate Quiz Questions and Answers More
Computer Awareness Quiz More
Technical Asp.Net Interview Questions and Answers More