Tag: architecture

Questions Related to architecture

  1. ServiceBase

  2. ServiceController

  3. ServiceProcessInstaller

  4. ServiceInstaller


Correct Option: C

You need to create a source for this service. Which command completes the code? //Add any initialization after the InitializeComponent() callif (!FMEventLog.SourceExists("FileMonitorWS") { FMEventLog. MISSING CODE ("FileMonitorWS", "FMEventLog")}FMEventLog.Source = "FileWS";FMEEventLog.Log = "FMEventLog";

  1. BuildEventSource

  2. CreateEventSource

  3. CallEventSource

  4. All


Correct Option: B

Which switch do you use with the installutil command to uninstall an assembly?

  1. /delete

  2. /remove

  3. /u

  4. /uninstall


Correct Option: C
  1. Service components are spread over several servers

  2. The service uses unmanaged code

  3. You have been unable to install the service manually

  4. You want to distribute the service


Correct Option: D
  1. HKEY_CURRENT_CONFIG

  2. HKEY_CURRENT_USER

  3. HKEY_LOCAL_MACHINE

  4. HKEY_USERS


Correct Option: C

By default, services run in a different security context than that of the logged-in user. Which account types can be specified for a Windows Service?

  1. LocalService

  2. LocalSystem

  3. Administrator

  4. NetworkService

  5. User


Correct Option: A,B,D,E
  1. The installutil command

  2. The Service Control Manager

  3. The Windows Registry

  4. Windows Installer file (.msi)


Correct Option: A,D
  1. Changing service descriptions

  2. Creating service installation projects

  3. Starting and stopping services

  4. Uninstalling services


Correct Option: A,C