Live Help (Start Chat)
View Count: 0
Duration: 22 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 46 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 19 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 33
What does SCM do? 
Options:
  1. Accepts the request to install windows service from the windows service database
  2. It supports a set of commands to execute
  3. It is used to maintain the status information
  4. All the above
View Answer/Explanation:
a c
Explanation:
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 transmits control messages (such as Start, Stop, Pause, and Continue) to available Windows services. To lock/unlock Windows service database.

Question No: 2 of 33
What is a Windows service? 
Options:
  1. These run on a separate Windows session
  2. These generally start automatically when the computer boots
  3. Do not have a UI but a Service console to start/stop/restart the service
  4. All the above
View Answer/Explanation:
d
Explanation:
It often needed that programs run continuously in the background. For example, an email server is expected to listen continuously on a network port for incoming email messages, a print spooler is expected to listen continuously to print requests.

Question No: 3 of 33
The following methods are available for controlling Windows Service from Service Control Manager: 
Options:
  1. OnStart
  2. OnPause
  3. OnContinue
  4. All the above
View Answer/Explanation:
d
Explanation:
These methods are available so that the corresponding events can be captured and executed.

Question No: 4 of 33
How is development of a Windows service different from a Windows Forms application? 
Options:
  1. Windows forms application have UserInterface where as the Windows service doesn’t have any UserInterface
  2. A windows service cannot be executed using ctrl+F5
  3. It is a background running application that run in their own Windows session.
  4. All the above
View Answer/Explanation:
d
Explanation:
A Windows service typically does not have a user interface, it supports a set of commands and can have a GUI that’s built later to allow for easier access to those commands.

Question No: 5 of 33
Does a Windows service require an identity(authentication) to runs? 
Options:
  1. Yes
  2. No
View Answer/Explanation:
a
Explanation:
Windows service always runs under an identity. It can be System or Administrator account. To have a more restricted access to resources and behavior, a different user account can be created on the computer and associate the Windows service with newly created Windows user account

Question No: 6 of 33
How to disable pause feature of a Windows service? 
Options:
  1. Set Pause attribute to false
  2. Set CanPauseAndContinue attribute to false
  3. None of the above
View Answer/Explanation:
b
Explanation:
.

Question No: 7 of 33
Can a windows service start without a user login in? 
Options:
  1. yes
  2. No
  3. can't say
View Answer/Explanation:
a
Explanation:
Windows service is an application that does not have a user interface and runs in the background of OS. It can start even without a user login in. Even if the login session is changed by the user of the system the windows service would continue to execute.

Question No: 8 of 33
Will the windows service continue to execute, if the login session is changed by the user of the system 
Options:
  1. No
  2. Yes
  3. Can't say
View Answer/Explanation:
b
Explanation:
Windows service is an application that does not have a user interface and runs in the background of OS. It can start even without a user login in. Even if the login session is changed by the user of the system the windows service would continue to execute.

Question No: 9 of 33
_________________ can use the identity of any particularly configured user for accessing the resources of the machine. 
Options:
  1. windows service
  2. win form
  3. xml
  4. None
View Answer/Explanation:
a
Explanation:
Windows Service requires a Windows credentials to perform particular task. The user can be configured for specific resources that can then be used by the service.

Question No: 10 of 33
Can a windows service execute using Ctrl+F5 ? 
Options:
  1. Yes
  2. No
  3. Can't say
View Answer/Explanation:
b
Explanation:
A windows service cannot be executed using ctrl+F5 i.e by running the exe file , instead it must be installed as a windows service using the utility program called Installutil.exe

  1